@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&family=Noto+Sans+SC:wght@400;500;600;700;800;900&display=swap');
:root {--bg:#faf9f7;--surface:#ffffff;--ink:#222126;--muted:#98969b;--muted2:#6c686e;--border:#eeece9;--red:#c80021;--red-dark:#990019;--red-soft:#fff0f1;--r18:18px;--r24:24px;--shadow:0 14px 50px rgba(46,31,31,.035);--font:'DM Sans','Manrope','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;background:var(--bg);color:var(--ink);font-family:var(--font);-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #ffb1bd;outline-offset:3px}::selection{background:#ffdee2;color:#8a0014}
.splash{position:fixed;inset:0;z-index:999;background:#fff;display:flex;align-items:center;justify-content:center;transition:opacity .7s ease,visibility .7s ease}.splash.splash-hide{opacity:0;visibility:hidden;pointer-events:none}.splash-center{width:min(400px,72vw);display:flex;flex-direction:column;align-items:center;gap:23px;animation:splash-in .75s ease both}.splash-center img{width:100%;height:auto;object-fit:contain}.splash-sub{font-size:10px;letter-spacing:.37em;font-weight:800;color:#928a8c}.splash-foot{position:absolute;bottom:7%;font-size:10px;letter-spacing:.18em;color:#b7b0b2;font-weight:700}@keyframes splash-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
.app-shell{display:flex;min-height:100vh}.sidebar{width:260px;flex-shrink:0;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:37px 19px 19px;background:#fff;border-right:1px solid #efedeb}.brand{height:77px;display:flex;align-items:center;gap:9px;padding:0 17px;margin-bottom:29px}.brand-img{width:116px;height:auto}.brand-edition{font-size:11px;letter-spacing:.13em;border-left:1px solid #e7e1e1;padding-left:11px;font-weight:800;margin-top:2px}.dot{color:var(--red)}.sidebar-kicker,.tiny-kicker,.eyebrow{font-size:10px;letter-spacing:.14em;font-weight:800;color:#ada9ad}.sidebar-kicker{padding:0 16px;margin-bottom:14px}.nav-items{display:flex;flex-direction:column;gap:6px}.nav-btn{border:0;background:transparent;border-radius:12px;height:48px;padding:0 15px;display:flex;align-items:center;gap:15px;color:#717077;font-weight:700;font-size:13px;text-align:left;transition:.2s}.nav-btn svg,.bottom-btn svg{width:19px;height:19px;stroke-width:1.8}.nav-btn.active{background:#fff0f2;color:var(--red)}.nav-btn:hover:not(.active){background:#faf8f8;color:#333}.sidebar-space{flex:1}.side-progress{position:relative;overflow:hidden;border-radius:17px;background:#272228;color:#fff;padding:21px 19px 18px;margin-bottom:21px}.side-progress-orb{position:absolute;right:-16px;top:-33px;opacity:.08;font-size:138px;font-weight:900}.side-progress .tiny-kicker{color:#e7b3b9;font-size:9px}.side-progress strong{display:block;margin:20px 0 4px;font-size:19px;font-weight:800}.side-progress>span{color:#c3bdc1;font-size:12px}.side-progress-line{margin:25px 0 11px;background:#50494f;height:5px;border-radius:8px;overflow:hidden}.side-progress-line div{height:100%;width:0;background:#f9415f;transition:width .4s}.side-progress-bottom{display:flex;justify-content:space-between;font-size:10px;color:#ccc3c7}.sidebar-bottom{display:flex;align-items:center;gap:8px;padding:0 12px 2px;font-size:11px;color:#89858b;font-weight:700}.online-dot{width:7px;height:7px;border-radius:50%;background:#37b990;box-shadow:0 0 0 4px #e5faf4}.edition{margin-left:auto;color:#c5c1c4}.work-area{min-width:0;flex:1;display:flex;flex-direction:column}.topbar{height:91px;flex-shrink:0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--border);padding:0 clamp(22px,4.25vw,76px);background:rgba(250,249,247,.96)}.breadcrumb{font-size:12px;font-weight:700;color:#6e6b6f}.breadcrumb span{color:#c3bfc1;padding:0 9px}.top-left,.top-right{display:flex;align-items:center;gap:19px}.top-right{gap:15px}.free-pill{display:flex;align-items:center;gap:9px;background:#f2f0ed;border-radius:30px;padding:11px 14px;font-size:11px;color:#5f5c5e;font-weight:800}.sparkle{color:var(--red)}.language-btn{display:flex;align-items:center;gap:7px;background:transparent;border:0;color:#69666d;font-size:12px;font-weight:800;padding:9px 6px}.globe-icon{font-size:21px;line-height:12px}.avatar{width:33px;height:33px;display:grid;place-items:center;border-radius:50%;font-size:16px;font-weight:800;color:var(--red);background:#fbe5e7}.mobile-mark{display:none}.main{width:min(1380px,100%);padding:40px clamp(22px,4.25vw,76px) 55px;align-self:center;flex:1}.footer{border-top:1px solid var(--border);padding:22px clamp(22px,4.25vw,76px);display:flex;justify-content:space-between;color:#aaa5a9;font-size:10px;gap:15px}.footer a:hover{color:var(--red)}
.page-fade{animation:page-enter .26s ease both}@keyframes page-enter{from{opacity:.2;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.micro{font-size:10px;letter-spacing:.15em;color:var(--red);font-weight:900;text-transform:uppercase}.page-title{font-weight:800;letter-spacing:-.055em;font-size:32px;line-height:1.25;margin:9px 0 7px}.page-desc{font-size:13px;color:#848188;line-height:1.7;margin:0}.heading-row{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:25px}.heading-row h2{font-size:20px;letter-spacing:-.055em;margin:0;font-weight:800}.heading-row .sub{font-size:12px;color:#aaa3a5}.text-btn{border:0;background:transparent;color:var(--red);font-size:12px;font-weight:800;display:inline-flex;align-items:center;gap:6px;padding:8px 0}.text-btn svg{width:15px;height:15px}
.hero{min-height:286px;background:linear-gradient(112deg,#cf0022 0%,#b1001f 68%,#910019 100%);border-radius:25px;padding:37px 45px;overflow:hidden;position:relative;color:#fff;display:flex;align-items:center;margin-bottom:24px}.hero-copy{z-index:1;max-width:62%}.hero-tag{font-size:10px;letter-spacing:.16em;color:#ffd5d9;font-weight:900;display:flex;align-items:center;gap:9px}.hero-tag:before{content:'';width:17px;height:1px;background:#ffd5d9}.hero h1{font-size:clamp(30px,3.65vw,47px);line-height:1.27;letter-spacing:-.065em;font-weight:800;margin:18px 0 13px}.hero p{font-size:13px;color:#ffced6;line-height:1.75;margin:0 0 23px;max-width:390px}.hero-visual{font-family:'Noto Sans SC',sans-serif;position:absolute;font-size:330px;font-weight:900;color:rgba(255,255,255,.075);right:42px;top:-91px;line-height:1.3;transform:rotate(-12deg);pointer-events:none}.hero-art-circle{position:absolute;width:310px;height:310px;border:1px solid rgba(255,255,255,.18);border-radius:50%;right:80px;top:10px}.hero-art-circle:after{content:'';position:absolute;inset:39px;border:1px solid rgba(255,255,255,.10);border-radius:50%}.primary-btn{background:#242024;color:#fff;border:0;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:13px 19px;font-size:12px;font-weight:800;transition:transform .2s,background .2s;min-height:43px}.primary-btn:hover{transform:translateY(-2px);background:#343039}.primary-btn svg,.outline-btn svg{height:17px;width:17px;stroke-width:2.1}.hero .primary-btn{color:var(--red);background:#fff}.hero .primary-btn:hover{background:#fff2f4}.outline-btn{background:transparent;color:#625f64;border:1px solid #e8e4e4;min-height:42px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 15px;font-size:12px;font-weight:800}.outline-btn:hover{border-color:#e0a3aa;color:var(--red);background:#fff8f9}.btn-red{background:var(--red);color:#fff}.btn-red:hover{background:var(--red-dark)}
.stats-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:42px}.stat-card{background:#fff;border:1px solid #f0eeec;border-radius:18px;padding:19px 21px;display:flex;align-items:center;gap:16px;min-width:0}.stat-icon{flex-shrink:0;width:43px;height:43px;display:grid;place-items:center;border-radius:13px;background:#fff0f2;color:var(--red)}.stat-icon.amber{background:#fff7e9;color:#dd9928}.stat-icon.purple{background:#f1edff;color:#8c78c6}.stat-icon svg{width:20px;height:20px;stroke-width:1.8}.stat-card .number{font-size:23px;letter-spacing:-.05em;font-weight:900;white-space:nowrap}.stat-card .label{font-size:10px;color:#9c979c;margin-top:3px;font-weight:700}.level-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:42px}.level-card{background:#fff;border:1px solid #f0edeb;border-radius:21px;min-height:206px;text-align:left;padding:23px 22px 20px;position:relative;overflow:hidden;transition:transform .2s,border-color .2s,box-shadow .2s;display:flex;flex-direction:column;align-items:stretch}.level-card:hover{transform:translateY(-3px);border-color:#f1b8c1;box-shadow:var(--shadow)}.level-card-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.level-chip{font-weight:900;font-size:10px;letter-spacing:.07em;padding:8px 10px;border-radius:7px;background:#f8f6f3;color:#827d7b}.level-number{font-size:13px;font-weight:700;color:#cec7c9}.level-card .han{font-family:'Noto Sans SC',sans-serif;font-weight:800;font-size:50px;letter-spacing:-.07em;line-height:1;margin:19px 0 9px}.level-card .eng{font-size:11px;color:#8d8a8d;font-weight:700}.level-card-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:25px;font-size:10px;font-weight:700;color:#aaa4a8}.level-progress-track{margin-top:10px;height:5px;border-radius:12px;background:#f1efee;overflow:hidden}.level-progress-track>div{height:100%;border-radius:12px;background:var(--red)}.level-card:nth-child(2) .han{color:#bd6b53}.level-card:nth-child(3) .han{color:#8a759f}.level-card:nth-child(4) .han{color:#5a8779}.level-card:nth-child(5) .han{color:#86764c}.level-card:nth-child(6) .han{color:#b94d68}.level-card:nth-child(1) .han{color:var(--red)}.level-card .arrow-corner{position:absolute;right:20px;top:63px;color:#d5ced1;transform:rotate(-45deg)}.level-card .arrow-corner svg{width:19px;height:19px}.tip-card{border:1px solid #eee9e6;background:#f4f1ec;border-radius:18px;padding:22px 25px;display:flex;align-items:center;gap:18px}.tip-icon{width:42px;height:42px;flex-shrink:0;background:#fff;display:grid;place-items:center;border-radius:13px;color:var(--red)}.tip-icon svg{width:20px;height:20px}.tip-card strong{font-size:13px}.tip-card p{font-size:12px;color:#8e888b;line-height:1.6;margin:6px 0 0}
.page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin:0 0 29px}.head-tools{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.select{height:43px;border:1px solid #eae7e5;border-radius:11px;padding:0 34px 0 13px;background:#fff;color:#5d585f;font-size:12px;font-weight:800;outline:none}.study-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(250px,.86fr);gap:22px}.study-left{min-width:0}.study-top-meta{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;color:#a39da0;font-size:12px;font-weight:800}.study-track{height:6px;background:#eeebe9;border-radius:10px;overflow:hidden;margin-bottom:20px}.study-track div{height:100%;background:linear-gradient(90deg,var(--red),#ec5f73);border-radius:10px;transition:width .2s}.flash-card{background:#fff;border:1px solid #eeeae9;border-radius:26px;min-height:493px;padding:25px 31px;display:flex;flex-direction:column;position:relative;box-shadow:var(--shadow)}.flash-tools{display:flex;justify-content:space-between;align-items:center}.flash-chip{font-size:10px;letter-spacing:.09em;font-weight:900;color:var(--red);background:#fff1f3;border-radius:30px;padding:9px 13px}.icon-btn{border:0;background:transparent;display:grid;place-items:center;color:#aca5a8;width:38px;height:38px;border-radius:10px}.icon-btn:hover{background:#f8f4f4;color:var(--red)}.icon-btn.on{color:var(--red)}.icon-btn svg{width:20px;height:20px}.word-main{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1;min-height:218px}.word-hanzi{font-family:'Noto Sans SC',sans-serif;font-size:clamp(65px,7.6vw,106px);line-height:1.27;letter-spacing:.035em;overflow-wrap:anywhere;font-weight:800;color:#211d21;margin:15px 0 0}.word-hanzi.long{font-size:clamp(38px,5vw,65px)}.word-pinyin{font-size:19px;letter-spacing:.01em;color:#bb6d75;font-weight:700;margin:13px 0 12px}.word-meaning{font-size:13px;color:#777177;font-weight:600;line-height:1.55;max-width:430px;margin:0 auto}.audio-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;color:var(--red);font-weight:800;font-size:12px;padding:11px 17px;border-radius:30px;border:1px solid #fad0d6;background:#fff6f7;margin:20px 0 16px}.audio-btn svg{width:18px;height:18px;stroke-width:2}.audio-btn:hover{background:#ffecef}.divider-soft{height:1px;background:#f2efed;width:100%}.sentence-box{margin-top:21px}.sentence-label{display:flex;justify-content:space-between;align-items:center;font-size:10px;font-weight:900;letter-spacing:.13em;color:#aaa2a4;margin-bottom:12px}.sentence-row{display:flex;align-items:flex-start;gap:14px}.sentence-zh{font-size:17px;line-height:1.65;font-family:'Noto Sans SC',sans-serif;font-weight:600}.sentence-py{color:#b18386;font-size:12px;line-height:1.6;margin-top:4px}.sentence-en{font-size:11px;color:#989296;margin-top:4px;line-height:1.4}.sentence-speaker{border:0;background:#f8f5f5;color:var(--red);border-radius:10px;width:37px;height:37px;flex-shrink:0;display:grid;place-items:center;margin-left:auto}.sentence-speaker svg{width:17px;height:17px}.study-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:17px}.study-actions>div{display:flex;gap:10px}.study-actions button{min-height:44px}.study-actions .primary-btn{min-width:156px}.meta-small{font-size:11px;color:#99939a}.study-right{min-width:0;display:flex;flex-direction:column;gap:16px}.panel{background:#fff;border:1px solid #eeeae9;border-radius:20px;padding:23px}.panel h3{font-size:15px;letter-spacing:-.035em;margin:0 0 18px}.panel-sub{font-size:12px;color:#9a9699;line-height:1.7}.progress-big-number{font-size:40px;font-weight:900;line-height:1.2;letter-spacing:-.065em;margin-bottom:5px}.progress-big-number span{color:#bcb5b9;font-size:16px}.mini-track{height:8px;background:#f2eeec;border-radius:9px;overflow:hidden;margin-top:20px}.mini-track div{height:100%;border-radius:9px;background:var(--red)}.study-side-row{display:flex;justify-content:space-between;font-size:11px;color:#9a9699;margin-top:12px}.daily-quote{background:#f8f4f1}.daily-quote .brush{color:var(--red);font-size:46px;line-height:1;font-family:serif}.daily-quote strong{font-size:18px;color:#332a2c;display:block;line-height:1.6;margin:4px 0 6px}.daily-quote p{font-size:12px;color:#979092;margin:0}.help-note{background:transparent;border:1px dashed #ddd7d4;border-radius:17px;padding:18px;font-size:12px;color:#999398;line-height:1.75}.keycap{display:inline-block;border:1px solid #e5e0df;border-bottom-width:2px;border-radius:5px;font-size:10px;padding:0 5px;color:#777}
.library-bar{display:flex;gap:12px;flex-wrap:wrap;align-items:center;justify-content:space-between;margin:0 0 20px}.search-wrap{height:45px;min-width:0;display:flex;align-items:center;gap:12px;border-radius:12px;background:#fff;border:1px solid #ebe8e7;padding:0 16px;flex:1;max-width:470px}.search-wrap svg{width:18px;height:18px;color:#a7a2a6}.search-wrap input{width:100%;border:0;background:transparent;outline:0;color:#373238;font-size:12px}.search-wrap input::placeholder{color:#b0aaae}.pill-set{display:flex;gap:7px;flex-wrap:wrap}.filter-pill{background:#fff;border:1px solid #eeeae9;color:#827d81;border-radius:9px;padding:11px 14px;font-size:11px;font-weight:800}.filter-pill.on{background:#242126;border-color:#242126;color:#fff}.results-info{display:flex;justify-content:space-between;align-items:center;margin:0 0 12px;color:#9c979a;font-size:12px;font-weight:700}.word-list{background:#fff;border:1px solid #eeeae9;border-radius:21px;overflow:hidden}.word-row{padding:14px 20px;display:grid;grid-template-columns:54px minmax(135px,1.15fr) minmax(120px,1fr) auto;gap:18px;align-items:center;border-bottom:1px solid #f3f0ee;min-height:76px}.word-row:last-child{border:0}.word-num{color:#c8c1c4;font-size:11px;font-weight:700}.word-row-zh{font-size:20px;font-family:'Noto Sans SC',sans-serif;font-weight:750;line-height:1.3}.word-row-py{display:block;font-family:var(--font);font-size:11px;color:#b88288;font-weight:600;margin-top:5px}.word-row-meaning{font-size:11px;color:#9b9498;line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.word-row-actions{display:flex;align-items:center;gap:6px}.list-level{font-size:9px;padding:6px 8px;border-radius:6px;color:#b64d60;background:#fff0f2;font-weight:900}.word-row-actions button{width:33px;height:33px;border:0;background:#faf8f7;color:#a8a0a3;border-radius:9px;display:grid;place-items:center}.word-row-actions button:hover{background:#fff0f2;color:var(--red)}.word-row-actions svg{width:16px;height:16px}.word-row-actions .is-learned{background:#e7f7f0;color:#31a67c}.pagination{display:flex;align-items:center;justify-content:center;gap:13px;margin-top:21px}.pagination span{color:#928b8f;font-size:12px}.empty-state{display:flex;flex-direction:column;align-items:center;gap:13px;padding:60px 20px;text-align:center;color:#aca5a8}.empty-state strong{font-size:17px;color:#3e393d}.empty-state svg{width:40px;height:40px;color:#d2b7bc}
.progress-top{display:grid;grid-template-columns:1.2fr .8fr;gap:18px;margin:24px 0 25px}.big-metric{border-radius:23px;padding:28px 32px;background:#292429;color:#fff;position:relative;overflow:hidden}.big-metric:after{content:'习';position:absolute;right:25px;bottom:-85px;font-size:210px;color:#ffffff08;font-weight:900}.big-metric .micro{color:#ffb9c4}.big-metric .big{font-size:64px;font-weight:900;letter-spacing:-.075em;margin:17px 0 3px;line-height:1.1}.big-metric .big span{font-size:20px;color:#b1a5ab;font-weight:500}.big-metric p{font-size:12px;color:#c5b9c0;line-height:1.6;max-width:270px}.progress-companion{border-radius:23px;border:1px solid #f0ece8;background:#fff;padding:29px}.progress-companion .big{font-size:56px;font-weight:900;letter-spacing:-.075em;margin:20px 0 3px}.progress-companion .big span{font-size:16px;color:#aaa3a8}.progress-bars{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-bottom:25px}.progress-bar-card{padding:20px 20px 17px;background:#fff;border:1px solid #eeeae9;border-radius:18px}.progress-bar-card .top{display:flex;justify-content:space-between;font-size:12px;font-weight:900}.progress-bar-card .top span:last-child{color:#a69fa4;font-weight:700}.progress-bar-card .track{height:7px;background:#f1eded;border-radius:6px;overflow:hidden;margin:17px 0 9px}.progress-bar-card .track>div{height:100%;background:var(--red);border-radius:6px}.progress-bar-card small{color:#aaa5a7;font-size:10px}.backup-panel{display:flex;justify-content:space-between;align-items:center;gap:24px;background:#f1eeea;border-radius:19px;padding:24px 25px;margin:20px 0}.backup-panel strong{font-size:14px}.backup-panel p{margin:7px 0 0;color:#928d8e;font-size:12px;line-height:1.55}.backup-actions{display:flex;gap:9px;flex-wrap:wrap}.reset-btn{color:#bb7681;background:transparent;border:0;font-size:11px;margin:8px 0 0;cursor:pointer}
.loading-strip{margin-bottom:24px;border:1px solid #f3e9cc;background:#fffaf0;padding:12px 16px;border-radius:12px;display:flex;align-items:center;gap:11px;color:#947f56;font-size:12px;line-height:1.5}.loading-strip svg{width:16px;height:16px;flex-shrink:0}.loading-strip.loaded{background:#f0f9f4;color:#558c6c;border-color:#d5f0df}.loading-strip.warn{background:#fff6f3;color:#a46f66;border-color:#f5e0d9}.toast{position:fixed;z-index:1001;bottom:29px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#292528;color:#fff;border-radius:13px;padding:13px 19px;font-size:12px;font-weight:700;transition:transform .25s,opacity .25s;box-shadow:0 12px 35px #1c152233;max-width:calc(100vw - 30px);text-align:center}.toast.visible{opacity:1;transform:translate(-50%,0)}.bottom-nav{display:none}
@media(max-width:1150px){.sidebar{width:225px;padding-left:13px;padding-right:13px}.brand{padding:0 10px}.brand-img{width:100px}.hero h1{font-size:37px}.hero-visual{font-size:290px;right:-17px}.study-layout{grid-template-columns:minmax(0,1.6fr) minmax(220px,.8fr)}.main{padding-left:28px;padding-right:28px}.topbar{padding-left:28px;padding-right:28px}}
@media(max-width:930px){.sidebar{width:200px}.side-progress{padding:18px 13px}.level-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-card{padding:15px 12px;gap:9px}.stat-icon{width:37px;height:37px}.stat-card .number{font-size:20px}.study-layout{grid-template-columns:1fr}.study-right{display:grid;grid-template-columns:1fr 1fr}.study-right>.help-note{grid-column:1/-1}.hero{padding:32px 35px}}
@media(max-width:700px){body{background:#faf9f7}.sidebar{display:none}.topbar{height:68px;padding:0 20px}.mobile-mark{display:inline;font-size:27px;letter-spacing:-.12em;font-weight:950;color:var(--red)}.mobile-mark span{font-size:18px}.breadcrumb{font-size:11px}.top-left{gap:13px}.top-right{gap:8px}.free-pill{font-size:0;padding:9px 10px}.free-pill .sparkle{font-size:13px}.language-btn{font-size:11px}.language-btn .globe-icon{display:none}.avatar{width:30px;height:30px}.main{padding:22px 17px 92px}.footer{display:none}.bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:100;display:flex;justify-content:space-around;background:rgba(255,255,255,.97);border-top:1px solid #eee7e8;padding:10px 8px calc(10px + env(safe-area-inset-bottom));box-shadow:0 -6px 20px #2b1d2609}.bottom-btn{background:transparent;border:0;color:#a7a1a5;display:flex;flex-direction:column;align-items:center;gap:4px;min-width:65px;font-size:10px;font-weight:700}.bottom-btn svg{width:21px;height:21px}.bottom-btn.active{color:var(--red)}.bottom-btn small{font-size:9px;font-weight:800}.hero{min-height:257px;padding:29px 27px;border-radius:21px}.hero-copy{max-width:100%}.hero h1{font-size:32px;max-width:310px}.hero p{max-width:255px;font-size:11px;margin-bottom:18px}.hero-art-circle{right:-115px;opacity:.55}.hero-visual{right:-80px;font-size:240px;top:-22px}.stats-row{gap:9px;margin-bottom:33px}.stat-card{padding:15px 12px;display:block;text-align:center}.stat-icon{margin:0 auto 10px;width:35px;height:35px}.stat-card .number{font-size:22px}.stat-card .label{font-size:9px}.level-grid{gap:11px;margin-bottom:31px}.level-card{min-height:191px;padding:17px}.level-card .han{font-size:43px}.level-card-bottom{padding-top:20px}.heading-row h2{font-size:18px}.page-title{font-size:27px}.page-head{align-items:flex-start;flex-direction:column;gap:16px;margin-bottom:23px}.head-tools{width:100%}.select{flex:1;min-width:0}.flash-card{padding:20px;min-height:445px;border-radius:22px}.word-main{min-height:207px}.word-hanzi{font-size:78px}.word-hanzi.long{font-size:43px}.word-pinyin{font-size:18px}.sentence-zh{font-size:16px}.study-actions .primary-btn{min-width:0}.study-actions button{padding-left:12px;padding-right:12px;font-size:11px}.study-right{grid-template-columns:1fr}.study-right>.help-note{display:none}.library-bar{display:block}.search-wrap{max-width:none}.pill-set{margin-top:11px}.filter-pill{padding:10px 12px}.word-row{padding:13px 12px;grid-template-columns:25px minmax(95px,1fr) auto;gap:9px}.word-row-meaning{display:none}.word-row-zh{font-size:19px}.word-row-actions{gap:3px}.list-level{display:none}.word-row-actions button{width:31px;height:31px}.progress-top{grid-template-columns:1fr}.progress-bars{gap:10px}.progress-bar-card{padding:16px 13px}.backup-panel{align-items:flex-start;flex-direction:column}.tip-card{padding:19px 17px}.splash-center{width:min(290px,70vw)}.toast{bottom:calc(85px + env(safe-area-inset-bottom))}}
@media(max-width:375px){.top-right{gap:5px}.breadcrumb{font-size:10px}.hero h1{font-size:29px}.hero p{font-size:10px}.stats-row{gap:6px}.stat-icon{width:31px;height:31px}.stat-card .number{font-size:20px}.level-card .han{font-size:38px}.study-actions .outline-btn{font-size:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important}}
/* Access gate and language menu */
.language-menu{position:absolute;right:48px;top:69px;background:#fff;z-index:120;border:1px solid #f0e9e6;border-radius:14px;padding:7px;box-shadow:0 14px 46px #3121261c;min-width:162px;display:flex;flex-direction:column;gap:3px}
.language-menu button{border:0;background:transparent;text-align:left;border-radius:9px;padding:11px 12px;display:flex;align-items:center;gap:12px;white-space:nowrap;font-size:12px;font-weight:800;color:#696368}.language-menu button:hover,.language-menu button.selected{background:#fff1f3;color:#b00020}.language-menu button svg{margin-left:auto;width:15px;height:15px}
.password-overlay{position:fixed;inset:0;z-index:500;background:rgba(34,24,27,.48);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);display:grid;place-items:center;padding:22px;overflow-y:auto;animation:page-enter .25s ease}.password-card{width:min(100%,450px);background:#fff;border-radius:25px;box-shadow:0 30px 110px #19040940;padding:43px 44px 27px;text-align:center}.password-icon{height:54px;width:54px;background:#fff1f3;color:var(--red);display:grid;place-items:center;border-radius:16px;margin:0 auto 24px}.password-icon svg{width:26px;height:26px}.password-logo{width:166px;max-width:90%;margin:auto;display:block}.password-kicker{font-size:10px;letter-spacing:.19em;color:#ba9fa5;font-weight:800;margin:12px 0 31px}.password-card h2{font-size:23px;letter-spacing:-.04em;line-height:1.35;margin:0 0 10px}.password-card p{font-size:12px;color:#999198;line-height:1.75;max-width:300px;margin:0 auto 26px}.password-card label{display:block;text-align:left;font-size:11px;color:#615b5f;font-weight:800;margin:0 0 9px}.code-input{display:flex;align-items:center;border:1px solid #eae6e4;border-radius:12px;height:49px;padding:0 13px;background:#fcfbfa}.code-input:focus-within{border-color:#df6278}.code-input input{flex:1;min-width:0;background:transparent;border:0;outline:0;font-size:16px;letter-spacing:.2em;color:#333}.code-input button{border:0;background:transparent;color:#a9a0a5;padding:7px;display:grid;place-items:center}.code-input button svg{width:17px;height:17px}.code-input input.wrong{animation:shake .35s}@keyframes shake{0%,100%{transform:translateX(0)}25%{transform:translateX(-6px)}75%{transform:translateX(6px)}}.gate-error{color:var(--red);font-size:11px;min-height:23px;text-align:left;padding:6px 0}.password-card form .primary-btn{display:flex;width:100%;margin-top:5px;height:49px}.password-foot{display:flex;gap:7px;align-items:center;justify-content:center;margin:24px 0 10px;color:#898187;font-size:11px}.password-foot svg{width:15px;height:15px;color:#41a38f}.gate-back{border:0;background:transparent;color:#aaa3a7;font-size:11px;display:inline-flex;align-items:center;gap:7px;padding:9px}.gate-back svg{width:14px;height:14px}.example-disclaimer{color:#c1aaac;font-size:9px;line-height:1.45;margin-top:6px;font-style:italic}.backup-panel p svg{width:13px;height:13px;vertical-align:-3px;margin-right:5px}.reset-btn{display:flex;align-items:center;gap:7px}.reset-btn svg{width:14px;height:14px}
@media(max-width:700px){.language-menu{right:20px;top:58px}.password-card{padding:35px 25px 22px}.password-card h2{font-size:21px}}
