:root{color:#142033;font-synthesis:none;text-rendering:optimizelegibility;--ink:#142033;--muted:#6f7885;--line:#dcd9d1;--paper:#fffefa;--blue:#1671e8;--blue-soft:#e9f2ff;--red:#b84a41;--green:#17805c;background:#f4f2ec;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif}*{box-sizing:border-box}.visually-hidden{clip:rect(0, 0, 0, 0)!important;white-space:nowrap!important;border:0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}html{background:#f4f2ec;min-width:320px}body{background:#f4f2ec;min-width:320px;min-height:100vh;margin:0}button,input,textarea,select{font:inherit}button{color:inherit}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline-offset:2px;outline:3px solid #1671e840}.eyebrow{color:var(--blue);letter-spacing:.16em;text-transform:uppercase;margin:0 0 9px;font-size:11px;font-weight:800}.brand-mark{color:#fff;background:var(--blue);border-radius:12px;justify-content:center;align-items:center;width:38px;height:38px;display:inline-flex}.logo-row{align-items:center;gap:12px;display:flex}.logo-row strong{letter-spacing:-.02em;font-size:15px}.loading-screen{min-height:100vh;color:var(--muted);place-content:center;justify-items:center;display:grid}.loading-screen .brand-mark{border-radius:18px;width:58px;height:58px;animation:1.4s ease-in-out infinite soft-pulse}.auth-layout{grid-template-columns:minmax(0,1.08fr) minmax(420px,.92fr);min-height:100vh;display:grid}.auth-brand{color:#fff;background:#142033;flex-direction:column;justify-content:center;padding:8vw;display:flex;position:relative;overflow:hidden}.auth-brand:after{content:"";border:1px solid #ffffff17;border-radius:50%;width:520px;height:520px;position:absolute;bottom:-30%;right:-15%;box-shadow:0 0 0 70px #ffffff06,0 0 0 140px #ffffff05}.auth-logo{color:#fff;background:var(--blue);border-radius:17px;place-items:center;width:54px;height:54px;display:grid;position:absolute;top:44px;left:8vw}.auth-brand .eyebrow{color:#73aeff}.auth-brand h1{z-index:1;letter-spacing:-.065em;max-width:720px;margin:0;font-size:clamp(50px,6vw,92px);line-height:.98;position:relative}.auth-note{color:#b8c2cf;max-width:480px;margin:28px 0 0;font-size:17px;line-height:1.7}.sound-line{z-index:1;opacity:.75;align-items:center;gap:7px;height:44px;display:flex;position:absolute;bottom:8%;right:7%}.sound-line i{background:#73aeff;border-radius:4px;width:4px;animation:1.5s ease-in-out infinite alternate sound-wave;display:block}.sound-line i:nth-child(2n){animation-delay:-.55s}.sound-line i:nth-child(3n){animation-delay:-.9s}.auth-panel{background:var(--paper);place-items:center;padding:50px;display:grid}.auth-form{width:min(420px,100%);animation:.45s ease-out both rise-in}.auth-form h2{letter-spacing:-.045em;margin:0 0 12px;font-size:35px}.form-hint{color:var(--muted);margin:0 0 34px;line-height:1.7}.auth-form label,.edit-modal label{color:#4d5662;gap:9px;margin:18px 0;font-size:13px;font-weight:700;display:grid}.auth-form input,.edit-modal input,.edit-modal textarea{border:1px solid var(--line);width:100%;min-height:50px;color:var(--ink);background:#fff;border-radius:10px;padding:12px 14px}.form-error{color:var(--red);margin:14px 0;font-size:14px}.primary-button,.secondary-button{cursor:pointer;border-radius:10px;min-height:46px;padding:0 20px;font-weight:750;transition:transform .16s,background .16s,border-color .16s}.primary-button{border:1px solid var(--blue);color:#fff;background:var(--blue)}.primary-button:hover{background:#0e63d1;transform:translateY(-1px)}.secondary-button{border:1px solid var(--line);background:#fff}.secondary-button:hover{border-color:#aeb5bf;transform:translateY(-1px)}.primary-button:disabled,.secondary-button:disabled{opacity:.55;cursor:not-allowed;transform:none}.full{width:100%;margin-top:12px}.compact{min-height:40px;padding:0 15px;font-size:13px}.app-shell{grid-template-columns:232px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{border-right:1px solid var(--line);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffefab8;flex-direction:column;height:100vh;padding:26px 18px 20px;display:flex;position:sticky;top:0}.sidebar .logo-row{padding:0 8px 34px}.sidebar nav{gap:5px;display:grid}.sidebar nav button{color:#69727e;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:9px;align-items:center;gap:12px;min-height:46px;padding:0 13px;display:flex}.sidebar nav button span{color:#8b929d;place-items:center;width:22px;font-size:18px;display:inline-grid}.sidebar nav button:hover{color:var(--ink);background:#eceae4}.sidebar nav button.active{color:#0d5fc8;background:var(--blue-soft);font-weight:750}.sidebar nav button.active span{color:var(--blue)}.sidebar-foot{border-top:1px solid var(--line);margin-top:auto;padding:16px 8px 0}.sidebar-foot p{color:var(--muted);margin:0 0 8px;font-size:12px}.sidebar-foot button{color:#65707d;cursor:pointer;background:0 0;border:0;padding:0;font-size:12px}.workspace{min-width:0}.mobile-header,.bottom-nav{display:none}.page{width:min(1320px,100%);min-height:100vh;margin:0 auto;padding:44px clamp(28px,4.5vw,74px) 64px;animation:.35s ease-out both page-in}.section-header{justify-content:space-between;align-items:end;gap:24px;margin-bottom:34px;display:flex}.section-header h1{letter-spacing:-.055em;margin:0;font-size:clamp(34px,4vw,50px);line-height:1}.practice-filters{gap:10px;display:flex}.practice-filters select{border:1px solid var(--line);color:#3d4754;background:var(--paper);cursor:pointer;border-radius:9px;min-height:44px;padding:0 36px 0 13px}.practice-stage{border:1px solid var(--line);background:var(--paper);border-radius:22px;place-items:center;min-height:calc(100vh - 190px);display:grid;box-shadow:0 20px 60px #1a1f270d}.practice-empty{text-align:center;justify-items:center;max-width:440px;padding:70px 30px;display:grid}.practice-empty h2{letter-spacing:-.04em;margin:28px 0 8px;font-size:29px}.practice-empty p{color:var(--muted);margin:0 0 28px;line-height:1.7}.audio-orb{color:#fff;background:var(--blue);width:94px;height:94px;box-shadow:0 0 0 11px var(--blue-soft);cursor:pointer;border:0;border-radius:50%;place-items:center;transition:transform .2s,box-shadow .2s;display:grid;position:relative}.audio-orb:hover{box-shadow:0 0 0 15px var(--blue-soft);transform:scale(1.045)}.audio-orb.playing:before,.audio-orb.playing:after{content:"";border:2px solid #1671e84d;border-radius:50%;animation:1.1s ease-out infinite audio-ring;position:absolute;inset:-12px}.audio-orb.playing:after{animation-delay:.36s}.question-wrap{flex-direction:column;align-items:center;width:min(780px,100%);min-height:610px;padding:34px 42px 26px;animation:.34s ease-out both question-in;display:flex}.question-meta{width:100%;color:var(--muted);letter-spacing:.06em;text-transform:uppercase;justify-content:space-between;margin-bottom:auto;font-size:11px;font-weight:700;display:flex}.question-wrap .audio-orb{flex:none;margin-top:25px}.masked-word{gap:12px;margin:58px 0 46px;display:flex}.masked-word i{background:#ced2d7;border-radius:4px;width:34px;height:5px;animation:1.6s ease-in-out infinite alternate masked-breathe;display:block}.masked-word i:nth-child(2){animation-delay:-.3s}.masked-word i:nth-child(3){animation-delay:-.6s}.masked-word i:nth-child(4){animation-delay:-.9s}.word-reveal{text-align:center;margin:36px 0 30px;animation:.35s ease-out both reveal-in}.word-reveal h2,.prompt-word h2{letter-spacing:-.045em;margin:0;font-family:Georgia,Times New Roman,serif;font-size:clamp(51px,7vw,74px);font-weight:500}.phonetic,.prompt-word p{color:var(--blue);margin:8px 0 0;font-size:17px}.translation{color:#36414f;max-width:600px;margin:26px auto 0;font-size:20px;line-height:1.55}.familiar-actions{gap:12px;display:flex}.question-title{letter-spacing:-.03em;margin:35px 0 25px;font-size:25px}.tiny-speaker{border:1px solid var(--line);width:44px;height:44px;color:var(--blue);cursor:pointer;background:#fff;border-radius:50%;place-items:center;margin-top:8px;display:grid}.prompt-word{text-align:center;margin:12px 0 34px}.options-grid{grid-template-columns:1fr 1fr;gap:12px;width:100%;display:grid}.options-grid button{border:1px solid var(--line);color:#2e3947;text-align:left;cursor:pointer;background:#fff;border-radius:12px;align-items:center;gap:14px;min-height:66px;padding:12px 16px;transition:transform .16s,border-color .16s,background .16s,opacity .16s;display:flex}.options-grid button:hover:not(:disabled){background:#f8fbff;border-color:#8fbaf2;transform:translateY(-2px)}.options-grid button kbd{color:#687382;width:28px;height:28px;box-shadow:none;background:#eeeee9;border:0;border-radius:7px;flex:none;place-items:center;font-size:12px;display:grid}.options-grid button span{font-size:16px;line-height:1.4}.options-grid button.correct{color:#0d6849;background:#eaf7f1;border-color:#79bda4}.options-grid button.wrong{color:#943d37;background:#fff0ee;border-color:#d99b96}.options-grid button.dimmed{opacity:.48}.result-line{border-radius:9px;align-items:baseline;gap:12px;width:100%;margin-top:20px;padding:13px 16px;font-size:13px;animation:.25s both reveal-in;display:flex}.result-line.success{color:#146949;background:#eaf7f1}.result-line.failure{color:#8f3e38;background:#fff0ee}.result-line span{opacity:.75}.question-footer{border-top:1px solid #ebe9e3;justify-content:space-between;align-items:center;width:100%;margin-top:auto;padding-top:23px;display:flex}.question-footer>button{color:#687381;cursor:pointer;background:0 0;border:0;align-items:center;gap:7px;min-height:42px;padding:0 10px;font-size:12px;display:inline-flex}.question-footer .next-button{color:var(--blue);font-size:14px;font-weight:750}.question-footer .next-button span{font-size:22px}.books-layout{grid-template-columns:220px minmax(0,1fr);gap:40px;display:grid}.book-list{border-right:1px solid var(--line);align-self:start;padding-right:18px}.book-list-head{color:#596371;justify-content:space-between;padding:0 9px 12px;font-size:12px;display:flex}.book-list-head span{color:#9299a2}.book-list>button{color:#616b78;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:space-between;width:100%;min-height:44px;padding:0 10px;display:flex}.book-list>button span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.book-list>button small{color:#9aa0a8}.book-list>button.active{color:#0d5fc8;background:var(--blue-soft);font-weight:700}.new-book{margin-top:14px;display:flex}.new-book input{border:1px solid var(--line);background:var(--paper);border-radius:8px 0 0 8px;width:100%;min-width:0;min-height:40px;padding:0 10px}.new-book button{border:1px solid var(--line);width:40px;color:var(--blue);cursor:pointer;background:#fff;border-left:0;border-radius:0 8px 8px 0}.book-content{min-width:0}.book-title-row,.preview-head,.book-progress-head{justify-content:space-between;align-items:end;gap:18px;display:flex}.book-title-row h2{letter-spacing:-.04em;margin:0;font-size:31px}.text-danger{color:#a84a44;cursor:pointer;background:0 0;border:0;padding:8px 0;font-size:12px}.import-panel{border:1px solid var(--line);background:var(--paper);border-radius:14px;margin:28px 0 26px;padding:22px}.import-panel>label{font-weight:800}.import-panel>p{color:var(--muted);margin:7px 0 14px;font-size:12px;line-height:1.6}.import-panel code{color:#0b5ec8;background:#edf4fd}.import-panel textarea{resize:vertical;width:100%;color:var(--ink);background:#faf9f5;border:1px solid #d7d5ce;border-radius:9px;padding:13px;line-height:1.7;display:block}.import-actions{justify-content:space-between;align-items:center;gap:12px;margin-top:13px;display:flex}.import-actions span{color:#868d97;font-size:11px}.preview-panel{background:#f4f8fd;border:1px solid #b7d1f3;border-radius:14px;margin-bottom:26px;padding:18px 20px}.preview-list{max-height:340px;margin-top:15px;overflow:auto}.preview-list>div{border-top:1px solid #dbe7f5;grid-template-columns:130px 120px 1fr auto;align-items:baseline;gap:12px;padding:10px 0;font-size:13px;display:grid}.preview-list span{color:var(--blue)}.preview-list p{margin:0}.preview-list em{color:#9d594f;font-size:11px}.word-table{border-top:1px solid var(--line);overflow:hidden}.word-table-head,.word-row{grid-template-columns:minmax(150px,.85fr) minmax(220px,1.65fr) 100px 110px;align-items:center;gap:18px;display:grid}.word-table-head{color:#8a919a;letter-spacing:.08em;text-transform:uppercase;padding:12px 9px;font-size:10px;font-weight:800}.word-row{border-top:1px solid #e3e0d9;min-height:69px;padding:10px 9px}.word-row>span:first-child{gap:3px;display:grid}.word-row strong{font-family:Georgia,serif;font-size:17px;font-weight:600}.word-row small{color:#9299a2;font-size:11px}.word-row>span:nth-child(2){color:#424c58;font-size:13px;line-height:1.5}.word-row .needs-review{color:#a54e47}.word-row>span:nth-child(3){gap:7px;display:grid}.streak-dots{gap:4px;display:flex}.streak-dots b{background:#d5d5d0;border-radius:2px;width:16px;height:3px}.streak-dots b.on{background:var(--blue)}.word-row>span:last-child{justify-content:end;gap:10px;display:flex}.word-row>span:last-child button{color:#727b86;cursor:pointer;background:0 0;border:0;padding:0;font-size:11px}.table-empty{color:#858d96;text-align:center;padding:56px 20px}.modal-backdrop{z-index:50;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#0f18247a;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.edit-modal{background:var(--paper);border-radius:16px;width:min(440px,100%);padding:28px;animation:.25s both rise-in;box-shadow:0 30px 90px #0003}.edit-modal h2{margin:0 0 18px;font-family:Georgia,serif;font-size:38px}.edit-modal>div{justify-content:end;gap:10px;display:flex}.stat-lead{border-top:1px solid var(--line);border-bottom:1px solid var(--line);grid-template-columns:250px minmax(0,1fr);align-items:center;gap:56px;padding:52px 0;display:grid}.stat-lead>div:first-child strong{color:var(--blue);letter-spacing:-.08em;font-family:Georgia,serif;font-size:108px;font-weight:500;line-height:.8}.stat-lead sup{font-family:inherit;font-size:30px}.stat-lead>div:first-child p{color:var(--muted);margin:19px 0 0}.stat-copy h2{letter-spacing:-.045em;max-width:620px;margin:0;font-size:clamp(26px,3vw,42px);line-height:1.15}.stat-copy p{max-width:680px;color:var(--muted);margin:16px 0 0;line-height:1.7}.stat-totals{border-bottom:1px solid var(--line);grid-template-columns:repeat(4,1fr);display:grid}.stat-totals div{border-right:1px solid var(--line);gap:8px;padding:26px 0;display:grid}.stat-totals div:not(:first-child){padding-left:24px}.stat-totals div:last-child{border-right:0}.stat-totals span{color:var(--muted);font-size:12px}.stat-totals strong{font-family:Georgia,serif;font-size:34px;font-weight:500}.book-progress{padding-top:44px}.book-progress-head h2{letter-spacing:-.03em;margin:0;font-size:24px}.book-progress-head span{color:var(--muted);font-size:11px}.progress-row{border-bottom:1px solid var(--line);grid-template-columns:minmax(130px,210px) 1fr 70px;align-items:center;gap:22px;padding:19px 0;display:grid}.progress-row strong{font-size:13px}.progress-row small{color:var(--muted);text-align:right}.progress-track{background:#dfded8;border-radius:5px;height:6px;position:relative;overflow:hidden}.progress-track span,.progress-track i{border-radius:5px;position:absolute;top:0;bottom:0;left:0}.progress-track span{z-index:1;opacity:.18;background:var(--blue)}.progress-track i{z-index:2;background:var(--blue)}.toast{z-index:100;color:#fff;background:#172335;border-radius:10px;max-width:min(380px,100vw - 40px);padding:13px 17px;font-size:13px;animation:.25s both toast-in;position:fixed;bottom:24px;right:24px;box-shadow:0 15px 45px #0003}@keyframes rise-in{0%{opacity:0;transform:translateY(15px)}to{opacity:1;transform:translateY(0)}}@keyframes page-in{0%{opacity:0}to{opacity:1}}@keyframes question-in{0%{opacity:0;transform:translateY(10px)scale(.99)}to{opacity:1;transform:none}}@keyframes reveal-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes soft-pulse{50%{transform:scale(1.06);box-shadow:0 0 0 10px #1671e81a}}@keyframes sound-wave{to{opacity:.55;transform:scaleY(.55)}}@keyframes audio-ring{0%{opacity:.8;transform:scale(.9)}to{opacity:0;transform:scale(1.28)}}@keyframes masked-breathe{to{opacity:.4;transform:scaleX(.75)}}@keyframes toast-in{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}@media (width<=900px){.auth-layout{grid-template-columns:1fr}.auth-brand{min-height:42vh;padding:100px 9vw 45px}.auth-logo{top:28px;left:9vw}.auth-brand h1{font-size:clamp(44px,10vw,66px)}.auth-note{margin-top:18px}.sound-line{opacity:.35;bottom:26px;right:8%}.auth-panel{padding:42px 25px 60px}.app-shell{padding-bottom:calc(68px + env(safe-area-inset-bottom));display:block}.sidebar{display:none}.mobile-header{border-bottom:1px solid var(--line);background:#fffefae0;padding:14px 20px;display:block}.mobile-header .brand-mark{width:34px;height:34px}.bottom-nav{z-index:40;padding:7px 8px calc(7px + env(safe-area-inset-bottom));border-top:1px solid var(--line);-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);background:#fffefaf0;grid-template-columns:repeat(3,1fr);display:grid;position:fixed;bottom:0;left:0;right:0}.bottom-nav button{color:#7a838e;background:0 0;border:0;justify-items:center;gap:3px;min-height:48px;font-size:10px;display:grid}.bottom-nav button span{font-size:17px}.bottom-nav button.active{color:var(--blue);font-weight:750}.page{min-height:auto;padding:30px 20px 38px}.section-header{align-items:start;margin-bottom:24px}.section-header h1{font-size:36px}.practice-page .section-header{display:grid}.practice-filters{width:100%}.practice-filters select{flex:1;min-width:0}.practice-stage{border-radius:17px;min-height:calc(100svh - 245px)}.question-wrap{min-height:calc(100svh - 245px);padding:23px 18px 18px}.question-meta span:last-child{display:none}.books-layout{grid-template-columns:1fr;gap:24px}.book-list{border:0;gap:7px;padding:0 0 10px;display:flex;overflow-x:auto}.book-list-head{display:none}.book-list>button{background:#ebe9e3;flex:none;gap:10px;width:auto;padding:0 13px}.new-book{flex:0 0 170px;margin:0}.preview-list>div{grid-template-columns:90px 1fr}.preview-list p{grid-column:1/-1}.preview-list em,.word-table-head{display:none}.word-row{grid-template-columns:minmax(110px,.7fr) 1.3fr auto;gap:10px}.word-row>span:nth-child(3){display:none}.word-row>span:last-child{flex-direction:column}.stat-lead{grid-template-columns:1fr;gap:30px;padding:38px 0}.stat-lead>div:first-child strong{font-size:86px}.stat-totals{grid-template-columns:1fr 1fr}.stat-totals div{border-bottom:1px solid var(--line)}.stat-totals div:nth-child(2n){border-right:0;padding-left:22px}.stat-totals div:nth-last-child(-n+2){border-bottom:0}.progress-row{grid-template-columns:110px 1fr 55px;gap:12px}}@media (width<=560px){.auth-brand{min-height:39vh}.auth-brand .eyebrow{font-size:9px}.auth-brand h1{font-size:45px}.auth-note{font-size:14px}.auth-panel{place-items:start center}.auth-form h2{font-size:29px}.section-header{display:grid}.section-header>button{justify-self:start}.practice-filters{grid-template-columns:1fr 1fr;display:grid}.practice-filters select{width:100%;font-size:12px}.practice-stage{min-height:calc(100svh - 245px);margin:0 -7px}.practice-empty{padding:45px 24px}.audio-orb{width:82px;height:82px}.question-wrap .audio-orb{margin-top:16px}.question-wrap{padding:20px 15px 14px}.word-reveal h2,.prompt-word h2{font-size:50px}.translation{font-size:17px}.question-title{margin-top:28px;font-size:20px}.options-grid{grid-template-columns:1fr;gap:8px}.options-grid button{min-height:55px}.result-line{gap:4px;display:grid}.import-panel{margin-left:-5px;margin-right:-5px;padding:17px}.import-actions{align-items:end}.import-actions span{max-width:160px}.word-row{grid-template-columns:92px 1fr 42px}.word-row strong{font-size:15px}.word-row>span:nth-child(2){font-size:12px}.word-row>span:last-child button:last-child{display:none}.stat-totals strong{font-size:29px}.book-progress-head{display:grid}.progress-row{grid-template-columns:90px 1fr 48px}.toast{right:20px;bottom:calc(78px + env(safe-area-inset-bottom));left:20px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
