:root{--primary: #2979ff;--primary-dark: #1b5fd9;--primary-soft: #eaf2ff;--cyan: #00b8a9;--purple: #7c4dff;--orange: #ff9100;--pink: #ff5b8c;--red: #ff5b5b;--green: #22c55e;--text: #1f2733;--text-2: #5a6577;--text-3: #98a2b3;--bg: #f4f6fb;--card: #ffffff;--line: #edf0f6;--radius: 16px;--radius-sm: 10px;--shadow: 0 4px 16px rgba(23, 43, 77, .05);--shadow-lg: 0 14px 34px rgba(28, 58, 120, .1);--safe-bottom: env(safe-area-inset-bottom, 0px);--tabbar-h: 56px}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{height:100%}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Helvetica Neue,Hiragino Sans GB,Microsoft YaHei,sans-serif;color:var(--text);background:#e7ecf5;background-image:radial-gradient(circle at 0% 0%,#dbe7ff 0,transparent 42%),radial-gradient(circle at 100% 100%,#d9f6f2 0,transparent 40%);-webkit-font-smoothing:antialiased}#app{min-height:100%}.app-shell{position:relative;width:100%;max-width:560px;min-height:100vh;margin:0 auto;background:var(--bg);overflow-x:hidden;box-shadow:0 0 60px #172b4d1a}@media(min-width:600px){.app-shell{margin:24px auto;min-height:calc(100vh - 48px);border-radius:26px;overflow:hidden}}a{color:inherit;text-decoration:none}button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit}input,textarea{font-family:inherit;color:inherit}.page{padding:0 16px calc(24px + var(--safe-bottom))}.page--tab{padding-bottom:calc(var(--tabbar-h) + 26px + var(--safe-bottom))}.flex{display:flex}.col{display:flex;flex-direction:column}.center{display:flex;align-items:center;justify-content:center}.between{display:flex;align-items:center;justify-content:space-between}.items-center{display:flex;align-items:center}.gap-4{gap:4px}.gap-6{gap:6px}.gap-8{gap:8px}.gap-10{gap:10px}.gap-12{gap:12px}.gap-16{gap:16px}.flex-1{flex:1;min-width:0}.mt-8{margin-top:8px}.mt-12{margin-top:12px}.mt-16{margin-top:16px}.mt-20{margin-top:20px}.mb-8{margin-bottom:8px}.mb-12{margin-bottom:12px}.mb-16{margin-bottom:16px}.w-full{width:100%}.t-xs{font-size:11px}.t-sm{font-size:13px}.t-md{font-size:15px}.t-lg{font-size:17px}.t-xl{font-size:20px}.t-2xl{font-size:24px}.t-3xl{font-size:30px}.t-3{color:var(--text-3)}.t-2{color:var(--text-2)}.bold{font-weight:700}.semibold{font-weight:600}.text-primary{color:var(--primary)}.text-orange{color:var(--orange)}.text-red{color:var(--red)}.text-green{color:var(--green)}.text-white{color:#fff}.ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.line-2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.card{background:var(--card);border-radius:var(--radius);padding:14px;box-shadow:var(--shadow)}.card--flat{box-shadow:none;border:1px solid var(--line)}.card--pad-sm{padding:12px}.section{margin-top:16px}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.section-title{position:relative;display:flex;align-items:center;gap:8px;font-size:17px;font-weight:700;letter-spacing:.2px}.section-title:before{content:"";width:4px;height:16px;border-radius:4px;background:var(--primary)}.section-more{display:flex;align-items:center;gap:2px;font-size:12px;color:var(--text-3)}.tag{display:inline-flex;align-items:center;height:20px;padding:0 7px;border-radius:6px;font-size:10px;font-weight:600;line-height:1;white-space:nowrap}.tag--blue{color:var(--primary);background:#eaf2ff}.tag--cyan{color:#009e91;background:#e2f9f6}.tag--purple{color:var(--purple);background:#f0eaff}.tag--pink{color:#db2777;background:#fdf2f8}.tag--orange{color:#e07c00;background:#fff3e0}.tag--green{color:#16a34a;background:#e8f9ef}.tag--red{color:var(--red);background:#ffecec}.tag--gray{color:var(--text-3);background:#f0f2f7}.tag--glass{color:#fff;background:#ffffff38;border:1px solid rgba(255,255,255,.3);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.chip{display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 14px;border-radius:999px;font-size:13px;color:var(--text-2);background:#fff;border:1px solid var(--line);white-space:nowrap;transition:all .18s ease}.chip.active{color:#fff;background:linear-gradient(135deg,#3d86f5,var(--primary));border-color:transparent;box-shadow:0 4px 12px #2979ff2e}.chip--ghost{background:#ffffff2e;border-color:#ffffff52;color:#fff}.chip--ghost.active{background:#fff;color:var(--primary);border-color:#fff;box-shadow:0 6px 14px #172b4d1f}.chip-scroll{display:flex;gap:8px;overflow-x:auto;padding:2px 0 4px;scrollbar-width:none}.chip-scroll::-webkit-scrollbar{display:none}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:44px;padding:0 22px;border-radius:999px;font-size:15px;font-weight:600;transition:transform .15s ease,opacity .15s ease}.btn:active{transform:scale(.97)}.btn-primary{color:#fff;background:linear-gradient(135deg,#3d86f5,var(--primary));box-shadow:0 6px 14px #2979ff2e}.btn-cyan{color:#fff;background:linear-gradient(135deg,#2fd0c2,var(--cyan));box-shadow:0 8px 18px #00b8a93d}.btn-purple{color:#fff;background:linear-gradient(135deg,#9c78ff,var(--purple));box-shadow:0 8px 18px #7c4dff42}.btn-orange{color:#fff;background:linear-gradient(135deg,#ffb03a,#ff8a00);box-shadow:0 8px 18px #ff91003d}.btn-light{color:var(--primary);background:var(--primary-soft)}.btn-outline{color:var(--primary);background:#fff;border:1px solid #cfe0ff}.btn-ghost{color:var(--text-2);background:#f2f4f9}.btn-white{color:var(--primary);background:#fff;box-shadow:0 8px 18px #172b4d1a}.btn-sm{height:32px;padding:0 14px;font-size:12px;font-weight:600}.btn-xs{height:26px;padding:0 10px;font-size:11px}.btn-block{width:100%}.btn[disabled],.btn.disabled{opacity:.45;box-shadow:none;pointer-events:none}.nav-bar{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:8px;height:54px;padding:0 10px;background:#fffffff0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid rgba(237,240,246,.9)}.nav-bar.is-glass{position:relative;background:transparent;border-bottom:none;color:#fff;-webkit-backdrop-filter:none;backdrop-filter:none}.nav-back{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:12px;color:inherit;background:#fff9}.nav-bar.is-glass .nav-back{background:#ffffff2e}.nav-title{position:absolute;left:50%;transform:translate(-50%);max-width:62%;font-size:17px;font-weight:700;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.nav-right{margin-left:auto;display:flex;align-items:center;gap:8px;padding-right:4px;position:relative;z-index:2}.hero{position:relative;margin:6px 12px 0;padding:16px 16px 46px;border-radius:20px;background:linear-gradient(135deg,#4a7fe0,#5b9bf0 55%,#7cc9d9 130%);color:#fff;overflow:hidden;box-shadow:0 12px 26px #2979ff29}.hero:before,.hero:after{content:"";position:absolute;border-radius:50%;background:#ffffff1a;pointer-events:none}.hero:before{width:180px;height:180px;right:-60px;top:-70px}.hero:after{width:110px;height:110px;right:42px;bottom:-74px;background:#ffffff1a}.hero--purple{background:linear-gradient(135deg,#6c3df0,#9a6bff 55%,#ff7eb3 130%);box-shadow:0 16px 32px #7c4dff42}.hero--orange{background:linear-gradient(135deg,#ff8a00,#ffb03a 55%,#ffe08a 130%);box-shadow:0 16px 32px #ff910042}.avatar{display:flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:50%;font-size:18px;font-weight:700;color:#fff;background:linear-gradient(135deg,#ffd36e,#ff9f43);border:2px solid rgba(255,255,255,.65);flex:none}.avatar--sm{width:34px;height:34px;font-size:14px}.avatar--lg{width:66px;height:66px;font-size:26px}.progress{position:relative;height:6px;border-radius:999px;background:#eef2f9;overflow:hidden}.progress__bar{height:100%;border-radius:999px;background:linear-gradient(90deg,#4d8dff,var(--primary));transition:width .4s ease}.progress--cyan .progress__bar{background:linear-gradient(90deg,#31d4c5,var(--cyan))}.progress--purple .progress__bar{background:linear-gradient(90deg,#a58bff,var(--purple))}.progress--orange .progress__bar{background:linear-gradient(90deg,#ffc266,var(--orange))}.progress--white{background:#ffffff3d}.progress--white .progress__bar{background:#fff}.ring{position:relative;display:flex;align-items:center;justify-content:center;border-radius:50%;flex:none}.ring__inner{display:flex;flex-direction:column;align-items:center;justify-content:center;width:76%;height:76%;border-radius:50%;background:#fff}.ring__value{font-size:20px;font-weight:800;line-height:1.1}.ring__label{margin-top:2px;font-size:10px;color:var(--text-3)}.ring--glass .ring__inner{background:#ffffff29;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.ring--glass .ring__value,.ring--glass .ring__label{color:#fff}.stat{flex:1;text-align:center}.stat__num{font-size:17px;font-weight:800;line-height:1.2}.stat__label{margin-top:3px;font-size:11px;color:var(--text-3)}.stat-divider{width:1px;height:26px;background:var(--line)}.module-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.module-tile{position:relative;display:flex;flex-direction:column;gap:8px;padding:12px;border-radius:16px;background:#fff;box-shadow:var(--shadow);overflow:hidden}.module-tile--wide{grid-column:span 2}.module-tile:after{content:"";position:absolute;width:72px;height:72px;right:-26px;top:-30px;border-radius:50%;background:var(--tile-soft, #eaf2ff);opacity:.7}.module-icon{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:11px;font-size:16px;font-weight:800;color:#fff;background:var(--module-gradient, linear-gradient(135deg, #4d8dff, #2979ff));box-shadow:0 6px 12px var(--module-shadow, rgba(41, 121, 255, .2));position:relative;z-index:1}.module-name{font-size:14px;font-weight:700}.module-sub{font-size:10px;color:var(--text-3);margin-top:1px}.module-progress{display:flex;align-items:center;gap:7px;font-size:10px;color:var(--text-3)}.vip-banner{position:relative;display:flex;align-items:center;gap:14px;padding:16px;border-radius:18px;color:#ffe9c2;background:linear-gradient(120deg,#2b2b3c,#43325e 60%,#6a4a8c);overflow:hidden;box-shadow:0 12px 26px #2b2b3c38}.vip-banner:after{content:"";position:absolute;width:120px;height:120px;right:-40px;top:-50px;border-radius:50%;background:radial-gradient(circle,rgba(255,211,110,.35),transparent 70%)}.vip-crown{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:14px;font-size:18px;font-weight:800;color:#6b4516;background:linear-gradient(135deg,#ffe29a,#ffc457);box-shadow:0 8px 18px #ffc4574d;flex:none}.list-item{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--line)}.list-item:last-child{border-bottom:none;padding-bottom:0}.list-item:first-child{padding-top:0}.icon-box{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:11px;font-size:15px;font-weight:700;color:var(--primary);background:var(--primary-soft);flex:none}.icon-box--cyan{color:#009e91;background:#e2f9f6}.icon-box--purple{color:var(--purple);background:#f0eaff}.icon-box--orange{color:#e07c00;background:#fff3e0}.icon-box--pink{color:var(--pink);background:#ffeaf1}.icon-box--gray{color:var(--text-2);background:#f0f2f7}.chevron{color:#c4ccd9;font-size:14px;flex:none}.tabbar{position:fixed;bottom:0;left:50%;transform:translate(-50%);z-index:50;display:flex;width:100%;max-width:560px;height:calc(var(--tabbar-h) + var(--safe-bottom));padding-bottom:var(--safe-bottom);background:#fffffff0;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-top:1px solid rgba(237,240,246,.8)}@media(min-width:600px){.tabbar{position:sticky;bottom:0;border-radius:0 0 26px 26px}}.tabbar__item{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#9aa4b4;font-size:10px;transition:color .2s ease}.tabbar__icon{display:flex;align-items:center;justify-content:center;width:34px;height:22px;border-radius:8px;transition:background .2s ease}.tabbar__item svg{width:20px;height:20px}.tabbar__item.active{color:var(--primary);font-weight:600}.tabbar__item.active .tabbar__icon{background:var(--primary-soft)}.mask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;background:#121a2a75;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.sheet{position:fixed;left:50%;bottom:0;transform:translate(-50%);z-index:90;width:100%;max-width:560px;max-height:82vh;overflow-y:auto;padding:10px 20px calc(20px + var(--safe-bottom));border-radius:24px 24px 0 0;background:#fff;box-shadow:0 -12px 40px #172b4d2e}.sheet__handle{width:38px;height:4px;margin:0 auto 12px;border-radius:4px;background:#e2e7f0}.sheet__title{font-size:18px;font-weight:700;text-align:center;margin-bottom:4px}.sheet__sub{font-size:12px;color:var(--text-3);text-align:center;margin-bottom:16px}.mask-fade-enter-active,.mask-fade-leave-active,.sheet-up-enter-active,.sheet-up-leave-active{transition:all .24s ease}.mask-fade-enter-from,.mask-fade-leave-to{opacity:0}.sheet-up-enter-from,.sheet-up-leave-to{transform:translate(-50%,100%);opacity:.6}.dialog{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:90;width:calc(100% - 64px);max-width:360px;padding:22px 20px 18px;border-radius:20px;background:#fff;box-shadow:var(--shadow-lg);text-align:center}.price{font-weight:800;color:var(--orange)}.price__symbol{font-size:12px;margin-right:1px}.price__unit{font-size:11px;color:var(--text-3);font-weight:400}.price-origin{font-size:11px;color:var(--text-3);text-decoration:line-through}.tabs{position:sticky;top:54px;z-index:20;display:flex;gap:6px;padding:8px 12px;background:#f4f6fbf5;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.tabs__item{position:relative;flex:none;display:flex;align-items:center;gap:4px;height:34px;padding:0 12px;border-radius:999px;font-size:13px;color:var(--text-2);background:#fff;box-shadow:0 2px 8px #172b4d0a}.tabs__item.active{color:#fff;background:var(--module-gradient, linear-gradient(135deg, #3d86f5, #2979ff));box-shadow:0 4px 12px var(--module-shadow, rgba(41, 121, 255, .18));font-weight:600}.flashcard{position:relative;padding:24px 20px;border-radius:22px;background:#fff;box-shadow:0 14px 34px #172b4d14;overflow:hidden}.flashcard:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:var(--module-gradient, linear-gradient(90deg, #4d8dff, #2979ff))}.word{font-size:32px;font-weight:800;letter-spacing:.4px;line-height:1.25;word-break:break-word}.phonetic{margin-top:6px;font-size:13px;color:var(--text-3);font-family:Times New Roman,serif}.example{padding:12px 14px;border-radius:12px;background:#f7f9fd;font-size:13px;line-height:1.7;color:var(--text-2)}.example em{color:var(--primary);font-style:normal;font-weight:700}.article-text{font-size:14px;line-height:1.95;color:#3b4554;white-space:pre-line}.option{display:flex;align-items:flex-start;gap:10px;padding:13px 14px;border-radius:14px;border:1px solid var(--line);background:#fff;transition:all .16s ease;text-align:left;width:100%}.option+.option{margin-top:10px}.option__key{display:flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:8px;font-size:12px;font-weight:700;color:var(--text-2);background:#f2f5fa;flex:none}.option.selected{border-color:#b9d1ff;background:#f5f9ff}.option.selected .option__key{color:#fff;background:var(--primary)}.option.correct{border-color:#b8f0cc;background:#f2fdf6}.option.correct .option__key{color:#fff;background:var(--green)}.option.wrong{border-color:#ffc9c9;background:#fff6f6}.option.wrong .option__key{color:#fff;background:var(--red)}.bar-chart{display:flex;align-items:flex-end;gap:8px;height:132px;padding-top:8px}.bar-col{flex:1;display:flex;flex-direction:column;align-items:center;gap:8px;height:100%;justify-content:flex-end}.bar{width:100%;max-width:26px;border-radius:8px 8px 4px 4px;background:linear-gradient(180deg,#6ea8ff,#2979ff);transition:height .4s ease;min-height:6px}.bar.is-today{background:linear-gradient(180deg,#ffd36e,#ff9f0a)}.bar-label{font-size:10px;color:var(--text-3)}.empty{display:flex;flex-direction:column;align-items:center;padding:36px 20px;gap:10px}.empty__icon{display:flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:50%;font-size:26px;font-weight:800;color:#a9b8cf;background:#eef2f9}.empty__text{font-size:13px;color:var(--text-3);text-align:center}.locked-card{position:relative;overflow:hidden;border-radius:var(--radius);background:#fff;box-shadow:var(--shadow)}.locked-content{filter:blur(5px);opacity:.55;-webkit-user-select:none;user-select:none;pointer-events:none}.lock-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:24px;text-align:center;background:#ffffff8c;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.lock-badge{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:50%;color:#fff;background:linear-gradient(135deg,#ffd36e,#ff9f0a);box-shadow:0 10px 22px #ff9f0a47}.toast{position:fixed;left:50%;top:42%;z-index:200;transform:translate(-50%,-50%);max-width:280px;padding:12px 18px;border-radius:12px;font-size:13px;line-height:1.5;color:#fff;text-align:center;background:#18202ee0;box-shadow:0 10px 26px #0003}.toast-enter-active,.toast-leave-active{transition:opacity .2s ease,transform .2s ease}.toast-enter-from,.toast-leave-to{opacity:0;transform:translate(-50%,-46%)}.fade-enter-active,.fade-leave-active{transition:opacity .18s ease}.fade-enter-from,.fade-leave-to{opacity:0}@keyframes rise{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.rise{animation:rise .35s ease both}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.06)}}.pulse{animation:pulse 1.6s ease-in-out infinite}@keyframes spin{to{transform:rotate(360deg)}}.spinner{width:18px;height:18px;border-radius:50%;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;animation:spin .8s linear infinite}.loading-block{display:flex;align-items:center;justify-content:center;padding:50px 0;color:var(--text-3);font-size:13px;gap:8px}.loading-block .spinner{border-color:#e2e8f2;border-top-color:var(--primary)}.no-scrollbar::-webkit-scrollbar{display:none}
