@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;700&display=swap";:root{color:#242421;font-synthesis:none;background:#f7f7f4;font-family:DM Sans,Noto Sans SC,sans-serif}*{box-sizing:border-box}body{margin:0}.app-shell{min-height:100vh;display:flex}.sidebar{background:#efefe9;border-right:1px solid #deded6;flex-direction:column;flex-shrink:0;width:236px;padding:24px 16px 18px;display:flex}.brand,.mobile-brand{letter-spacing:-.02em;align-items:center;gap:10px;padding:4px 8px 28px;font-size:17px;font-weight:700;display:flex}.brand-mark{color:#d6e99d;background:#272b22;border-radius:8px;place-items:center;width:28px;height:28px;display:grid}.profile{background:#e5e5de;border:1px solid #d9d9d0;border-radius:9px;align-items:center;gap:9px;margin-bottom:26px;padding:10px;display:flex}.avatar,.top-avatar{color:#4d5d32;background:#d4dfb7;border-radius:50%;place-items:center;font-weight:700;display:grid}.avatar{width:30px;height:30px;font-size:13px}.profile div:nth-child(2){flex-direction:column;flex:1;display:flex}.profile strong{font-size:12px}.profile small{color:#8b8b81;margin-top:2px;font-size:11px}.sidebar nav{flex-direction:column;gap:4px;display:flex}.sidebar button{color:#777870;font:inherit;cursor:pointer;text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:12px;padding:11px 12px;font-size:13px;display:flex}.sidebar nav button.active{color:#3f502b;background:#dce8b8;font-weight:600}.sidebar nav em{background:#c8d89a;border-radius:10px;margin-left:auto;padding:2px 6px;font-size:11px;font-style:normal}.sidebar-bottom{margin-top:auto}.sidebar-bottom button{width:100%;margin-bottom:15px}.streak{color:#888980;align-items:center;gap:8px;padding:0 12px;font-size:11px;display:flex}.streak svg{color:#e78c4d}.streak b{color:#4b4d43;font-size:15px}.main{flex:1;min-width:0}.topbar{border-bottom:1px solid #e6e6df;justify-content:flex-end;align-items:center;height:65px;padding:0 42px;display:flex}.mobile-brand{display:none}.top-actions{align-items:center;gap:18px;display:flex}.icon-btn{color:#999b93;cursor:pointer;background:0 0;border:0;place-items:center;padding:6px;display:grid}.top-avatar{width:29px;height:29px;font-size:12px}.content{max-width:1000px;margin:0 auto;padding:48px 42px 60px}.eyebrow{letter-spacing:.14em;color:#9a9b92;margin:0 0 13px;font-size:10px;font-weight:600}.lead{color:#999a92;margin:14px 0 0;font-size:13px}.primary,.secondary{font:inherit;cursor:pointer;border:0;border-radius:7px;justify-content:center;align-items:center;gap:8px;padding:11px 15px;font-size:12px;font-weight:600;display:flex}.primary{color:#27351c;background:#a3bf6a}.secondary{color:#4d5047;background:#e8e8e1}.secondary span{background:#d5dfb5;border-radius:10px;padding:2px 6px}.page-title,.review-head{justify-content:space-between;align-items:flex-end;margin-bottom:32px;display:flex}.page-title h1,.review-head h1{font-size:32px}.welcome h1,.page-title h1,.review-head h1{letter-spacing:-.045em;color:#242620;margin:0;font-size:40px;line-height:1.12}.text-btn{color:#8a9871;font:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:3px;font-size:12px;display:flex}.empty{text-align:center;color:#aaa;padding:50px}.phrase-list{border-top:1px solid #deded6}.phrase-row{border-bottom:1px solid #e2e2da;justify-content:space-between;gap:18px;padding:19px 0;display:flex}.phrase-main{min-width:0}.phrase-line{align-items:flex-start;gap:10px;display:flex}.phrase-line p{color:#30332c;margin:0;font-size:15px;font-weight:500;line-height:1.5}.dot{background:#a4bd69;border-radius:50%;flex-shrink:0;width:6px;height:6px;margin-top:8px}.meaning{color:#95978e;margin:6px 0 11px 16px;font-size:12px;line-height:1.5}.meta{color:#aaa;flex-wrap:wrap;align-items:center;gap:7px;margin-left:16px;font-size:10px;display:flex}.meta b{color:#879660;background:#edf2df;border-radius:4px;padding:3px 7px;font-weight:500}.level{white-space:nowrap;border-radius:4px;height:22px;padding:5px 8px;font-size:10px}.level.熟悉{color:#6f8f4e;background:#e6efd2}.level.模糊{color:#b38448;background:#f5ecd8}.level.不会{color:#b56d5a;background:#f5e3df}.row-side{flex-direction:column;flex-shrink:0;align-items:flex-end;gap:6px;display:flex}.archived-badge{color:#9a9b92;white-space:nowrap;background:#f0f0ea;border:1px solid #e0e0d8;border-radius:4px;padding:2px 7px;font-size:9px}.welcome{justify-content:space-between;align-items:flex-end;padding-bottom:42px;display:flex}.welcome-actions{gap:9px;display:flex}.stats{border-top:1px solid #deded6;border-bottom:1px solid #deded6;grid-template-columns:repeat(3,1fr);margin-bottom:46px;display:grid}.stats>div{border-right:1px solid #deded6;padding:20px 20px 19px}.stats>div:last-child{border:0}.stats small{color:#999b92;margin-bottom:12px;font-size:11px;display:block}.stats strong{letter-spacing:-.04em;font-size:30px;font-weight:600}.stats i{color:#8f9186;margin-left:3px;font-size:12px;font-style:normal;font-weight:400}.stats span{align-items:center;gap:3px;margin-top:9px;font-size:10px;display:flex}.up{color:#799549}.up label,.muted{color:#aaa;margin-left:3px}.orange{color:#d88443}.section-head{justify-content:space-between;align-items:flex-end;margin-bottom:16px;display:flex}.section-head h2{letter-spacing:-.03em;margin:0;font-size:20px}.tip{background:#f0f1e9;border:1px solid #e0e3d3;border-radius:8px;align-items:flex-start;gap:13px;margin-top:36px;padding:15px 17px;display:flex}.tip-icon{color:#8ca35e}.tip strong{font-size:12px}.tip p{color:#8d9086;margin:5px 0 0;font-size:11px;line-height:1.6}.tip .icon-btn{margin-left:auto}.searchbar{color:#aaa;background:#fff;border:1px solid #deded6;border-radius:7px;align-items:center;height:46px;margin-bottom:18px;padding-left:14px;display:flex}.searchbar input{font:inherit;background:0 0;border:0;outline:0;flex:1;padding:0 10px;font-size:12px}.searchbar button{color:#777;height:100%;font:inherit;background:0 0;border:0;border-left:1px solid #e5e5de;align-items:center;gap:6px;padding:0 14px;font-size:11px;display:flex}.library-meta{color:#999b92;justify-content:space-between;margin-bottom:12px;font-size:11px;display:flex}.library-meta span:last-child{align-items:center;gap:2px;display:flex}.chip-row{flex-wrap:wrap;gap:7px;margin-bottom:16px;display:flex}.chip.tag{background:0 0;border-style:dashed}.review-page{max-width:760px}.progress-ring{flex-direction:column;align-items:flex-end;display:flex}.progress-ring strong{font-size:28px;font-weight:500}.progress-ring strong span{color:#aaa;font-size:13px}.progress-ring small{color:#aaa;margin-top:4px;font-size:10px}.review-card{background:#fff;border:1px solid #e2e2db;border-radius:10px;padding:28px 30px 24px;box-shadow:0 8px 28px #3135260d}.review-card-top{color:#a0a199;justify-content:space-between;font-size:10px;display:flex}.review-phrase{letter-spacing:-.025em;max-width:620px;margin:58px 0 38px;font-size:27px;line-height:1.4}.answer{border-left:3px solid #b5ca7a;margin-bottom:30px;padding:3px 0 3px 15px}.answer small{color:#9b9d93;font-size:10px}.answer p{color:#62655c;margin:7px 0 0;font-size:14px}.reveal{color:#879861;width:100%;font:inherit;cursor:pointer;background:#f7f9f1;border:1px dashed #d8ded0;border-radius:6px;padding:14px;font-size:11px}.reveal span{color:#b2b5ab;margin-left:6px}.review-divider{background:#ecece5;height:1px;margin:23px 0}.review-actions p{color:#999b92;margin:0 0 12px;font-size:11px}.review-actions>div{gap:8px;display:flex}.review-btn{font:inherit;cursor:pointer;border:0;border-radius:6px;padding:10px 14px;font-size:11px}.review-btn.hard{color:#ad705f;background:#f6e5e0}.review-btn.soft{color:#ad864d;background:#f5ecd9}.review-btn.easy{color:#688747;background:#e5efd2;align-items:center;gap:5px;display:flex}.review-foot{color:#a1a39a;justify-content:center;align-items:center;gap:6px;margin-top:22px;font-size:11px;display:flex}.review-btn small{opacity:.75;margin-top:3px;font-size:9px;font-weight:400;display:block}.review-done{text-align:center;color:#8b8d83;padding:90px 0}.review-done h1{letter-spacing:-.03em;color:#242620;margin:16px 0 4px;font-size:26px}.login-page{background:#f7f7f4;place-items:center;min-height:100vh;padding:20px;display:grid}.form-error{color:#b56d5a;background:#f5e3df;border-radius:6px;padding:9px 12px;font-size:11px}.setup-code{white-space:pre;background:#f4f4ee;border:1px solid #e3e3da;border-radius:6px;padding:12px;font-size:11px;overflow-x:auto}.detail-top{justify-content:space-between;align-items:center;margin-bottom:22px;display:flex}.detail-actions{gap:8px;display:flex}.back-btn{margin-bottom:6px}.essay-form label{color:#6d7067;margin-bottom:17px;font-size:11px;display:block}.essay-form input,.essay-form textarea{width:100%;font:inherit;color:#34372f;resize:vertical;background:#fff;border:1px solid #dddeda;border-radius:6px;outline:0;margin-top:7px;padding:11px 12px;font-size:12px;line-height:1.6;display:block}.essay-form input:focus,.essay-form textarea:focus{border-color:#a6be72;box-shadow:0 0 0 3px #eaf0dc}.essay-section{margin-bottom:32px}.essay-section h2{letter-spacing:-.02em;color:#4b4d43;margin:0 0 12px;font-size:15px}.essay-text{white-space:pre-wrap;color:#43463d;background:#fff;border:1px solid #e6e6df;border-radius:8px;padding:16px 18px;font-size:13px;line-height:1.7}.markdown-body{color:#43463d;background:#fff;border:1px solid #e6e6df;border-radius:8px;padding:4px 18px;font-size:13px;line-height:1.7}.markdown-body h1,.markdown-body h2,.markdown-body h3{letter-spacing:-.02em;font-size:15px}.markdown-body code{background:#f0f1e9;border-radius:4px;padding:1px 5px;font-size:11px}.muted-block{color:#aaa;font-size:12px}.settings-row p{color:#95978e;margin:4px 0 0;font-size:11px}.settings-icon{color:#8ca35e;margin-top:2px}.settings-card h2{align-items:center;gap:7px;display:flex}.password-form{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:8px;margin-top:14px;display:grid}.password-form input{min-width:0;font:inherit;color:#34372f;background:#fff;border:1px solid #dddeda;border-radius:8px;outline:0;padding:10px 11px;font-size:11px}.password-form input:focus{border-color:#9fbd68;box-shadow:0 0 0 3px #a7c96b3d}.overlay{z-index:5;background:#282b2247;justify-content:flex-end;display:flex;position:fixed;inset:0}.drawer{background:#fbfbf8;width:min(450px,100%);height:100%;padding:28px 30px;overflow:auto;box-shadow:-10px 0 30px #00000014}.drawer-head{justify-content:space-between;margin-bottom:28px;display:flex}.drawer-head small{color:#9a9c91;letter-spacing:.1em;font-size:10px}.drawer h2{letter-spacing:-.04em;margin:5px 0 0;font-size:24px}.drawer label{color:#6d7067;margin-bottom:17px;font-size:11px;display:block}.drawer input,.drawer textarea{width:100%;font:inherit;color:#34372f;background:#fff;border:1px solid #dddeda;border-radius:6px;outline:0;margin-top:7px;padding:11px 12px;font-size:12px;display:block}.drawer textarea{resize:vertical;min-height:88px;line-height:1.5}.drawer input:focus,.drawer textarea:focus{border-color:#a6be72;box-shadow:0 0 0 3px #eaf0dc}.two-col{grid-template-columns:1fr 1fr;gap:12px;display:grid}.full{width:100%;margin-top:8px}.drawer-note{color:#9b9e95;justify-content:center;align-items:center;gap:5px;margin-top:18px;font-size:10px;display:flex}.drawer-delete{color:#b56d5a;font:inherit;cursor:pointer;background:0 0;border:0;width:100%;margin-top:16px;padding:8px;font-size:11px}.drawer-archive{color:#8a9871;font:inherit;cursor:pointer;background:0 0;border:0;width:100%;margin-top:14px;padding:8px;font-size:11px}.drawer-archive:hover{color:#6d7f4a}.login-page{place-items:center;min-height:100vh;padding:24px;display:grid}.login-card{background:#fbfbf8;border:1px solid #e2e2da;border-radius:12px;width:min(400px,100%);padding:36px 34px;box-shadow:0 10px 34px #3135260f}.login-card .brand{padding:0 0 22px}.login-card h1{letter-spacing:-.03em;margin:0 0 4px;font-size:26px}.login-card label{color:#6d7067;margin:16px 0 0;font-size:11px;display:block}.login-card input{width:100%;font:inherit;color:#34372f;background:#fff;border:1px solid #dddeda;border-radius:6px;outline:0;margin-top:7px;padding:11px 12px;font-size:12px;display:block}.login-card input:focus{border-color:#a6be72;box-shadow:0 0 0 3px #eaf0dc}.login-card .full{margin-top:20px}.login-card code{background:#eef0e6;border-radius:4px;padding:1px 5px;font-size:11px}.setup-code{background:#eef0e6;border-radius:6px;margin:14px 0 0;padding:12px 14px;font-size:11px;line-height:1.7;overflow-x:auto}.form-error{color:#a25947;background:#f6e5e0;border-radius:6px;margin:14px 0 0;padding:10px 12px;font-size:11px}.form-success{color:#536b2e;background:#edf3e2;border-radius:6px;margin:14px 0 0;padding:10px 12px;font-size:11px}.login-modes{background:#eff0eb;border-radius:8px;grid-template-columns:1fr 1fr;gap:3px;margin:20px 0 2px;padding:3px;display:grid}.login-modes button{color:#777b70;min-height:36px;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;gap:6px;font-size:11px;font-weight:600;display:flex}.login-modes button.active{color:#3d4930;background:#fff;box-shadow:0 1px 4px #3135261a}.code-field{grid-template-columns:minmax(0,1fr) 82px;align-items:end;gap:8px;display:grid}.code-field button{color:#5d6950;height:39px;font:inherit;cursor:pointer;background:#f7f8f3;border:1px solid #dddeda;border-radius:7px;font-size:10px;font-weight:600}.code-field button:disabled{cursor:not-allowed;opacity:.55}.loading-mark{color:#d6e99d;background:#272b22;border-radius:12px;place-items:center;width:46px;height:46px;display:grid}.chip-row{flex-wrap:wrap;gap:7px;margin:-4px 0 16px;display:flex}.chip{color:#7d8076;font:inherit;cursor:pointer;background:#fff;border:1px solid #dddeda;border-radius:20px;padding:6px 12px;font-size:11px}.chip.active{color:#3f502b;background:#dce8b8;border-color:#c3d69a;font-weight:600}.chip.tag{border-style:dashed}.chip.tag.active{border-style:solid}.essay-dot{background:#d8a25f}.secondary.danger{color:#b0563f;background:#f5e6e1}.drawer-delete{color:#b0563f;font:inherit;cursor:pointer;background:0 0;border:0;margin:22px auto 0;font-size:11px;text-decoration:underline;display:block}.review-done{text-align:center;padding:80px 0}.review-done svg{color:#8ca35e}.review-done h1{letter-spacing:-.03em;margin:18px 0 6px;font-size:28px}.review-btn small{opacity:.75;margin-top:3px;font-size:9px;display:block}.md-preview{color:#34372f;background:#fff;border:1px solid #dddeda;border-radius:6px;min-height:60px;margin-top:7px;padding:12px 14px;font-size:12px;line-height:1.7}.md-preview p{margin:.4em 0}.md-preview h1,.md-preview h2,.md-preview h3{letter-spacing:-.02em;margin:.8em 0 .3em}.md-preview code{background:#eef0e6;border-radius:4px;padding:1px 5px}.md-preview blockquote{color:#6d7067;border-left:3px solid #cfdcb0;margin:.6em 0;padding-left:12px}.preview-toggle{float:right;margin-top:2px}.settings-card{background:#fbfbf8;border:1px solid #e2e2da;border-radius:10px;margin-bottom:18px;padding:20px 22px}.settings-card h2{letter-spacing:-.02em;margin:0 0 8px;font-size:15px}.settings-row{align-items:flex-start;gap:13px;padding:8px 0;display:flex}.settings-icon{color:#7c9050;background:#eef0e6;border-radius:8px;flex-shrink:0;place-items:center;width:32px;height:32px;display:grid}.settings-row strong{font-size:12px}.settings-row p{color:#8d9086;margin:4px 0 0;font-size:11px;line-height:1.6}.settings-actions{flex-wrap:wrap;gap:9px;margin-top:12px;display:flex}.muted-block{color:#9b9e95;margin:4px 0 0;font-size:11px}.export-ok{color:#6f8f4e;margin:10px 0 0;font-size:11px}.tabbar{display:none}@media (width<=700px){.login-card{padding:30px 22px}.tabbar{z-index:4;padding:6px 4px calc(6px + env(safe-area-inset-bottom));background:#fbfbf8;border-top:1px solid #e2e2da;display:flex;position:fixed;bottom:0;left:0;right:0}.tabbar button{color:#8b8d84;font:inherit;cursor:pointer;background:0 0;border:0;flex-direction:column;flex:1;align-items:center;gap:3px;padding:6px 0;font-size:10px;display:flex;position:relative}.tabbar button.active{color:#4d5d32;font-weight:600}.tabbar em{color:#3f502b;background:#c8d89a;border-radius:8px;padding:1px 5px;font-size:9px;font-style:normal;position:absolute;top:0;right:calc(50% - 20px)}.settings-card{padding:16px}.review-done{padding:60px 0}}.review-page{max-width:820px;padding-top:54px}.review-head{align-items:flex-start;margin-bottom:28px}.review-head .lead{max-width:430px}.review-progress{text-align:right;min-width:126px;padding-top:5px}.review-progress strong{letter-spacing:-.04em;font-size:28px;font-weight:500}.review-progress strong span{color:#a1a39a;letter-spacing:0;font-size:13px}.review-progress small{color:#a1a39a;margin-top:6px;font-size:10px;display:block}.progress-track{background:#e8eadf;border-radius:5px;height:4px;margin-top:10px;overflow:hidden}.progress-track i{background:#9fba67;border-radius:5px;height:100%;transition:width .25s;display:block}.review-card{padding:30px 32px 26px;box-shadow:0 12px 32px #3135260f}.review-context{color:#82975b;font-weight:500}.review-phrase{max-width:650px;margin:66px 0 42px;font-size:29px;line-height:1.38}.reveal{text-align:left;color:#718650;background:#f8faf3;border:1px dashed #cdd8bb;justify-content:space-between;align-items:center;min-height:58px;padding:15px 16px;transition:background .15s,border-color .15s;display:flex}.reveal:hover{background:#f1f6e6;border-color:#a9bd7c}.reveal-title{font-size:12px;font-weight:600}.reveal-key{color:#a3aa98;align-items:center;gap:5px;font-size:10px;display:flex}.review-prompt{color:#a1a39a;text-align:center;margin:0;font-size:11px}.review-actions>div{gap:10px}.review-btn{text-align:left;min-width:118px;min-height:57px;padding:10px 13px;transition:transform .15s,box-shadow .15s}.review-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px #31352614}.review-btn span{align-items:center;gap:6px;display:flex}.review-btn span b{opacity:.55;font-size:10px;font-weight:500}.review-btn small{padding-left:18px}.review-foot{margin-top:18px}@media (width<=700px){.review-page{padding-top:32px}.review-head{margin-bottom:22px}.review-progress{min-width:94px}.review-progress strong{font-size:24px}.reveal{flex-direction:column;align-items:flex-start;gap:8px}.review-actions>div{gap:7px}.review-btn{min-width:0;padding:10px 11px}.app-shell{display:block}.sidebar{display:none}.topbar{justify-content:space-between;height:58px;padding:0 18px}.mobile-brand{padding:0;font-size:15px;display:flex}.content{padding:30px 18px 92px}.primary,.secondary{padding:12px 9px}.page-title{align-items:flex-start;gap:16px}.page-title h1,.review-head h1{font-size:29px}.page-title .primary{white-space:nowrap}.phrase-row{padding:17px 0}.phrase-line p{font-size:13px}.meaning{font-size:11px}.meta{font-size:9px}.welcome{padding-bottom:32px;display:block}.welcome h1{font-size:34px}.welcome-actions{grid-template-columns:1fr 1fr;margin-top:26px;display:grid}.stats{margin-bottom:34px;margin-left:-18px;margin-right:-18px}.stats>div{padding:16px 12px}.stats strong{font-size:23px}.stats span{font-size:9px}.section-head{margin-bottom:12px}.searchbar button{padding:0 10px}.review-head{align-items:flex-start}.review-card{padding:22px 18px}.review-phrase{margin:45px 0 30px;font-size:22px}.review-actions>div{grid-template-columns:1fr 1fr;display:grid}.review-btn.easy{grid-column:span 2;justify-content:center}.drawer{padding:24px 20px}.drawer h2{font-size:22px}.tabbar{padding:6px 4px calc(6px + env(safe-area-inset-bottom));z-index:4;background:#efefe9;border-top:1px solid #deded6;display:flex;position:fixed;bottom:0;left:0;right:0}.tabbar button{font:inherit;color:#777870;cursor:pointer;background:0 0;border:0;border-radius:8px;flex-direction:column;flex:1;align-items:center;gap:3px;padding:6px 0;font-size:9px;display:flex;position:relative}.tabbar button.active{color:#3f502b;font-weight:600}.tabbar em{color:#3f502b;background:#c8d89a;border-radius:8px;padding:1px 5px;font-size:9px;font-style:normal;position:absolute;top:0;right:calc(50% - 22px)}.settings-card{padding:18px}.settings-actions{grid-template-columns:1fr 1fr;display:grid}}:root{--ink:#1d261e;--muted-ink:#778078;--line:#e1e6df;--surface:#fff;--page:#f4f6f2;--sidebar:#e9eee7;--accent:#a7c96b;--accent-ink:#29401d;--accent-soft:#e7f0d5;--radius:10px;color:var(--ink);background:var(--page);font-family:DM Sans,Noto Sans SC,system-ui,sans-serif}body{background:var(--page);color:var(--ink)}.app-shell{background:var(--page)}.sidebar{background:var(--sidebar);border-right:1px solid var(--line);width:248px;padding:28px 18px 20px}.brand{color:var(--ink);padding-left:6px}.brand-mark{background:var(--ink);color:var(--accent);border-radius:9px;box-shadow:0 4px 12px #1d261e24}.profile{border-radius:var(--radius);background:#ffffff9e;border-color:#788a732e;padding:11px}.sidebar button{color:#687269;border-radius:9px;transition:background .18s,color .18s,transform .18s}.sidebar button:hover{color:var(--ink);background:#fff9;transform:translate(2px)}.sidebar nav button.active,.tabbar button.active{background:var(--accent-soft);color:var(--accent-ink)}.sidebar nav button.active{box-shadow:inset 3px 0 0 var(--accent)}.sidebar nav em,.tabbar em{background:var(--accent);color:var(--accent-ink)}.streak{color:var(--muted-ink)}.main{background:var(--page)}.topbar{border-bottom-color:var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#f4f6f2db;height:72px;padding:0 48px}.content{max-width:1080px;padding:56px 48px 72px}.eyebrow{color:#879187;letter-spacing:.16em}.welcome{padding-bottom:50px}.welcome h1,.page-title h1,.review-head h1{color:var(--ink);letter-spacing:-.055em;font-size:clamp(34px,4vw,48px)}.welcome h1 span{color:#718d43}.lead{color:var(--muted-ink);line-height:1.65}.primary,.secondary{border-radius:8px;min-height:42px;padding:11px 16px;transition:transform .16s,box-shadow .16s,background .16s}.primary{background:var(--accent);color:var(--accent-ink);box-shadow:0 5px 14px #7e9d432e}.primary:hover{background:#b5d579;transform:translateY(-1px);box-shadow:0 8px 18px #7e9d433d}.secondary{background:var(--surface);border:1px solid var(--line);color:#566158}.secondary:hover{background:#f8faf6;border-color:#c8d4c5;transform:translateY(-1px)}button:active{transform:translateY(1px)scale(.985)}button:focus-visible,input:focus-visible,textarea:focus-visible{outline-offset:2px;outline:3px solid #a7c96b6b}.stats{border-color:var(--line);background:#fff6}.stats>div{border-color:var(--line);padding:22px 22px 20px}.stats strong{color:var(--ink)}.section-head{margin-top:42px}.section-head h2{color:var(--ink);font-size:22px}.text-btn{color:#6f8b48}.phrase-list{border-top-color:var(--line)}.phrase-row{border-bottom-color:var(--line);border-radius:8px;margin:0 -12px;padding:21px 12px;transition:background .18s,transform .18s}.phrase-row:hover{background:#ffffffb8;transform:translate(3px)}.phrase-line p{color:var(--ink);font-size:15px}.dot{background:var(--accent);box-shadow:0 0 0 4px #a7c96b2e}.meaning{color:#7d887e}.meta{color:#98a199}.meta b{background:var(--accent-soft);color:#5d743f}.tip{border-radius:var(--radius);background:#edf3e6;border-color:#dbe6cf;padding:17px 18px}.tip strong{color:var(--ink)}.searchbar{border-color:var(--line);background:var(--surface);border-radius:8px;height:50px;box-shadow:0 3px 12px #1f2d200a}.chip{border-color:var(--line);background:var(--surface);transition:border-color .16s,background .16s,color .16s}.chip:hover{color:var(--ink);border-color:#b9c9ae}.chip.active{background:var(--accent-soft);color:var(--accent-ink);border-color:#c6d99f}.review-card,.settings-card,.essay-text,.markdown-body{border-color:var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:0 12px 30px #2634270f}.review-card{padding:34px 36px 28px}.review-phrase{color:var(--ink)}.reveal{background:#f5f9ed;border-color:#c9d9b6;border-radius:8px}.review-btn{border-radius:8px}.login-page{background:var(--page)}.login-card{border-color:var(--line);background:#ffffffeb;border-radius:14px;box-shadow:0 20px 50px #1f2d2017}.login-card h1{color:var(--ink)}.drawer{background:#fbfcf9;box-shadow:-16px 0 40px #1f2d201f}.drawer input,.drawer textarea,.essay-form input,.essay-form textarea,.login-card input{border-color:var(--line);border-radius:8px}.drawer input:focus,.drawer textarea:focus,.essay-form input:focus,.essay-form textarea:focus,.login-card input:focus{border-color:#9fbd68;box-shadow:0 0 0 3px #a7c96b3d}.tabbar{border-top-color:var(--line);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#f9fbf7f0}@media (width<=700px){.content{padding:34px 18px 100px}.topbar{height:62px;padding:0 18px}.welcome h1{font-size:35px}.stats{background:#ffffff8c}.stats>div{padding:17px 12px}.phrase-row{margin:0 -8px;padding:18px 8px}.review-card{padding:24px 20px 22px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}.memory-indicator{color:#718d43;align-items:center;display:inline-flex}.media-field{border:0;min-width:0;margin:4px 0 20px;padding:0}.media-field legend{color:#6d7067;margin-bottom:9px;font-size:11px}.media-field>p{color:#969f97;margin:9px 0 0;font-size:10px}.media-actions{grid-template-columns:repeat(3,1fr);gap:7px;display:grid}.media-actions button{border:1px solid var(--line);background:var(--surface);color:#5f6b61;min-width:0;min-height:40px;font:inherit;cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:6px;font-size:10px;display:flex}.media-actions button:hover{background:#f7faf4;border-color:#b9c9ae}.media-actions button.recording{color:#a4513e;background:#faece8;border-color:#d89a8b}.media-actions button.recording:before{content:"";background:#bf604a;border-radius:50%;width:6px;height:6px;box-shadow:0 0 0 4px #bf604a1f}.media-list{gap:7px;margin-top:10px;display:grid}.media-item{border:1px solid var(--line);background:#fff;border-radius:8px;grid-template-columns:42px minmax(0,1fr) 32px;align-items:center;gap:9px;min-height:48px;padding:4px 6px 4px 4px;display:grid}.media-item img,.audio-thumb{object-fit:cover;background:#edf2e8;border-radius:6px;width:42px;height:42px}.audio-thumb{color:#6f8b48;place-items:center;display:grid}.media-item>span{text-overflow:ellipsis;white-space:nowrap;color:#5f685f;min-width:0;font-size:11px;overflow:hidden}.media-item .icon-btn{color:#a06b5e;width:30px;height:30px}.drawer-error{color:#a4513e;background:#faece8;border-radius:7px;margin:-7px 0 12px;padding:9px 11px;font-size:11px;line-height:1.45}.memory-details{border:1px solid var(--line);background:#fafbf8;border-radius:8px;margin:0 0 28px;overflow:hidden}.memory-toggle{color:#59675b;width:100%;min-height:46px;font:inherit;cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:center;gap:14px;padding:11px 13px;font-size:11px;display:flex}.memory-toggle>span{align-items:center;gap:7px;display:flex}.memory-summary{color:#8b958c;white-space:nowrap}.memory-summary svg{transition:transform .16s}.memory-details.open .memory-summary svg{transform:rotate(180deg)}.memory-content{border-top:1px solid var(--line);padding:14px}.memory-note{white-space:pre-wrap;color:#505a52;overflow-wrap:anywhere;margin:0 0 14px;font-size:12px;line-height:1.7}.memory-note:last-child{margin-bottom:0}.memory-images{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:12px;display:grid}.memory-images a{aspect-ratio:4/3;border:1px solid var(--line);background:#edf1eb;border-radius:7px;min-width:0;display:block;overflow:hidden}.memory-images img{object-fit:cover;width:100%;height:100%;transition:transform .18s;display:block}.memory-images a:hover img{transform:scale(1.025)}.memory-audio{gap:9px;display:grid}.audio-item{grid-template-columns:minmax(120px,.8fr) minmax(180px,1.2fr);align-items:center;gap:12px;display:grid}.audio-item span{text-overflow:ellipsis;white-space:nowrap;color:#687369;align-items:center;gap:6px;min-width:0;font-size:10px;display:flex;overflow:hidden}.audio-item audio{width:100%;height:34px}.memory-file{color:#637b45;align-items:center;gap:7px;margin-top:8px;font-size:11px;display:flex}@media (width<=700px){.media-actions{grid-template-columns:1fr 1fr}.media-actions button:last-child{grid-column:1/-1}.memory-toggle{flex-direction:column;align-items:flex-start;gap:5px}.memory-summary{white-space:normal}.memory-images{grid-template-columns:repeat(2,minmax(0,1fr))}.audio-item{grid-template-columns:1fr;gap:5px}}html{overflow-x:hidden}body{min-width:0;overflow-x:hidden}.app-shell,.login-page{min-height:100dvh}.phrase-main,.settings-row>div:last-child{min-width:0}.phrase-line p,.meaning,.settings-row p,.review-phrase{overflow-wrap:anywhere}@media (hover:none),(pointer:coarse){button,.chip,.icon-btn,.text-btn{min-height:44px}.phrase-row:hover,.sidebar button:hover,.primary:hover,.secondary:hover,.review-btn:hover{transform:none}.reveal-key,.review-prompt,.review-foot{display:none}.reveal{text-align:center;justify-content:center}}@media (width>=701px) and (width<=1100px){.sidebar{width:88px;padding:24px 12px 18px}.sidebar .brand{justify-content:center;padding:4px 0 28px}.sidebar .brand>span,.profile>div:nth-child(2),.profile>svg,.streak span{display:none}.sidebar nav button>span,.sidebar-bottom button>span{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.profile{justify-content:center;margin-bottom:22px;padding:10px}.sidebar button{justify-content:center;width:100%;min-height:48px;padding:12px 0;position:relative}.sidebar nav em{padding:1px 5px;position:absolute;top:4px;right:4px}.sidebar-bottom button{margin-bottom:10px}.streak{justify-content:center;padding:8px 0}.topbar{height:64px;padding:0 32px}.content{max-width:900px;padding:42px 32px 64px}.welcome{align-items:flex-start;gap:32px;padding-bottom:38px}.welcome-actions{flex-wrap:wrap;justify-content:flex-end;width:min(280px,36%)}.welcome-actions .primary{width:100%}.welcome-actions .secondary{white-space:nowrap;flex:1}.stats>div{padding-inline:16px}.page-title h1,.review-head h1{font-size:38px}.settings-actions{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.settings-actions .secondary{width:100%}.drawer{width:min(520px,100vw - 88px)}}@media (width>=701px) and (width<=860px){.content{padding-inline:26px}.welcome{display:block}.welcome-actions{grid-template-columns:repeat(3,minmax(0,1fr));width:100%;margin-top:26px;display:grid}.welcome-actions .primary{width:auto}.welcome-actions .secondary{min-width:0}.review-head{gap:24px}.review-card{padding:28px}}@media (width<=700px){.reveal-key,.review-prompt,.review-foot{display:none}.reveal{text-align:center;justify-content:center}.topbar{z-index:3;padding-left:max(18px, env(safe-area-inset-left));padding-right:max(18px, env(safe-area-inset-right));position:sticky;top:0}.content{width:100%;padding-left:max(18px, env(safe-area-inset-left));padding-right:max(18px, env(safe-area-inset-right));padding-bottom:calc(104px + env(safe-area-inset-bottom))}.page-title{flex-wrap:wrap}.page-title>div{min-width:0}.page-title .primary{min-height:44px}.welcome-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.welcome-actions .primary{grid-column:1/-1}.welcome-actions button{white-space:nowrap;width:100%;min-width:0;min-height:46px}.stats{grid-template-columns:repeat(3,minmax(0,1fr))}.stats>div{min-width:0}.stats small,.stats span{overflow-wrap:anywhere}.section-head{gap:16px}.section-head>div{min-width:0}.text-btn{flex-shrink:0}.searchbar{min-height:48px}.searchbar input{min-width:0;font-size:16px}.chip-row{overscroll-behavior-inline:contain;scrollbar-width:none;flex-wrap:nowrap;margin-inline:-18px;padding-inline:18px;overflow-x:auto}.chip-row::-webkit-scrollbar{display:none}.chip{flex:none;min-height:38px}.goal-row{margin-inline:0;padding-inline:0}.phrase-row{align-items:flex-start;gap:10px}.row-side{gap:8px}.level{height:auto;min-height:24px}.empty{padding:42px 12px;line-height:1.7}.review-head{gap:18px}.review-progress{flex:0 0 96px;min-width:0}.review-card-top{gap:12px}.review-card-top span{overflow-wrap:anywhere;min-width:0}.review-actions>div{grid-template-columns:repeat(2,minmax(0,1fr))}.review-btn{min-height:58px}.review-foot{text-align:center;line-height:1.5}.settings-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-actions .secondary{white-space:normal;width:100%;min-width:0;line-height:1.35}.settings-row p{line-height:1.6}.overlay{padding-top:env(safe-area-inset-top);align-items:flex-end}.drawer{width:100%;height:auto;max-height:calc(100dvh - env(safe-area-inset-top));padding:22px max(20px, env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));overscroll-behavior:contain;border-radius:14px 14px 0 0;box-shadow:0 -16px 40px #1f2d2029}.drawer-head{z-index:1;background:#fbfcf9;margin:-22px -2px 22px;padding:22px 2px 12px;position:sticky;top:-22px}.drawer-head .icon-btn{width:44px;padding:0}.drawer input,.drawer textarea,.login-card input{font-size:16px}.drawer input{min-height:46px}.drawer textarea{min-height:100px}.tabbar{min-height:64px;padding-left:max(4px, env(safe-area-inset-left));padding-right:max(4px, env(safe-area-inset-right))}.tabbar button{min-width:0;min-height:50px}.tabbar button span{white-space:nowrap}.login-page{padding:max(18px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left))}}@media (width<=420px){.content{padding-top:28px}.page-title{flex-direction:column;margin-bottom:26px}.page-title .primary{width:100%}.welcome h1{font-size:32px}.stats{margin-inline:-18px}.stats>div{padding:15px 9px}.stats strong{font-size:21px}.stats span{line-height:1.35}.review-head{grid-template-columns:minmax(0,1fr) auto;display:grid}.review-head h1{font-size:28px}.review-card{padding:20px 16px}.review-phrase{margin:38px 0 28px;font-size:21px}.review-actions>div{grid-template-columns:1fr}.review-btn.easy{grid-column:auto}.review-btn{width:100%}.settings-actions{grid-template-columns:1fr}.two-col{grid-template-columns:1fr;gap:0}.media-actions{grid-template-columns:1fr}.media-actions button:last-child{grid-column:auto}.memory-images{grid-template-columns:1fr}.tabbar button{font-size:9px}}@media (width<=700px) and (height<=520px) and (orientation:landscape){.drawer{border-radius:0;height:100dvh;max-height:100dvh}.topbar{position:static}.content{padding-top:24px}.tabbar button{min-height:44px}}
