:root{color:#182d28;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--bg:#f4efe4;--surface:#fffdf8;--surface-soft:#ede6d7;--surface-strong:#e4dac6;--ink:#182d28;--ink-soft:#5f6e68;--ink-faint:#8b9792;--brand:#176b58;--brand-dark:#0f4f43;--brand-soft:#d9ebe4;--accent:#df8e49;--accent-soft:#f7e3cb;--danger:#b94e44;--danger-soft:#f6dfdb;--success:#26775e;--success-soft:#dceee7;--line:#182d281f;--shadow:0 16px 40px #322b1e1a;--radius-lg:26px;--radius-md:18px;--radius-sm:12px;background:#e9e2d3;font-family:PingFang SC,HarmonyOS Sans SC,Microsoft YaHei,Noto Sans CJK SC,system-ui,sans-serif}*{box-sizing:border-box}html{background:#e9e2d3;min-width:320px;min-height:100%}body{background:radial-gradient(circle at 12% 8%,#ffffffb3,#0000 26%),linear-gradient(135deg,#d8d0bf 0%,#f0eadf 50%,#d8d0bf 100%);min-width:320px;min-height:100%;margin:0}button,input,textarea,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{color:inherit}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline-offset:2px;outline:3px solid #176b5847}#root{min-height:100dvh}.app-frame{justify-content:center;width:100%;min-height:100dvh;display:flex}.app-surface{background:var(--bg);width:min(100%,560px);min-height:100dvh;position:relative;overflow-x:hidden;box-shadow:0 0 60px #24201714}.page{min-height:100dvh;padding:max(18px, calc(env(safe-area-inset-top) + 12px)) 18px calc(104px + env(safe-area-inset-bottom));animation:.22s both page-in}@keyframes page-in{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}.bottom-nav{z-index:40;width:min(100%,560px);padding:8px 12px calc(8px + env(safe-area-inset-bottom));border-top:1px solid var(--line);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffdf8f0;grid-template-columns:repeat(4,1fr);display:grid;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.nav-item{min-height:52px;color:var(--ink-faint);border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:11px;font-weight:600;transition:color .16s,background .16s,transform .16s;display:flex}.nav-item:active{transform:scale(.96)}.nav-item.is-active{color:var(--brand);background:var(--brand-soft)}.toast{z-index:80;left:50%;bottom:calc(86px + env(safe-area-inset-bottom));color:#fff;background:#0f2c28f0;border-radius:999px;max-width:min(88vw,460px);padding:11px 16px;font-size:13px;animation:.18s both toast-in;position:fixed;transform:translate(-50%);box-shadow:0 10px 30px #0000002e}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,8px)}}.top-bar{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:22px;display:flex}.top-bar-copy{align-items:flex-start;gap:8px;min-width:0;display:flex}.top-bar h1{letter-spacing:-.03em;font-family:Noto Serif SC,Songti SC,STSong,serif;font-size:27px;line-height:1.2}.top-bar p{color:var(--ink-soft);margin-top:6px;font-size:13px}.icon-button{border:1px solid var(--line);background:var(--surface);border-radius:50%;flex:0 0 42px;justify-content:center;align-items:center;width:42px;height:42px;display:inline-flex}.section-head{justify-content:space-between;align-items:flex-end;gap:12px;margin:26px 2px 12px;display:flex}.section-head h2{letter-spacing:-.02em;font-size:18px}.section-head p{color:var(--ink-soft);margin-top:4px;font-size:12px}.card{background:var(--surface);border-radius:var(--radius-md);border:1px solid #4e442f17;box-shadow:0 5px 18px #392e1c0a}.card-pad{padding:18px}.hero-card{border-radius:var(--radius-lg);color:#f9f5ea;box-shadow:var(--shadow);background:radial-gradient(circle at 95% 10%,#e8a45b80,#0000 28%),linear-gradient(145deg,#1b5449 0%,#163f38 48%,#102f2a 100%);padding:22px;position:relative;overflow:hidden}.hero-card:after{content:"";border:1px solid #ffffff2e;border-radius:50%;width:160px;height:160px;position:absolute;bottom:-90px;right:-68px;box-shadow:0 0 0 22px #ffffff0a,0 0 0 48px #ffffff06}.hero-kicker{color:#ffffffa8;letter-spacing:.04em;align-items:center;gap:7px;margin-bottom:12px;font-size:12px;display:flex}.hero-title{letter-spacing:-.03em;font-family:Noto Serif SC,Songti SC,STSong,serif;font-size:28px;line-height:1.25}.hero-sub{color:#ffffffb0;margin-top:8px;font-size:13px;line-height:1.7}.hero-row{z-index:1;justify-content:space-between;align-items:flex-end;gap:16px;margin-top:22px;display:flex;position:relative}.progress-ring{--value:0%;background:conic-gradient(var(--accent) var(--value), #ffffff24 0);border-radius:50%;flex:0 0 82px;place-items:center;width:82px;height:82px;display:grid;position:relative}.progress-ring:before{content:"";background:#1a4940;border-radius:50%;position:absolute;inset:7px}.progress-ring strong{z-index:1;font-size:17px;position:relative}.progress-ring span{z-index:2;color:#ffffff8c;font-size:9px;position:absolute;bottom:15px}.button{background:var(--brand);color:#fff;cursor:pointer;border:0;border-radius:15px;justify-content:center;align-items:center;gap:8px;min-height:48px;padding:0 18px;font-size:14px;font-weight:700;transition:transform .14s,filter .14s;display:inline-flex}.button:active{filter:brightness(.96);transform:scale(.98)}.button:disabled{opacity:.45;cursor:not-allowed}.button.light{color:var(--brand-dark);background:#f5f0e5}.button.ghost{border:1px solid var(--line);color:var(--ink);background:0 0}.button.soft{background:var(--brand-soft);color:var(--brand-dark)}.button.danger{background:var(--danger-soft);color:var(--danger)}.button.small{border-radius:12px;min-height:40px;padding:0 13px;font-size:13px}.button.wide{width:100%}.button-row{flex-wrap:wrap;gap:10px;display:flex}.text-button{color:var(--brand);cursor:pointer;background:0 0;border:0;padding:4px 0;font-size:13px;font-weight:700}.stat-grid{grid-template-columns:repeat(3,1fr);gap:9px;display:grid}.stat-tile{background:var(--surface);border:1px solid var(--line);text-align:center;border-radius:16px;padding:14px 10px}.stat-tile strong{letter-spacing:-.03em;font-size:22px;display:block}.stat-tile span{color:var(--ink-soft);margin-top:4px;font-size:11px;display:block}.plan-list{gap:9px;display:grid}.plan-item{background:var(--surface);border:1px solid #4e442f14;border-radius:18px;align-items:center;gap:13px;min-height:72px;padding:13px 14px;transition:transform .15s;display:flex}.plan-item:active{transform:scale(.985)}.plan-icon{width:43px;height:43px;color:var(--brand);background:var(--brand-soft);border-radius:14px;flex:0 0 43px;place-items:center;display:grid}.plan-icon.warm{color:#9a5726;background:var(--accent-soft)}.plan-copy{flex:1;min-width:0}.plan-copy strong{font-size:14px;display:block}.plan-copy span{color:var(--ink-soft);margin-top:4px;font-size:12px;display:block}.chevron{color:var(--ink-faint)}.notice-card{background:var(--accent-soft);color:#70411c;border:1px solid #b067301f;border-radius:17px;margin-top:14px;padding:15px;font-size:12px;line-height:1.65}.notice-card strong{margin-bottom:4px;font-size:13px;display:block}.segmented{background:var(--surface-soft);border-radius:14px;gap:4px;padding:4px;display:flex}.segmented button{min-height:38px;color:var(--ink-soft);background:0 0;border:0;border-radius:11px;flex:1;font-size:12px;font-weight:700}.segmented button.is-active{background:var(--surface);color:var(--brand-dark);box-shadow:0 4px 12px #28231914}.search-field{background:var(--surface);border:1px solid var(--line);border-radius:15px;align-items:center;gap:9px;min-height:48px;padding:0 14px;display:flex}.search-field input{width:100%;min-width:0;color:var(--ink);background:0 0;border:0;outline:0;font-size:14px}.filter-row{scrollbar-width:none;gap:8px;padding-bottom:3px;display:flex;overflow-x:auto}.filter-row::-webkit-scrollbar{display:none}.chip{border:1px solid var(--line);background:var(--surface);min-height:36px;color:var(--ink-soft);border-radius:999px;flex:none;padding:0 13px;font-size:12px;font-weight:650}.chip.is-active{color:#fff;background:var(--brand);border-color:var(--brand)}.word-list{gap:8px;margin-top:12px;display:grid}.word-row{text-align:left;background:var(--surface);border:1px solid #4e442f14;border-radius:17px;align-items:center;gap:12px;width:100%;min-height:68px;padding:12px 14px;display:flex}.word-main{flex:1;min-width:0}.word-main strong{letter-spacing:-.02em;font-size:16px;display:block}.word-main p{color:var(--ink-soft);white-space:nowrap;text-overflow:ellipsis;margin-top:4px;font-size:12px;overflow:hidden}.word-side{color:var(--ink-faint);text-align:right;font-size:11px}.badge{background:var(--surface-soft);min-height:23px;color:var(--ink-soft);border-radius:999px;align-items:center;gap:4px;padding:0 8px;font-size:10px;font-weight:700;display:inline-flex}.badge.green{background:var(--success-soft);color:var(--success)}.badge.warm{background:var(--accent-soft);color:#94521f}.vocab-stage{flex-direction:column;min-height:calc(100dvh - 190px);display:flex}.vocab-progress{color:var(--ink-soft);align-items:center;gap:10px;font-size:12px;display:flex}.vocab-progress-track{background:var(--surface-strong);border-radius:999px;flex:1;height:7px;overflow:hidden}.vocab-progress-track span{border-radius:inherit;background:linear-gradient(90deg, var(--brand), #4b9a81);height:100%;transition:width .22s;display:block}.word-card{background:linear-gradient(145deg, #ffffffb8, transparent 55%), var(--surface);min-height:360px;box-shadow:var(--shadow);border:1px solid #4e442f17;border-radius:28px;flex-direction:column;flex:1;justify-content:center;margin-top:18px;padding:28px 23px;display:flex}.sprint-word-card{touch-action:pan-y;-webkit-user-select:none;user-select:none;min-height:330px}.sprint-swipe-hint{color:var(--ink-faint);text-align:center;margin-top:20px;font-size:10px}.word-card .eyebrow{color:var(--ink-faint);letter-spacing:.12em;text-transform:uppercase;font-size:11px}.word-display{letter-spacing:-.04em;overflow-wrap:anywhere;margin-top:14px;font-family:Georgia,Times New Roman,serif;font-size:clamp(38px,12vw,56px);line-height:1.08}.phonetic-row{color:var(--ink-soft);align-items:center;gap:12px;margin-top:12px;font-size:14px;display:flex}.pronounce-button{width:38px;height:38px;color:var(--brand);background:var(--brand-soft);border:0;border-radius:50%;place-items:center;display:grid}.word-divider{background:var(--line);height:1px;margin:24px 0}.meaning{font-size:18px;font-weight:650;line-height:1.75}.definition{color:var(--ink-soft);margin-top:12px;font-size:14px;line-height:1.7}.example{color:#354a44;background:#f1ebdd;border-radius:15px;margin-top:18px;padding:14px;font-family:Georgia,Times New Roman,serif;font-size:14px;line-height:1.65}.reveal-hint{color:var(--ink-faint);text-align:center;margin:30px auto 4px;font-size:12px}.rating-grid{grid-template-columns:repeat(3,1fr);gap:9px;margin-top:16px;display:grid}.rating-button{border:1px solid var(--line);background:var(--surface);border-radius:16px;min-height:58px;font-size:13px;font-weight:700}.rating-button span{color:var(--ink-faint);margin-top:3px;font-size:9px;font-weight:500;display:block}.rating-button[data-rating=forgot]{color:var(--danger)}.rating-button[data-rating=fuzzy]{color:#a15b23}.rating-button[data-rating=know]{color:var(--success)}.sheet-backdrop{z-index:60;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0f221e66;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.bottom-sheet{width:min(100%,560px);max-height:82dvh;padding:10px 20px calc(26px + env(safe-area-inset-bottom));background:var(--surface);border-radius:26px 26px 0 0;animation:.22s both sheet-in;overflow:auto}@keyframes sheet-in{0%{opacity:0;transform:translateY(24px)}}.sheet-grabber{background:var(--surface-strong);border-radius:99px;width:42px;height:5px;margin:2px auto 18px}.set-list{gap:11px;display:grid}.set-card{background:var(--surface);border:1px solid #4e442f17;border-radius:20px;padding:17px;display:block;position:relative;overflow:hidden}.set-card:before{content:"";background:var(--brand);opacity:.8;width:4px;position:absolute;top:0;bottom:0;left:0}.set-title{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.set-title strong{font-size:16px}.set-meta{color:var(--ink-soft);margin-top:8px;font-size:12px;line-height:1.6}.set-accuracy{color:var(--ink-faint);justify-content:space-between;align-items:center;gap:8px;margin-top:12px;font-size:11px;display:flex}.group-list{gap:8px;display:grid}.group-row{background:var(--surface);border:1px solid #4e442f14;border-radius:16px;align-items:center;gap:12px;padding:13px 14px;display:flex}.group-number{background:var(--surface-soft);width:36px;height:36px;color:var(--brand);border-radius:12px;flex:0 0 36px;place-items:center;font-size:11px;font-weight:800;display:grid}.group-copy{flex:1;min-width:0}.group-copy strong{font-size:13px;display:block}.group-copy p{color:var(--ink-soft);margin-top:3px;font-size:11px}.sticky-tools{z-index:20;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#f4efe4f0;border-bottom:1px solid #4e442f0f;margin:0 -18px 13px;padding:8px 18px;position:sticky;top:0}.practice-status{color:var(--ink-soft);justify-content:space-between;align-items:center;gap:10px;font-size:12px;display:flex}.timer{font-variant-numeric:tabular-nums;color:var(--brand-dark);font-weight:800}.timer.is-warning{color:var(--danger)}.question-card{background:var(--surface);border:1px solid #4e442f17;border-radius:20px;margin-top:10px;padding:17px}.question-heading{align-items:center;gap:9px;margin-bottom:12px;display:flex}.question-no{background:var(--brand-soft);width:30px;height:30px;color:var(--brand-dark);border-radius:10px;place-items:center;font-size:12px;font-weight:800;display:grid}.question-heading span:last-child{color:var(--ink-faint);font-size:11px}.question-stem{letter-spacing:-.01em;font-family:Georgia,Times New Roman,serif;font-size:17px;line-height:1.55}.option-list{gap:8px;margin-top:15px;display:grid}.option-button{border:1px solid var(--line);background:var(--surface);text-align:left;border-radius:14px;align-items:flex-start;gap:10px;width:100%;min-height:48px;padding:11px 12px;font-size:13px;line-height:1.45;display:flex}.option-key{background:var(--surface-soft);border-radius:8px;flex:0 0 24px;place-items:center;width:24px;height:24px;font-size:11px;font-weight:800;display:grid}.option-button.is-selected{background:var(--brand-soft);border-color:#176b587a}.option-button.is-correct{background:var(--success-soft);border-color:#26775e75}.option-button.is-wrong{background:var(--danger-soft);border-color:#b94e446b}.option-button.is-correct .option-key{background:var(--success);color:#fff}.option-button.is-wrong .option-key{background:var(--danger);color:#fff}.reading-passage{background:var(--surface);border:1px solid #4e442f17;border-radius:20px;padding:17px}.reading-passage h3{margin-bottom:12px;font-family:Noto Serif SC,Songti SC,STSong,serif;font-size:19px}.passage-paragraph{color:#2f413c;margin-top:12px;font-family:Georgia,Times New Roman,serif;font-size:15px;line-height:1.78}.passage-paragraph.translated{color:var(--ink-soft);font-family:inherit;font-size:12px;line-height:1.7}.paragraph-label{background:var(--surface-soft);min-width:24px;height:24px;color:var(--brand);vertical-align:2px;border-radius:8px;justify-content:center;align-items:center;margin-right:5px;font-family:inherit;font-size:10px;font-weight:800;display:inline-flex}.word-bank{background:var(--surface-soft);border-radius:15px;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:12px;padding:12px;font-family:Georgia,Times New Roman,serif;font-size:12px;display:grid}.audio-card{color:#f6f0e5;background:#193f38;border-radius:19px;padding:14px;box-shadow:0 12px 28px #14363029}.audio-meta{justify-content:space-between;align-items:center;gap:10px;display:flex}.audio-title{align-items:center;gap:7px;font-size:12px;font-weight:700;display:flex}.speed-row{gap:4px;display:flex}.speed-chip{color:#ffffff9e;background:0 0;border:1px solid #ffffff26;border-radius:9px;min-width:38px;height:27px;padding:0 7px;font-size:10px}.speed-chip.is-active{color:var(--brand-dark);background:#f1e7d6}.audio-controls{align-items:center;gap:9px;margin-top:13px;display:flex}.audio-main{background:var(--accent);color:#2b1808;border:0;border-radius:50%;flex:0 0 44px;place-items:center;width:44px;height:44px;display:grid}.audio-secondary{color:#ffffffbd;background:0 0;border:1px solid #ffffff21;border-radius:50%;flex:0 0 37px;place-items:center;width:37px;height:37px;display:grid}.audio-track{flex:1;min-width:0}.audio-track input{width:100%;accent-color:var(--accent)}.audio-time{color:#ffffff80;font-variant-numeric:tabular-nums;justify-content:space-between;margin-top:-2px;font-size:9px;display:flex}.audio-fallback{color:#f0bd83;margin-top:8px}.spin{animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.result-hero{color:#f7f2e8;text-align:center;background:radial-gradient(circle at 85% 0,#e8a45b6b,#0000 30%),linear-gradient(145deg,#1b5348,#123a33);border-radius:26px;padding:28px 20px}.result-score{margin:8px 0 2px;font-family:Georgia,Times New Roman,serif;font-size:58px;line-height:1}.result-score small{opacity:.55;font-size:18px}.result-label{color:#ffffff9e;font-size:12px}.result-grid{grid-template-columns:repeat(3,1fr);gap:8px;margin-top:19px;display:grid}.result-grid div{background:#ffffff14;border-radius:13px;padding:10px 6px}.result-grid strong{font-size:17px;display:block}.result-grid span{color:#ffffff8c;margin-top:3px;font-size:9px;display:block}.explanation{color:var(--ink-soft);background:#f4efe5;border-radius:14px;margin-top:12px;padding:12px;font-size:12px;line-height:1.68}.answer-line{align-items:center;gap:8px;margin-top:11px;font-size:12px;display:flex}.answer-line strong{color:var(--success)}.answer-line.is-wrong strong{color:var(--danger)}.note-input{border:1px solid var(--line);background:var(--surface);resize:vertical;border-radius:14px;width:100%;min-height:86px;margin-top:10px;padding:11px 12px;font-size:13px;line-height:1.55}.field{gap:7px;display:grid}.field+.field{margin-top:15px}.field label{color:var(--ink-soft);font-size:12px;font-weight:700}.field input,.field select{border:1px solid var(--line);background:var(--surface);border-radius:14px;width:100%;min-height:48px;padding:0 13px;font-size:14px}.field small{color:var(--ink-faint);font-size:11px;line-height:1.5}.list-card{background:var(--surface);border:1px solid #4e442f17;border-radius:20px;overflow:hidden}.list-row{border:0;border-bottom:1px solid var(--line);text-align:left;background:0 0;align-items:center;gap:12px;width:100%;min-height:58px;padding:12px 15px;display:flex}.list-row:last-child{border-bottom:0}.list-row-main{flex:1;min-width:0}.list-row-main strong{font-size:14px;display:block}.list-row-main span{color:var(--ink-soft);margin-top:3px;font-size:11px;display:block}.profile-head{color:#f8f3e9;background:radial-gradient(circle at 90% 0,#e8a45b59,#0000 32%),#173f38;border-radius:25px;padding:22px}.profile-head h2{font-family:Noto Serif SC,Songti SC,STSong,serif;font-size:24px}.profile-head p{color:#fff9;margin-top:7px;font-size:12px}.sync-line{color:#ffffffad;align-items:center;gap:7px;margin-top:14px;font-size:11px;display:flex}.sync-dot{background:#e8a45b;border-radius:50%;width:7px;height:7px}.sync-dot.synced{background:#87d4b7}.sync-dot.error{background:#f08c80}.chart-card{padding:17px}.bar-chart{align-items:flex-end;gap:8px;height:150px;margin-top:18px;display:flex}.bar-item{flex-direction:column;flex:1;justify-content:flex-end;align-items:center;gap:5px;min-width:0;height:100%;display:flex}.bar-fill{background:linear-gradient(180deg, #4c9b82, var(--brand));border-radius:8px 8px 3px 3px;width:100%;max-width:32px;min-height:4px}.bar-item span{color:var(--ink-faint);font-size:9px}.accuracy-track{background:var(--surface-strong);border-radius:999px;height:8px;overflow:hidden}.accuracy-track span{border-radius:inherit;background:linear-gradient(90deg, var(--brand), #e1a15d);height:100%;display:block}.metric-row{color:var(--ink-soft);justify-content:space-between;gap:12px;margin-top:11px;font-size:12px;display:flex}.empty-state{text-align:center;padding:45px 24px}.empty-icon{width:58px;height:58px;color:var(--brand);background:var(--brand-soft);border-radius:20px;place-items:center;margin:0 auto 14px;display:grid}.empty-state h3{font-size:17px}.empty-state p{max-width:290px;color:var(--ink-soft);margin:8px auto 18px;font-size:12px;line-height:1.7}.loading-screen{min-height:60dvh;color:var(--ink-soft);place-items:center;font-size:13px;display:grid}.skeleton{background:linear-gradient(90deg,#ece5d8 20%,#f7f2e8 50%,#ece5d8 80%) 0 0/200% 100%;border-radius:16px;animation:1.4s linear infinite shimmer}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.source-note{color:var(--ink-faint);margin-top:14px;font-size:10px;line-height:1.6}.divider{background:var(--line);height:1px;margin:16px 0}.hidden{display:none!important}@media (width<=370px){.page{padding-left:14px;padding-right:14px}.hero-card{padding:18px}.hero-title{font-size:24px}.word-bank{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
