:root{--bg:#f6f5fb;--surface:#fff;--surface-2:#efedf7;--text:#1b1830;--muted:#6e6a85;--line:#e3e0ef;--accent:#6d4aff;--accent-press:#5a38ea;--accent-soft:#ebe5ff;--on-accent:#fff;--good:#16a36a;--good-soft:#def6ea;--bad:#e5484d;--bad-soft:#fde7e7;--learning:#f5a524;--flame:#ff7a1a;--shadow:0 1px 2px #1b18300f, 0 4px 16px #1b18300f;--radius:18px;--col:480px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--bg:#121019;--surface:#1c1926;--surface-2:#26222f;--text:#f1eff8;--muted:#9b96b0;--line:#2f2b3b;--accent:#8b6dff;--accent-press:#7a5af5;--accent-soft:#2b2446;--good:#2fc584;--good-soft:#163527;--bad:#ff6369;--bad-soft:#3d1a1d;--shadow:none;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}*{box-sizing:border-box}html,body{margin:0}body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;font:16px/1.45 -apple-system,BlinkMacSystemFont,SF Pro Text,Segoe UI,Roboto,system-ui,sans-serif}button,input{font:inherit;color:inherit}button{cursor:pointer;background:0 0;border:0;padding:0}button:disabled{cursor:default}h1,h2,p{margin:0}h1{letter-spacing:-.02em;font-size:28px;font-weight:750;line-height:1.15}#root{min-height:100dvh}.screen{max-width:var(--col);min-height:100dvh;padding:calc(20px + env(safe-area-inset-top)) 16px calc(24px + env(safe-area-inset-bottom));flex-direction:column;gap:16px;margin:0 auto;display:flex}.screen.center{text-align:center;justify-content:center;align-items:center}.muted{color:var(--muted)}.small{font-size:13px}.center-text{text-align:center}.eyebrow{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-size:13px;font-weight:600}.row-between{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.error{color:var(--bad);font-size:14px}.btn{border-radius:14px;min-height:44px;padding:0 18px;font-weight:650;transition:transform 80ms,background .15s}.btn:active:not(:disabled){transform:scale(.98)}.btn.big{width:100%;min-height:54px;font-size:17px}.btn.primary{background:var(--accent);color:var(--on-accent)}.btn.primary:hover:not(:disabled){background:var(--accent-press)}.btn.primary:disabled{opacity:.6}.btn.secondary{background:var(--accent-soft);color:var(--accent)}.btn.ghost{color:var(--muted);align-self:center}.btn.danger{color:var(--bad);align-self:center}.icon-btn{width:44px;height:44px;color:var(--muted);border-radius:12px;flex:none;place-items:center;display:inline-grid}.icon-btn:hover{background:var(--surface-2)}.icon-btn.sound{color:var(--accent);background:var(--accent-soft);border-radius:50%}.spinner{border:3px solid var(--line);border-top-color:var(--accent);border-radius:50%;width:32px;height:32px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.auth{justify-content:center;gap:24px}.brand{text-align:center;justify-items:center;gap:10px;display:grid}.brand p{max-width:320px}.logo{background:var(--accent);width:72px;height:72px;color:var(--on-accent);letter-spacing:-.03em;border-radius:22px;place-items:center;font-size:28px;font-weight:800;display:grid}.auth-step{gap:2px;display:grid}.auth-title{font-size:20px;font-weight:700}.link{color:var(--accent);font-weight:600;font-size:inherit}.form{gap:14px;display:grid}.form label{gap:6px;font-size:14px;font-weight:600;display:grid}.form input,.search{border:1.5px solid var(--line);background:var(--surface);border-radius:14px;outline:none;min-height:50px;padding:0 14px;font-size:16px}.form input:focus,.search:focus{border-color:var(--accent)}.shell{min-height:100dvh}.tab-body .screen{min-height:auto;padding-bottom:calc(96px + env(safe-area-inset-bottom))}.tabbar{max-width:var(--col);padding:6px 8px calc(6px + env(safe-area-inset-bottom));background:color-mix(in srgb, var(--surface) 92%, transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-top:1px solid var(--line);grid-template-columns:repeat(3,1fr);margin:0 auto;display:grid;position:fixed;bottom:0;left:0;right:0}.tabbar button{min-height:52px;color:var(--muted);justify-items:center;gap:2px;padding-top:6px;font-size:11px;font-weight:600;display:grid}.tabbar button.on{color:var(--accent)}.home-head{justify-content:space-between;align-items:flex-end;display:flex}.streak{background:var(--surface-2);color:var(--muted);border-radius:999px;align-items:center;gap:4px;padding:6px 12px;font-weight:700;display:inline-flex}.streak.lit{color:var(--flame);background:color-mix(in srgb, var(--flame) 14%, transparent)}.hero{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);gap:16px;padding:20px;display:grid}.hero-title{font-size:20px;font-weight:700}.hero-nums{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.hero-nums div{background:var(--surface-2);border-radius:14px;align-content:start;padding:10px 12px;display:grid}.hero-nums b{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:26px;line-height:1.1}.hero-nums span{color:var(--muted);font-size:13px;line-height:1.25}.card{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);gap:12px;padding:16px;display:grid}.card-title{font-weight:700}.progress{background:var(--surface-2);border-radius:999px;flex:1;height:10px;display:flex;overflow:hidden}.progress .seg{height:100%;transition:width .3s}.seg.known,.dot.known{background:var(--accent)}.seg.learning,.dot.learning{background:var(--learning)}.dot.new{background:var(--line)}.legend{color:var(--muted);flex-wrap:wrap;gap:6px 14px;font-size:13px;display:flex}.dot{vertical-align:1px;border-radius:50%;width:8px;height:8px;margin-right:4px;display:inline-block}.courses{gap:8px;display:grid}.course{background:var(--surface);border:1.5px solid var(--line);border-radius:14px;align-items:center;gap:12px;padding:12px 14px;display:flex}.course.on{border-color:var(--accent)}.course.off{opacity:.55}.course div{display:grid}.flag{font-size:26px}.study{gap:20px}.study-head{align-items:center;gap:10px;display:flex}.counter{text-align:right;font-variant-numeric:tabular-nums;min-width:24px}.flash{flex-direction:column;flex:1;gap:16px;animation:.22s rise;display:flex}@keyframes rise{0%{opacity:0;transform:translateY(8px)}}.flash .eyebrow{margin-top:8px}.word-row{align-items:center;gap:12px;display:flex}.word{letter-spacing:-.02em;word-break:break-word;font-size:38px;font-weight:750;line-height:1.1}.translation{color:var(--accent);font-size:26px;font-weight:600}.divider{background:var(--line);height:1px}.spacer{flex:1}.badge{background:var(--accent-soft);color:var(--accent);border-radius:999px;align-self:flex-start;margin-top:8px;padding:4px 10px;font-size:13px;font-weight:700}.intro{padding-bottom:8px}.choices{gap:10px;margin-top:8px;display:grid}.choice{background:var(--surface);border:2px solid var(--line);text-align:left;border-radius:16px;align-items:center;gap:12px;min-height:58px;padding:0 16px;font-size:18px;font-weight:600;transition:background .15s,border-color .15s,opacity .15s;display:flex}.choice:hover:not(:disabled){border-color:var(--accent)}.choice:active:not(:disabled){transform:scale(.99)}.choice .key{background:var(--surface-2);width:24px;height:24px;color:var(--muted);border-radius:7px;flex:none;place-items:center;font-size:12px;font-weight:700;display:grid}.choice .label{flex:1}.choice.right{border-color:var(--good);background:var(--good-soft);color:var(--good)}.choice.wrong{border-color:var(--bad);background:var(--bad-soft);color:var(--bad);animation:.3s shake}.choice.dim{opacity:.45}@keyframes shake{25%{transform:translate(-5px)}75%{transform:translate(5px)}}.feedback{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);border-top:3px solid var(--bad);gap:8px;margin-top:auto;padding:16px;animation:.2s rise;display:grid}.feedback p:first-child{font-size:18px}@media (hover:none){.choice .key{display:none}}.tiles{grid-template-columns:repeat(2,1fr);gap:10px;display:grid}.tile{background:var(--surface);box-shadow:var(--shadow);border-radius:16px;padding:14px;display:grid}.tile b{font-variant-numeric:tabular-nums;font-size:26px;line-height:1.15}.tile span{color:var(--muted);font-size:14px}.actions{gap:10px;display:grid}.word-list{margin:0;padding:0;list-style:none;display:grid}.word-list li{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:10px 0;display:flex}.word-list li:last-child{border-bottom:0}.word-list li>div{display:grid}.miss{color:var(--bad);font-size:12px}.chips{gap:8px;display:flex;overflow-x:auto}.chips button{white-space:nowrap;background:var(--surface);border:1.5px solid var(--line);color:var(--muted);border-radius:999px;padding:8px 14px;font-size:14px;font-weight:600}.chips button.on{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}.dict-list{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);padding:4px 8px 4px 16px}.dict-word{flex:1;min-width:0}.dict-meta{justify-items:end;gap:2px;display:grid}.pill{border-radius:999px;padding:2px 8px;font-size:12px;font-weight:700}.pill.new{background:var(--surface-2);color:var(--muted)}.pill.learning{background:color-mix(in srgb, var(--learning) 18%, transparent);color:var(--learning)}.pill.known{background:var(--accent-soft);color:var(--accent)}.how{color:var(--muted);gap:8px;margin:0;padding-left:18px;font-size:15px;display:grid}.segmented{background:var(--surface-2);border-radius:14px;grid-template-columns:1fr 1fr;padding:4px;display:grid}.segmented.three{grid-template-columns:repeat(3,1fr)}.segmented button{min-height:38px;color:var(--muted);border-radius:10px;font-size:15px;font-weight:600}.segmented button.on{background:var(--surface);color:var(--text);box-shadow:var(--shadow)}.list-cards{gap:10px;display:grid}.set-card{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);cursor:pointer;border:1.5px solid #0000;gap:10px;padding:14px 16px;display:grid}.set-card:hover{border-color:var(--line)}.set-group{gap:10px;display:grid}.set-group>.card-title{margin:8px 0 0}.set-card.locked{cursor:default;opacity:.55;box-shadow:none;background:var(--surface-2)}.set-card-head{justify-content:space-between;align-items:center;gap:12px;font-size:17px;display:flex}.progress-row{gap:6px;font-size:15px;display:grid}.progress-row+.progress-row{margin-top:4px}.switch{background:var(--line);border-radius:999px;flex:none;width:46px;height:28px;transition:background .15s;position:relative}.switch i{background:#fff;border-radius:50%;width:22px;height:22px;transition:transform .15s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #00000040}.switch.on{background:var(--accent)}.switch.on i{transform:translate(18px)}.toggle-card{justify-content:space-between;align-items:center;padding:12px 16px;display:flex}.sub-head{align-items:center;gap:4px;margin-left:-10px;display:flex}.sub-head h1{font-size:24px}.row-gap{gap:10px;display:grid}.btn svg{vertical-align:-4px;margin-right:4px}.inline-form{flex-wrap:wrap;gap:8px;display:flex}.inline-form input{border:1.5px solid var(--accent);background:var(--surface);border-radius:14px;outline:none;flex:100%;min-height:50px;padding:0 14px;font-size:16px}.inline-form .error{flex-basis:100%}.locked-card{text-align:center;color:var(--muted);justify-items:center;padding:28px 20px}.locked-card .card-title{color:var(--text)}.word-list li.tappable{cursor:pointer}.ts{color:var(--muted);font-size:14px;font-weight:400}.ts-link{font:inherit;color:var(--muted);cursor:pointer;-webkit-text-decoration:underline dotted color-mix(in srgb, var(--muted) 50%, transparent);text-decoration:underline dotted color-mix(in srgb, var(--muted) 50%, transparent);text-underline-offset:3px;background:0 0;border:0;padding:0;font-size:14px}.ts-link:hover{color:var(--text)}.ts-link.card-ts{align-self:flex-start;margin-top:-8px;font-size:18px}.listen .ts-link.card-ts{align-self:center;margin-top:0}.ipa-guide{gap:12px;display:grid}.ipa-guide .card-title{margin:8px 0 0}.ipa-rows,.ipa-marks,.ipa-notes{gap:10px;margin:0;padding:0;list-style:none;display:grid}.ipa-rows li,.ipa-marks li{grid-template-columns:44px minmax(0,1fr);align-items:start;gap:10px;display:grid}.ipa-sign{text-align:center;color:var(--accent);font-size:20px;font-weight:600;line-height:1.3}.ipa-body{gap:2px;display:grid}.ipa-marks .ipa-sign{font-size:24px;line-height:1.1}.ipa-dummy{color:var(--muted);font-weight:400}.ipa-example{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.ipa-example .ts{font-size:15px}.ipa-example mark{background:color-mix(in srgb, var(--accent) 22%, transparent);color:inherit;border-radius:4px;padding:0 1px}.ipa-notes{gap:6px;padding-left:18px;list-style:outside}.sets-line{text-align:left;flex-wrap:wrap;align-items:center;gap:6px;display:flex}.set-chip{background:var(--accent-soft);color:var(--accent);border-radius:999px;padding:3px 10px;font-size:13px;font-weight:600}.sheet-backdrop{z-index:20;background:#0a081473;justify-content:center;align-items:flex-end;animation:.15s fade;display:flex;position:fixed;inset:0}@keyframes fade{0%{opacity:0}}.sheet{width:100%;max-width:var(--col);background:var(--bg);max-height:92dvh;padding:16px 16px calc(20px + env(safe-area-inset-bottom));border-radius:22px 22px 0 0;gap:14px;animation:.22s slide;display:grid;overflow-y:auto}@keyframes slide{0%{opacity:0;transform:translateY(40px)}}.sheet-head{justify-content:space-between;align-items:flex-start;display:flex}.sheet-title{font-size:22px;font-weight:750}.field{gap:6px;font-size:14px;font-weight:600;display:grid}.field input{border:1.5px solid var(--line);background:var(--surface);border-radius:14px;outline:none;min-height:52px;padding:0 14px;font-size:18px}.field input:focus{border-color:var(--accent)}.field .ts{font-size:14px}.hints{gap:8px;display:grid}.hint-chips{flex-wrap:wrap;gap:8px;display:flex}.hint{background:var(--surface);border:1.5px solid var(--line);border-radius:12px;align-items:baseline;gap:6px;padding:8px 12px;font-size:16px;font-weight:600;display:inline-flex}.hint small{color:var(--muted);font-size:11px;font-weight:600}.hint.on{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}.attribution{color:var(--muted);font-size:12px}.saved-note{color:var(--good);font-size:14px;font-weight:600}.sections{gap:10px;display:grid}.section-grid{grid-template-columns:repeat(2,1fr);gap:10px;display:grid}.section-tile{border-radius:var(--radius);text-align:left;background:var(--surface);box-shadow:var(--shadow);border:1.5px solid #0000;align-content:start;justify-items:start;gap:4px;padding:14px;transition:border-color .15s,transform 80ms;display:grid}.section-tile:hover{border-color:var(--line)}.section-tile:active{transform:scale(.98)}.section-tile b{font-size:16px;line-height:1.2}.section-tile.soon{background:var(--surface-2);box-shadow:none}.section-tile.soon .tile-icon{background:var(--surface);color:var(--muted)}.tile-icon{background:var(--accent-soft);width:40px;height:40px;color:var(--accent);border-radius:12px;flex:none;place-items:center;margin-bottom:4px;display:grid}.mode-row{border-radius:var(--radius);text-align:left;background:var(--surface);width:100%;box-shadow:var(--shadow);color:var(--muted);border:1.5px solid #0000;align-items:center;gap:12px;padding:14px;display:flex}.mode-row:hover:not(:disabled){border-color:var(--line)}.mode-row:active:not(:disabled){transform:scale(.99)}.mode-row .tile-icon{margin-bottom:0}.mode-row.off{background:var(--surface-2);box-shadow:none}.mode-row.off .tile-icon{background:var(--surface);color:var(--muted)}.mode-text{flex:1;gap:2px;min-width:0;display:grid}.mode-text b{color:var(--text);font-size:16px}.mode-status{color:var(--muted);font-size:13px;font-weight:600}.mode-status.on{color:var(--accent)}.section-plan{gap:14px}.plan-head{align-items:center;gap:12px;display:flex}.plan-head .tile-icon{margin-bottom:0}.plan-list{color:var(--muted);gap:8px;margin:0;padding-left:18px;font-size:15px;display:grid}.listen{justify-items:center;gap:10px;padding:8px 0 4px;display:grid}.listen-btn{background:var(--accent-soft);width:96px;height:96px;color:var(--accent);border-radius:50%;place-items:center;transition:transform 80ms;display:grid}.listen-btn:active{transform:scale(.95)}.listen-word{color:var(--muted);text-align:center;min-height:1.5em;font-size:14px}.listen-word.shown{color:var(--text);letter-spacing:-.02em;font-size:30px;font-weight:750}.type-form{gap:10px;margin-top:8px;display:grid}.type-input{border:2px solid var(--line);background:var(--surface);border-radius:16px;outline:none;min-height:58px;padding:0 16px;font-size:22px;font-weight:600}.type-input:focus{border-color:var(--accent)}.type-input.right{border-color:var(--good);background:var(--good-soft);color:var(--good)}.type-input.wrong{border-color:var(--bad);background:var(--bad-soft);color:var(--bad);animation:.3s shake}.typed-ok{color:var(--good);align-items:center;gap:6px;font-weight:700;display:flex}.feedback.ok{border-top-color:var(--good)}.home-head{align-items:center;gap:10px}.lang-wrap{flex:1;min-width:0;position:relative}.course-switch{text-align:left;border-radius:14px;align-items:center;gap:6px;max-width:100%;padding:4px 0;display:flex}.course-switch .flag{font-size:26px;line-height:1}.course-title{letter-spacing:-.02em;white-space:nowrap;text-overflow:ellipsis;min-width:0;font-size:22px;font-weight:750;line-height:1.15;overflow:hidden}.course-switch .chevron{color:var(--muted);transition:transform .18s;display:inline-grid}.course-switch.open .chevron{transform:rotate(180deg)}.level-pill{white-space:nowrap;color:var(--accent);text-overflow:ellipsis;background:linear-gradient(var(--accent), var(--accent)) left bottom / var(--p,0%) 3px no-repeat, var(--accent-soft);border-radius:999px;min-width:0;margin-left:2px;padding:3px 8px 5px;font-size:13px;font-weight:700;overflow:hidden}.lvl-short{display:none}@media (max-width:480px){.lvl-long{display:none}.lvl-short{display:inline}.level-pill{flex:none}}@media (max-width:400px){.course-title{font-size:18px}.course-switch{gap:4px}.level-pill{padding:3px 7px 5px;font-size:12px}}.click-catcher{z-index:29;position:fixed;inset:0}.lang-panel{z-index:30;background:var(--surface);border:1px solid var(--line);transform-origin:top;border-radius:16px;gap:2px;padding:6px;animation:.18s drop;display:grid;position:absolute;top:calc(100% + 6px);left:0;right:0;box-shadow:0 10px 30px #1b183029}@keyframes drop{0%{opacity:0;transform:translateY(-6px)scaleY(.96)}}.lang-item{border-radius:12px;align-items:center;gap:10px;padding:10px;display:flex}.lang-item .flag{font-size:24px}.lang-item b{flex:1}.lang-item.off{opacity:.6}.lang-note{padding:2px 10px 6px}.level-card{gap:10px}.level-head{align-items:center;gap:12px;display:flex}.level-badge{background:var(--accent);width:52px;height:52px;color:var(--on-accent);font-variant-numeric:tabular-nums;border-radius:16px;flex:none;place-items:center;font-size:22px;font-weight:800;display:grid}.areas{border-top:1px solid var(--line);gap:12px;margin-top:4px;padding-top:12px;display:grid}.area-row{gap:6px;font-size:15px;display:grid}.area-row.soon{color:var(--muted)}.stage-pill{background:var(--accent-soft);color:var(--accent);border-radius:999px;margin-left:4px;padding:2px 8px;font-size:12px;font-weight:700}.soon-grid{grid-template-columns:repeat(2,1fr);gap:8px;display:grid}.soon-tile{background:var(--surface-2);color:var(--text);opacity:.75;border-radius:14px;gap:2px;padding:12px;display:grid}.soon-tile b{font-size:15px;line-height:1.25}.pill.adult{background:var(--bad-soft);color:var(--bad);vertical-align:2px;margin-left:4px}.row-tag{color:var(--accent);font-size:12px;font-weight:600}.kind-pill{background:var(--accent-soft);color:var(--accent);border-radius:999px;padding:2px 8px;font-size:12px;font-weight:700}.field textarea{resize:vertical;border:1.5px solid var(--line);background:var(--surface);min-height:52px;font:inherit;border-radius:14px;outline:none;padding:13px 14px;font-size:18px;line-height:1.35}.field textarea:focus{border-color:var(--accent)}.ai-btn{min-height:36px;font-size:14px}.ai-btn:disabled{opacity:.6}.parts{background:var(--surface);border:1.5px solid var(--line);border-radius:14px;gap:6px;padding:12px;display:grid}.part{cursor:pointer;align-items:center;gap:10px;padding:6px 0;font-size:15px;display:flex}.part input{width:20px;height:20px;accent-color:var(--accent);flex:none}.part-text{flex:1;min-width:0}.part.familiar .part-text{color:var(--muted)}.picker{gap:8px;display:grid}.picker-row{text-align:left;background:var(--surface);border:1.5px solid var(--line);border-radius:14px;justify-content:space-between;align-items:center;min-height:48px;padding:0 14px;font-weight:600;display:flex}.picker-row:hover{border-color:var(--accent)}.chips{scrollbar-width:none}.chips::-webkit-scrollbar{display:none}.chips.wrap{flex-wrap:wrap;gap:6px;overflow-x:visible}.chips.wrap button{padding:7px 11px;font-size:13px}.stats{gap:10px;display:grid}.acc{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}.acc-head{text-align:left;align-items:center;gap:10px;width:100%;padding:14px 16px;display:flex}.acc-head b{font-size:16px}.acc-head .muted{text-align:right;margin-left:auto}.acc-chevron{color:var(--muted);transition:transform .18s;display:inline-grid}.acc.open .acc-chevron{transform:rotate(180deg)}.acc-body{gap:12px;padding:0 16px 16px;animation:.18s rise;display:grid}.progress.thin{height:6px}.band-bar .seg.band.familiar,.band-dot.familiar{background:var(--learning)}.band-bar .seg.band.recognize,.band-dot.recognize{background:color-mix(in srgb, var(--accent) 35%, transparent)}.band-bar .seg.band.recall,.band-dot.recall{background:color-mix(in srgb, var(--accent) 65%, transparent)}.band-bar .seg.band.own,.band-dot.own{background:var(--accent)}.band-bar .seg.band.solid,.band-dot.solid{background:var(--good)}.band-list,.kind-list{gap:10px;margin:0;padding:0;list-style:none;display:grid}.band-list li{align-items:center;gap:10px;font-size:15px;display:flex}.band-name{flex:1}.band-dot{border-radius:50%;flex:none;width:10px;height:10px}.kind-list li{gap:6px;font-size:15px;display:grid}.kind-list li.soon{color:var(--muted)}.tiles.three{grid-template-columns:repeat(3,1fr)}.tiles.three .tile b{font-size:18px}.acc .tile{box-shadow:none;background:var(--surface-2)}.heatmap{justify-content:space-between;gap:3px;display:flex}.heat-col{flex:1;gap:3px;display:grid}.heat{aspect-ratio:1;background:var(--surface-2);border-radius:3px;display:block}.heat.h1{background:color-mix(in srgb, var(--accent) 30%, var(--surface-2))}.heat.h2{background:color-mix(in srgb, var(--accent) 55%, var(--surface-2))}.heat.h3{background:color-mix(in srgb, var(--accent) 80%, var(--surface-2))}.heat.h4{background:var(--accent)}.heat.hx{background:0 0}.badges{grid-template-columns:repeat(2,1fr);gap:8px;display:grid}.badge-card{background:var(--surface-2);border-radius:14px;align-content:start;gap:4px;padding:12px;display:grid}.badge-top{align-items:center;gap:8px;display:flex}.badge-top b{font-size:14px;line-height:1.2}.badge-level{background:var(--surface);width:26px;height:26px;color:var(--muted);border-radius:50%;flex:none;place-items:center;font-size:13px;font-weight:800;display:grid}.badge-card.earned .badge-level{background:var(--accent);color:var(--on-accent)}.badge-card.soon{opacity:.6}.emblem{flex:none;display:block;overflow:visible}.emblem.locked{opacity:.55}.em-aura{transform-origin:60px 62px;animation:2.8s ease-in-out infinite aura}@keyframes aura{50%{opacity:.55;transform:scale(1.04)}}.ach-strip{text-align:left;gap:10px;width:100%;display:grid}.ach-row{flex-wrap:wrap;gap:6px;display:flex}.achievements .ach-grid{grid-template-columns:repeat(2,1fr);gap:10px;display:grid}.ach-tile{text-align:center;background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);border:1.5px solid #0000;justify-items:center;gap:4px;padding:14px 10px;display:grid}.ach-tile:hover{border-color:var(--line)}.ach-tile b{font-size:15px;line-height:1.2}.ach-tile .progress{width:80%}.ach-tile.soon{background:var(--surface-2);box-shadow:none;opacity:.7}.ach-hero{place-items:center;padding:6px 0;display:grid}.ach-hero .emblem{animation:3.2s ease-in-out infinite float}@keyframes float{50%{transform:translateY(-5px)}}.tier-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.tier-list li{background:var(--surface);border-radius:12px;align-items:center;gap:10px;padding:8px 10px;font-size:15px;display:flex}.tier-list li.done{color:var(--good)}.tier-list li.next{border:1.5px solid var(--accent)}.tier-list li>span:nth-child(2){flex:1}.tier-n{background:var(--surface-2);width:26px;height:26px;color:var(--muted);border-radius:50%;flex:none;place-items:center;font-size:13px;font-weight:700;display:grid}.tier-list li.done .tier-n{background:var(--good-soft);color:var(--good)}.badge-top .emblem{margin:-4px 0}.celebrate{z-index:50;background:color-mix(in srgb, var(--bg) 70%, transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);place-items:center;padding:16px;animation:.25s fade;display:grid;position:fixed;inset:0}.celebrate-card{text-align:center;background:var(--surface);border-radius:26px;justify-items:center;gap:8px;width:100%;max-width:380px;padding:24px 20px 20px;animation:.45s cubic-bezier(.2,1.3,.4,1) both card-in;display:grid;position:relative;overflow:hidden;box-shadow:0 20px 60px #1b183040}@keyframes card-in{0%{opacity:0;transform:translateY(30px)scale(.92)}}.celebrate-card>*{position:relative}.celebrate-card .btn{margin-top:10px}.celebrate-title{letter-spacing:-.01em;font-size:22px;font-weight:800}.celebrate-emblem{animation:.8s cubic-bezier(.2,1.5,.35,1) .1s both emblem-in}@keyframes emblem-in{0%{opacity:0;transform:scale(.3)rotate(-12deg)}}.celebrate-emblem .em-fresh{transform-box:fill-box;transform-origin:50%;animation:.9s cubic-bezier(.2,1.6,.4,1) .7s both fresh}@keyframes fresh{0%{opacity:0;filter:brightness(3);transform:scale(.2)}60%{opacity:1;filter:brightness(1.8);transform:scale(1.18)}to{filter:none;transform:scale(1)}}.rays{background:repeating-conic-gradient(from 0deg, color-mix(in srgb, var(--accent) 16%, transparent) 0deg 10deg, transparent 10deg 24deg);border-radius:50%;width:460px;height:460px;margin:-230px 0 0 -230px;animation:18s linear infinite spin;top:150px;left:50%;-webkit-mask:radial-gradient(circle,#000 20%,#0000 68%);mask:radial-gradient(circle,#000 20%,#0000 68%);position:absolute!important}.sparkles{pointer-events:none;inset:0;position:absolute!important}.sparkles i{left:calc(12% + var(--k) * 8%);background:hsl(calc(var(--k) * 36), 90%, 60%);width:8px;height:8px;animation:spark 1.6s calc(.5s + var(--k) * 70ms) ease-out both;border-radius:2px;position:absolute;top:62%;transform:rotate(45deg)}@keyframes spark{0%{opacity:0;transform:translateY(0)rotate(45deg)scale(.5)}20%{opacity:1}to{opacity:0;transform:translateY(-190px)rotate(320deg)scale(1)}}@media (prefers-reduced-motion:reduce){.celebrate,.celebrate-card,.celebrate-emblem,.celebrate-emblem .em-fresh,.rays,.sparkles i,.em-aura,.ach-hero .emblem{animation:none!important}}.dict-match{background:var(--accent-soft);border-radius:14px;gap:8px;padding:12px;display:grid}.dict-match .btn{justify-self:start}.warn{color:var(--learning);font-size:14px;font-weight:600}.typo-fix{flex-wrap:wrap;align-items:center;gap:6px;font-size:14px;display:flex}.typo-fix .btn{min-height:32px;color:var(--accent);padding:0 10px;font-size:14px}.row-gap.two{grid-template-columns:1fr 1fr}.row-gap.two .btn{gap:6px;min-width:0;padding:0 10px;font-size:15px}.import-text{min-height:200px;font-size:16px!important;line-height:1.5!important}.text-promo{text-align:left;border:1.5px dashed color-mix(in srgb, var(--accent) 45%, transparent);cursor:pointer;align-items:flex-start;gap:12px;width:100%;transition:border-color .15s,background .15s;display:flex}.text-promo-body{gap:4px;display:grid}.text-promo.drop-over{border-style:solid;border-color:var(--accent);background:var(--accent-soft)}.text-promo.busy{cursor:progress}.drop-hint{color:var(--accent);font-size:13px;font-weight:600}.drop-hint.muted{color:var(--muted);font-weight:500}.text-promo .error,.text-promo .saved-note{font-size:13px}.drop-over-page .import-text{border-color:var(--accent);background:var(--accent-soft)}.text-promo b{font-size:16px}.text-promo-icon{background:var(--accent-soft);width:40px;height:40px;color:var(--accent);border-radius:12px;flex:none;place-items:center;display:grid}.text-badge{vertical-align:-2px;color:var(--accent);margin-right:6px;display:inline-flex}.rd-stats{gap:10px;display:grid}.rd-nums{text-align:center;grid-template-columns:repeat(3,1fr);display:grid}.rd-nums b{letter-spacing:-.01em;font-size:24px;font-weight:750;display:block}.rd-nums span{color:var(--muted);font-size:13px}.rd-stats .link{justify-self:start}.legend .mark{vertical-align:-1px;border-radius:4px;width:22px;height:12px;margin-right:4px;display:inline-block}.rd-text{gap:14px;font-family:Georgia,Iowan Old Style,Times New Roman,serif;font-size:19px;line-height:1.75;display:grid;position:relative}.rd-text.subs{gap:8px}.rd-p{overflow-wrap:anywhere}.w{cursor:pointer;border-radius:5px;margin:0 -1px;padding:1px;transition:background .15s}.w-new{background:color-mix(in srgb, var(--accent) 13%, transparent)}.w-learn{background:color-mix(in srgb, var(--learning) 26%, transparent)}.w-sel{outline:2px solid var(--accent);outline-offset:1px}@media (hover:hover) and (pointer:fine){.w:hover{background:color-mix(in srgb, var(--accent) 24%, transparent)}}.rd-tip{z-index:5;background:var(--text);width:max-content;max-width:280px;color:var(--bg);pointer-events:none;box-shadow:var(--shadow);border-radius:10px;padding:6px 10px;font:14px/1.35 -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,system-ui,sans-serif;position:absolute;transform:translate(-50%,calc(-100% - 6px))}.reader.with-panel{padding-bottom:calc(320px + env(safe-area-inset-bottom))}.rd-panel{z-index:15;left:0;right:0;bottom:calc(70px + env(safe-area-inset-bottom));width:calc(100% - 16px);max-width:calc(var(--col) - 16px);background:var(--surface);border:1px solid var(--line);border-radius:18px;gap:6px;max-height:55dvh;margin:0 auto;padding:12px 14px 14px;animation:.18s slide;display:grid;position:fixed;overflow-y:auto;box-shadow:0 8px 32px #1b18302e}.rd-panel-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.rd-panel-head .word-row{flex-wrap:wrap;gap:6px 10px}.rd-panel-word{font-size:21px;font-weight:750}.rd-panel-tr{font-size:17px;font-weight:600}.rd-panel-actions{flex-wrap:wrap;align-items:center;gap:8px;margin-top:4px;display:flex}.rd-panel-actions .btn{min-height:42px;padding:0 16px}.rd-more{background:var(--surface-2);border-radius:12px;gap:4px;padding:8px 10px;display:grid}.study-meta{font-variant-numeric:tabular-nums;flex:1}.study-head{min-height:44px}.small-btn{min-height:36px;padding:0 10px;font-size:14px}.pause-offer{text-align:center;align-items:stretch}.pause-offer .hero-title{margin-top:24px}.wait-clock{font-variant-numeric:tabular-nums;letter-spacing:-.02em;font-size:44px;font-weight:750}.hero-nums b small{color:var(--muted);font-size:13px;font-weight:600}.pick-row{cursor:pointer;align-items:flex-start;gap:12px;padding:8px 0;display:flex}.pick-row input{width:20px;height:20px;accent-color:var(--accent);flex:none;margin-top:2px}.pick-row>span{gap:2px;display:grid}.pick-row.off{opacity:.55;cursor:default}.parts.plain{background:0 0;border:0;padding:0}.part.off{opacity:.55;cursor:default}.part-text{gap:1px;display:grid}.channel-stat{color:var(--accent)}.start-card{gap:10px;display:grid}.channel-list{gap:6px;margin:0;padding:0;list-style:none;display:grid}.channel-list li{justify-content:space-between;align-items:center;font-size:15px;display:flex}.pill.s0{background:var(--surface-2);color:var(--muted)}.pill.s1{background:color-mix(in srgb, var(--learning) 18%, transparent);color:var(--learning)}.pill.s2{background:var(--accent-soft);color:var(--accent)}.pill.s3,.pill.s4{background:var(--good-soft);color:var(--good)}.adult-row{text-align:left;justify-content:space-between;align-items:center;gap:12px;padding-top:4px;display:flex}.adult-row b{font-size:14px}.photo-status{background:var(--surface-2);border-radius:14px;align-items:center;gap:12px;padding:10px;display:flex}.photo-status img{object-fit:cover;border-radius:10px;flex:none;width:72px;height:72px}.photo-status>span{flex-direction:column;align-items:flex-start;gap:6px;display:flex}.segmented button:disabled{opacity:.45;cursor:not-allowed}.field .muted{font-weight:400}.w-phr{-webkit-text-decoration:underline dotted color-mix(in srgb, var(--accent) 70%, transparent);text-decoration:underline dotted color-mix(in srgb, var(--accent) 70%, transparent);text-underline-offset:4px;text-decoration-thickness:2px}.rd-phrase{background:color-mix(in srgb, var(--accent) 9%, var(--surface-2));border-radius:12px;gap:4px;padding:8px 10px;display:grid}.rd-say{align-items:center;gap:6px;display:inline-flex}.toggles{gap:8px;display:grid}.toggles-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 20px;display:flex}.toggle{align-items:center;gap:6px;display:inline-flex}.toggle-title{font-size:14px;font-weight:700}.toggle .switch{margin-left:4px}.toggles.list .toggles-row{grid-template-columns:1fr;justify-content:stretch;gap:4px;display:grid}.toggles.list .toggle{display:flex}.toggles.list .toggle .switch{margin-left:auto}.hint-btn{width:30px;height:30px;color:var(--muted);place-items:center;display:inline-grid}.hint-btn i{border:1.5px solid;border-radius:50%;place-items:center;width:18px;height:18px;font-size:11px;font-style:normal;font-weight:700;line-height:1;display:grid}.hint-btn.on{color:var(--accent)}.hint-pop{color:var(--muted);background:var(--surface-2);text-align:left;border-radius:12px;margin:0;padding:8px 10px;font-size:13px}@media (max-width:370px){.course-title{font-size:16px}}.soon-tile.live{text-align:left;cursor:pointer;opacity:1}.soon-tile.live.on{box-shadow:inset 0 0 0 2px var(--accent)}.rule-level{gap:4px;display:grid}.rule-row{text-align:left;border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:10px;padding:10px 0;display:flex}.rule-row:first-of-type{border-top:0}.rule-row.off{opacity:.55}.rule-row-text{gap:2px;min-width:0;display:grid}.rule-row .pill{flex:none}.lesson .sub-head h1{font-size:20px}.lesson-explain p{margin:0 0 10px;line-height:1.5}.lesson-explain p:last-child{margin-bottom:0}.en{color:var(--accent);font-style:normal;font-weight:600}.lesson-table{border-collapse:collapse;width:100%;margin-top:6px;font-size:15px}.lesson-table td{border-bottom:1px solid var(--line);padding:6px 8px}.lesson-russian{background:color-mix(in srgb, var(--learning) 14%, var(--surface))}.lesson-russian p{margin:0;line-height:1.5}.lesson-examples{gap:10px;margin:0;padding:0;list-style:none;display:grid}.lesson-examples li{grid-template-columns:1fr auto;align-items:center;column-gap:6px;display:grid}.lesson-examples li .muted{grid-column:1/-1}.lesson-examples mark{background:color-mix(in srgb, var(--accent) 22%, transparent);color:inherit;border-radius:4px;padding:0 2px}.exercise{gap:10px;margin-top:10px;display:grid}.ex-q{margin:0;font-size:19px;font-weight:600;line-height:1.4}.ex-gap{border-bottom:2px solid var(--accent);text-align:center;min-width:54px;color:var(--accent);display:inline-block}.ex-typed{gap:10px;display:grid}.ex-typed input{border:1.5px solid var(--line);background:var(--surface);color:var(--text);border-radius:12px;padding:12px 14px;font-size:18px}.ex-line,.ex-pool{flex-wrap:wrap;align-items:center;gap:8px;min-height:44px;display:flex}.ex-line{background:var(--surface-2);border-radius:12px;padding:8px}.chip-word{border:1.5px solid var(--line);background:var(--surface);border-radius:10px;padding:8px 12px;font-size:17px;font-weight:600}.chip-word.on{border-color:var(--accent);color:var(--accent)}.chip-word.right{border-color:var(--good);background:var(--good-soft);color:var(--good)}.chip-word.wrong{border-color:var(--bad);background:var(--bad-soft);color:var(--bad)}.ex-feedback{border-radius:12px;gap:6px;padding:10px 12px;display:grid}.ex-feedback.good{background:var(--good-soft);color:var(--good)}.ex-feedback.bad{background:var(--bad-soft);color:var(--bad)}.ex-feedback .muted{color:var(--text);opacity:.8}.ex-full{align-items:center;gap:6px;margin:0;display:flex}.segmented.five{grid-template-columns:repeat(5,1fr)}.talk{grid-template-rows:auto 1fr auto;grid-template-columns:minmax(0,1fr);gap:10px;min-height:calc(100dvh - 90px);display:grid}.talk>*{min-width:0}.talk .sub-head h1{font-size:20px}.talk-list{flex-direction:column;gap:10px;padding-bottom:8px;display:flex;overflow-y:auto}.bubble{border-radius:16px;gap:6px;max-width:86%;padding:10px 12px;display:grid}.bubble p{margin:0;line-height:1.45}.bubble.assistant{background:var(--surface);box-shadow:var(--shadow);border-bottom-left-radius:6px;align-self:flex-start}.bubble.user{background:var(--accent);color:#fff;border-bottom-right-radius:6px;align-self:flex-end}.bubble-tools{align-items:center;gap:8px;display:flex}.bubble-tools .link{text-align:left}.bubble-fix{background:#ffffff2e;border-radius:10px;gap:2px;padding:6px 8px;font-size:14px;display:grid}.bubble-fix .muted{color:inherit;opacity:.85}.bubble.typing{flex-direction:row;gap:4px;display:flex}.bubble.typing span{background:var(--muted);border-radius:50%;width:6px;height:6px;animation:1.2s infinite blink}.bubble.typing span:nth-child(2){animation-delay:.2s}.bubble.typing span:nth-child(3){animation-delay:.4s}@keyframes blink{0%,80%,to{opacity:.25}40%{opacity:1}}.talk-input{background:var(--bg);gap:8px;padding:6px 0;display:flex;position:sticky;bottom:76px}.talk-input input{border:1.5px solid var(--line);background:var(--surface);min-width:0;color:var(--text);border-radius:12px;flex:1;padding:10px 12px;font-size:16px}.icon-btn.mic.on{background:var(--bad-soft)}h2.word.long{overflow-wrap:anywhere;font-size:22px;line-height:1.3}.soon-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.soon-list li{gap:2px;display:grid}.talk-tile{cursor:default}.talk-tile-actions{flex-wrap:wrap;gap:6px;margin-top:6px;display:flex}.btn.small{min-height:34px;padding:0 12px;font-size:14px}.scenario-turn{gap:8px;display:grid}.letters{gap:10px;display:grid}.letters-line{min-height:52px}.chip-letter{border:1.5px solid var(--line);background:var(--surface);text-transform:lowercase;border-radius:10px;min-width:42px;height:46px;padding:0 10px;font-size:22px;font-weight:700}.chip-letter.on{border-color:var(--accent);color:var(--accent)}.flash.is-right .ex-line{box-shadow:inset 0 0 0 2px var(--good);background:var(--good-soft)}.flash.is-wrong .ex-line{box-shadow:inset 0 0 0 2px var(--bad);background:var(--bad-soft)}
