:root{color-scheme:dark;--bg-deep: #031512;--bg-mid: #082821;--bg-glow: #0d3d32;--surface: rgba(255, 255, 255, .035);--surface-hover: rgba(255, 255, 255, .075);--border-subtle: rgba(134, 212, 190, .14);--border-strong: rgba(134, 212, 190, .28);--text-bright: #f4faf8;--text-normal: #c7ddd6;--text-muted: #6f948a;--text-dim: #4f7067;--mint: #34d399;--mint-bright: #5eead4;--mint-soft: rgba(52, 211, 153, .16);--sky-glow: rgba(56, 189, 248, .45);--err-bg: rgba(239, 68, 68, .78);--err-border: #f87171;--font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;--font-mono: "SF Mono", ui-monospace, "Cascadia Mono", "Menlo", monospace}*,*:before,*:after{box-sizing:border-box}html,body,#root{height:100%;margin:0;padding:0;background-color:var(--bg-deep);color:var(--text-bright);font-family:var(--font-sans);-webkit-font-smoothing:antialiased;-webkit-user-select:none;user-select:none}button,input,textarea{font-family:inherit}.app-root{min-height:100%;height:100%;display:flex;flex-direction:column;background:radial-gradient(ellipse 75% 55% at 50% 18%,rgba(16,85,68,.58) 0%,transparent 72%),radial-gradient(ellipse 60% 45% at 80% 85%,rgba(10,56,48,.42) 0%,transparent 70%),linear-gradient(180deg,#06221c,#041915 55%,#03120f)}.app-frame{flex:1;display:flex;flex-direction:column;width:100%;max-width:1200px;margin:0 auto;min-height:0;position:relative}.practice-layout{flex:1;display:flex;flex-direction:column;min-height:0;position:relative}.top-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 28px 14px;border-bottom:1px solid var(--border-subtle);flex-shrink:0}.top-controls{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:6px}.top-lesson-title{font-size:14px;font-weight:500;color:var(--text-normal);margin-right:10px;letter-spacing:.04em}.top-episode-trigger{display:inline-flex;align-items:center;gap:6px;padding:5px 11px;margin-right:6px;border-radius:999px;border:1px solid rgba(94,234,212,.28);background:#34d3991a;color:var(--text-bright);font-size:13px;font-weight:500;cursor:pointer;transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease}.top-episode-trigger:hover{background:#34d3992e;border-color:#5eead48c;box-shadow:0 0 14px #34d39938}.episode-trigger-icon{color:var(--mint-bright)}.episode-trigger-chevron{color:var(--text-muted)}.top-btn{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--text-muted);font-size:13px;cursor:pointer;transition:color .15s ease,background-color .15s ease,border-color .15s ease}.top-btn:hover{color:var(--text-bright);background:var(--surface-hover)}.top-btn.is-active{color:var(--text-normal)}.top-btn.is-active-accent{color:var(--mint-bright);background:var(--mint-soft);border-color:#34d39959}.top-back{padding-left:6px;color:var(--text-normal)}.top-switch-wrap{display:inline-flex;align-items:center;gap:7px;padding:4px 8px;font-size:13px;color:var(--text-muted);cursor:pointer}.pill-switch{width:34px;height:19px;border-radius:999px;border:none;padding:2px;background:#94b8ae47;cursor:pointer;display:inline-flex;align-items:center;transition:background-color .18s ease}.pill-switch.is-on{background:var(--mint)}.pill-switch-thumb{width:15px;height:15px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0000004d;transform:translate(0);transition:transform .18s cubic-bezier(.22,1,.36,1)}.pill-switch.is-on .pill-switch-thumb{transform:translate(15px)}.ime-toast{position:absolute;top:66px;left:50%;transform:translate(-50%);z-index:30;padding:8px 16px;border-radius:999px;background:#f59e0b29;border:1px solid rgba(251,191,36,.45);color:#fde68a;font-size:13px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:0 8px 24px #00000059;pointer-events:none}.practice-main{flex:1;display:flex;flex-direction:column;justify-content:space-between;min-height:0;padding:18px 28px 10px;gap:14px}.typing-stage{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;justify-content:flex-start;padding:16px;border-bottom:1px solid var(--border-subtle);scrollbar-width:thin;scrollbar-color:rgba(110,231,183,.2) transparent}.typing-content{width:100%;max-width:960px;margin:auto;display:flex;flex-direction:column;gap:24px}.typing-line{display:flex;flex-wrap:wrap;align-items:flex-end;gap:14px 18px}.typing-line-title{margin-bottom:10px}.typing-line-keys{justify-content:center;gap:12px}.hanzi-cell{display:inline-flex;flex-direction:column;align-items:center;min-width:56px;position:relative;transition:transform .12s ease}.hanzi-cell.has-group-gap{margin-right:34px}.pinyin-row{font-family:var(--font-mono);font-size:20px;line-height:1.3;letter-spacing:.02em;margin-bottom:6px;min-height:26px;display:inline-flex;align-items:center;justify-content:center}.pinyin-row.is-hidden{opacity:0}.py-ch{display:inline-block;padding:0 1px;border-radius:4px;transition:color .1s ease,background-color .1s ease}.py-done{color:var(--mint)}.py-active{color:#fff;background:#34d39938;box-shadow:inset 0 -2px 0 var(--mint-bright)}.py-error{color:#fff;background:var(--err-bg);animation:shake-x .24s ease}.py-rest{color:#b7d0c9}.py-upcoming{color:var(--text-dim)}.hanzi-char{font-size:44px;line-height:1.15;font-weight:500;transition:color .14s ease,text-shadow .14s ease}.hanzi-cell.is-done .hanzi-char{color:#fff}.hanzi-cell.is-current .hanzi-char{color:#cde6de;text-shadow:0 0 18px rgba(94,234,212,.24)}.hanzi-cell.is-upcoming .hanzi-char{color:#607d75}.dictation-mask{display:inline-flex;align-items:center;justify-content:center;width:46px;height:48px;border-radius:10px;font-size:26px}.dictation-mask.mask-current{background:#34d39924;border:1px dashed rgba(94,234,212,.5);color:var(--mint-bright)}.dictation-mask.mask-error{background:#ef444438;border:1px solid var(--err-border);color:#fecaca;animation:shake-x .24s ease}.dictation-mask.mask-upcoming{color:var(--text-dim)}.key-token{display:inline-flex;align-items:center;justify-content:center;border-radius:12px;border:1px solid var(--border-subtle);background:#ffffff06;transition:all .14s ease}.key-token-single{width:52px;height:58px;font-family:var(--font-mono);font-size:26px;font-weight:600}.key-token-word{padding:12px 20px;font-family:var(--font-mono);font-size:28px;font-weight:500;letter-spacing:.06em}.key-token.has-group-gap{margin-right:18px}.key-token.is-done{color:var(--mint);border-color:#34d39957;background:#34d3991a}.key-token.is-current{color:#fff;border-color:var(--mint-bright);background:#34d3992e;box-shadow:0 0 18px #34d39940;transform:translateY(-2px)}.key-token.is-current.is-error{border-color:var(--err-border);background:#ef444442;box-shadow:0 0 18px #ef444452}.key-token.is-upcoming{color:var(--text-dim)}.word-letters{display:inline-flex;align-items:center}.word-ch{display:inline-block;padding:0 1px;border-radius:4px}.shake-hit{display:inline-block;animation:shake-x .24s ease}@keyframes shake-x{0%,to{transform:translate(0)}25%{transform:translate(-3px)}65%{transform:translate(3px)}}.keyboard-section{display:flex;flex-direction:column;align-items:center;gap:8px;flex-shrink:0;padding-top:4px}.keyboard-shell{position:relative;width:100%;max-width:640px;aspect-ratio:2.72 / 1;padding:10px;border-radius:14px;background:#ffffff0b;border:1px solid rgba(154,214,198,.16);box-shadow:inset 0 1px #ffffff12,0 12px 32px #00000052;overflow:hidden}.keyboard-grid{width:100%;height:100%;display:flex;flex-direction:column;gap:5px;position:relative;z-index:1}.keyboard-row{flex:1;display:flex;gap:5px}.kb-key{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:6px;background:#ffffff08;border:1px solid rgba(164,212,198,.12);color:#b4d6cc7a;font-size:13px;font-weight:500;transition:background-color .12s ease,border-color .12s ease,color .12s ease,box-shadow .12s ease,transform 80ms ease}.kb-key.key-modifier{font-size:10px;color:#9ac2b861}.kb-key.align-left{align-items:flex-start;padding-left:7px}.kb-key.align-right{align-items:flex-end;padding-right:7px}.kb-sub{font-size:8px;line-height:1;opacity:.65;margin-bottom:1px}.kb-main{line-height:1}.kb-bump{position:absolute;bottom:4px;left:50%;transform:translate(-50%);width:10px;height:2px;border-radius:2px;background:#9ad6c652}.kb-key.key-target{background:#5eead43d;border-color:#a7f3d0eb;color:#fff;font-weight:700;box-shadow:0 0 16px #38bdf88c,0 0 6px #5eead4a6,inset 0 0 8px #ffffff38;z-index:2}.kb-key.key-target .kb-bump{background:#fffc}.kb-key.key-pressed-ok{background:#34d39961;border-color:var(--mint);color:#fff;transform:scale(.95)}.kb-key.key-pressed-err{background:#ef444473;border-color:var(--err-border);color:#fff;transform:scale(.95)}.hand-overlay{position:absolute;z-index:4;pointer-events:none;transition:left .18s cubic-bezier(.22,1,.36,1),top .18s cubic-bezier(.22,1,.36,1);filter:drop-shadow(0 4px 14px rgba(0,0,0,.35))}.hand-svg{width:100%;height:100%;overflow:visible}.finger-hint-bar{display:inline-flex;align-items:center;gap:8px;font-size:12px;color:var(--text-muted);min-height:22px}.finger-badge{padding:2px 9px;border-radius:999px;background:#34d39924;border:1px solid rgba(52,211,153,.3);color:var(--mint-bright);font-weight:500}.finger-hint-sep{opacity:.4}.finger-hint-text kbd{display:inline-block;padding:1px 6px;margin:0 2px;border-radius:4px;background:#ffffff17;border:1px solid rgba(255,255,255,.2);color:#fff;font-family:var(--font-mono);font-size:12px}.umlaut-tip{font-style:normal;color:#fde68a;margin-left:4px}.status-footer{padding:8px 28px 16px;display:flex;flex-direction:column;gap:8px;flex-shrink:0}.status-metrics{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:16px;font-size:12px;color:var(--text-muted)}.status-metrics strong{color:var(--text-bright);font-weight:600;font-variant-numeric:tabular-nums}.progress-track{width:100%;height:4px;border-radius:999px;background:#94c5b829;overflow:hidden}.progress-fill{height:100%;border-radius:999px;background:linear-gradient(90deg,#10b981,#34d399 65%,#5eead4);transition:width .22s cubic-bezier(.22,1,.36,1);box-shadow:0 0 10px #34d3998c}.library-view{flex:1;display:flex;flex-direction:column;min-height:0;padding:24px 28px;gap:20px}.library-header{display:flex;align-items:center;justify-content:space-between;gap:16px}.library-brand{display:flex;align-items:center;gap:12px}.brand-dot{width:12px;height:12px;border-radius:50%;background:var(--mint);box-shadow:0 0 14px #34d399cc}.library-title{margin:0;font-size:22px;font-weight:600;letter-spacing:.04em}.library-subtitle{margin:3px 0 0;font-size:13px;color:var(--text-muted)}.category-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.category-tab{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:12px;border:1px solid var(--border-subtle);background:var(--surface);color:var(--text-muted);text-align:left;cursor:pointer;transition:all .15s ease}.category-tab:hover{background:var(--surface-hover);color:var(--text-bright)}.category-tab.is-active{background:#34d39924;border-color:#34d39973;color:var(--text-bright)}.tab-text{display:flex;flex-direction:column;gap:2px;min-width:0}.tab-label{font-size:14px;font-weight:600;display:inline-flex;align-items:center;gap:6px}.tab-count{font-style:normal;font-size:11px;padding:0 6px;border-radius:999px;background:#ffffff1a;color:var(--text-normal)}.tab-desc{font-size:11px;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.library-main{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:18px;padding-right:4px}.lesson-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px}.lesson-card{display:flex;flex-direction:column;justify-content:space-between;gap:10px;padding:16px;border-radius:14px;border:1px solid var(--border-subtle);background:var(--surface);cursor:pointer;transition:transform .14s ease,background-color .14s ease,border-color .14s ease}.lesson-card:hover{background:var(--surface-hover);border-color:var(--border-strong);transform:translateY(-2px)}.lesson-card.is-current{border-color:#34d3998c;background:#34d39914}.lesson-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.lesson-card-title{margin:0;font-size:16px;font-weight:600;color:var(--text-bright)}.lesson-card-badges{display:inline-flex;align-items:center;gap:6px}.lesson-difficulty{font-size:11px;padding:2px 7px;border-radius:999px;background:#ffffff14;color:var(--text-normal)}.lesson-stars{display:inline-flex;gap:2px}.star-earned{color:var(--mint)}.star-empty{color:#94c5b84d}.delete-custom-btn{display:inline-flex;align-items:center;justify-content:center;padding:4px;border:none;border-radius:6px;background:transparent;color:var(--text-muted);cursor:pointer}.delete-custom-btn:hover{color:#fca5a5;background:#ef444429}.lesson-card-sub{margin:0;font-size:12px;color:var(--text-muted);line-height:1.5}.lesson-card-foot{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:var(--text-dim);padding-top:6px;border-top:1px solid rgba(134,212,190,.08)}.record-summary{color:var(--mint)}.start-hint{color:var(--text-normal)}.custom-creator{padding:18px;border-radius:14px;border:1px solid var(--border-strong);background:#103e3440;display:flex;flex-direction:column;gap:12px}.custom-creator-header{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:var(--mint-bright)}.custom-form{display:flex;flex-direction:column;gap:10px}.custom-input,.custom-textarea{width:100%;padding:10px 12px;border-radius:10px;border:1px solid var(--border-subtle);background:#031512b8;color:var(--text-bright);font-size:14px;outline:none;-webkit-user-select:text;user-select:text}.custom-input:focus,.custom-textarea:focus{border-color:var(--mint)}.custom-textarea{resize:vertical;line-height:1.6}.custom-preview{display:flex;flex-direction:column;gap:8px;padding:10px 12px;border-radius:10px;background:#ffffff08}.preview-label{font-size:12px;color:var(--text-muted)}.preview-chips{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-end}.preview-chip{display:inline-flex;flex-direction:column;align-items:center;padding:4px 7px;border-radius:6px;background:#34d3991a}.preview-chip small{font-family:var(--font-mono);font-size:11px;color:var(--mint)}.preview-chip b{font-size:16px;font-weight:500}.preview-more{font-size:12px;color:var(--text-muted);padding-bottom:4px}.custom-actions{display:flex;justify-content:flex-end}.empty-custom-hint{grid-column:1 / -1;padding:24px;text-align:center;color:var(--text-muted);font-size:13px}.btn-primary,.btn-secondary{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:9px 16px;border-radius:10px;font-size:13px;font-weight:500;cursor:pointer;transition:all .14s ease}.btn-primary{border:1px solid rgba(94,234,212,.5);background:linear-gradient(135deg,#10b981,#059669);color:#fff}.btn-primary:hover:not(:disabled){filter:brightness(1.08)}.btn-primary:disabled{opacity:.4;cursor:not-allowed}.btn-secondary{border:1px solid var(--border-strong);background:#ffffff0d;color:var(--text-bright)}.btn-secondary:hover{background:#ffffff1c}.completion-actions button:focus{outline:none;box-shadow:0 0 0 2px #06211b,0 0 0 4px var(--mint-bright),0 0 16px #5eead473}.drawer-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;background:#020e0cad;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;justify-content:flex-end}.episode-drawer{width:100%;max-width:600px;height:100%;background:linear-gradient(180deg,#082821,#041915);border-left:1px solid var(--border-strong);box-shadow:-20px 0 60px #0000008c;display:flex;flex-direction:column;min-height:0;animation:drawer-slide-in .18s cubic-bezier(.22,1,.36,1)}@keyframes drawer-slide-in{0%{transform:translate(24px);opacity:0}to{transform:translate(0);opacity:1}}.drawer-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 22px 14px;border-bottom:1px solid var(--border-subtle);flex-shrink:0}.drawer-title-group{display:flex;align-items:center;gap:10px;min-width:0}.drawer-icon{color:var(--mint-bright);flex-shrink:0}.drawer-title{margin:0;font-size:16px;font-weight:600;color:var(--text-bright)}.drawer-breadcrumb{margin:3px 0 0;font-size:12px;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.drawer-close{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:8px;border:1px solid transparent;background:transparent;color:var(--text-muted);cursor:pointer}.drawer-close:hover{color:var(--text-bright);background:var(--surface-hover)}.drawer-l1-tabs{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:12px 22px 10px;overflow:visible;border-bottom:1px solid var(--border-subtle);flex-shrink:0}.drawer-l1-tab{display:inline-flex;align-items:center;gap:5px;padding:6px 10px;border-radius:9px;border:1px solid var(--border-subtle);background:var(--surface);color:var(--text-muted);font-size:12px;font-weight:500;white-space:nowrap;cursor:pointer;transition:all .14s ease}.drawer-l1-tab:hover{color:var(--text-bright);background:var(--surface-hover)}.drawer-l1-tab.is-active{color:var(--text-bright);background:#34d39929;border-color:#34d39980}.drawer-count{font-style:normal;font-size:10px;padding:0 5px;border-radius:999px;background:#ffffff1a}.drawer-l2-bar,.library-hierarchy-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:10px 22px;background:#00000029;border-bottom:1px solid var(--border-subtle);flex-shrink:0}.library-hierarchy-bar{padding:10px 14px;border-radius:12px;border:1px solid var(--border-subtle)}.drawer-books{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.drawer-book-pill{padding:5px 12px;border-radius:8px;border:1px solid var(--border-subtle);background:var(--surface);color:var(--text-normal);font-size:12px;font-weight:600;cursor:pointer;transition:all .14s ease}.drawer-book-pill.is-active{color:#fff;border-color:#5eead48c;background:#10b9813d}.drawer-book-progress{font-size:12px;color:var(--mint);font-variant-numeric:tabular-nums}.drawer-l3-units{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:10px 22px;border-bottom:1px solid var(--border-subtle);flex-shrink:0}.drawer-l3-units.is-inline{padding:0;border-bottom:none}.drawer-unit-pill{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;border-radius:999px;border:1px solid transparent;background:#ffffff0a;color:var(--text-muted);font-size:12px;cursor:pointer;transition:all .14s ease}.drawer-unit-pill span{opacity:.7;font-size:11px}.drawer-unit-pill:hover{color:var(--text-bright);background:#ffffff17}.drawer-unit-pill.is-active{color:var(--mint-bright);background:#34d39924;border-color:#34d39966}.drawer-body,.library-main,.typing-stage{scrollbar-width:thin;scrollbar-color:rgba(110,231,183,.22) transparent}.drawer-body::-webkit-scrollbar,.library-main::-webkit-scrollbar,.typing-stage::-webkit-scrollbar{width:6px;height:6px}.drawer-body::-webkit-scrollbar-track,.library-main::-webkit-scrollbar-track,.typing-stage::-webkit-scrollbar-track{background:transparent}.drawer-body::-webkit-scrollbar-thumb,.library-main::-webkit-scrollbar-thumb,.typing-stage::-webkit-scrollbar-thumb{background:#6ee7b738;border-radius:999px}.drawer-body::-webkit-scrollbar-thumb:hover,.library-main::-webkit-scrollbar-thumb:hover,.typing-stage::-webkit-scrollbar-thumb:hover{background:#6ee7b761}.drawer-body{flex:1;min-height:0;overflow-y:auto;padding:16px 22px 24px;display:flex;flex-direction:column;gap:20px}.episode-group{display:flex;flex-direction:column;gap:10px}.episode-group-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.episode-group-title{margin:0;font-size:13px;font-weight:600;color:var(--text-normal);letter-spacing:.03em}.episode-group-meta{font-size:11px;color:var(--text-dim)}.episode-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.episode-grid.is-library{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px}.episode-tile{display:flex;flex-direction:column;justify-content:space-between;gap:8px;padding:11px 12px;border-radius:12px;border:1px solid var(--border-subtle);background:#ffffff09;color:var(--text-bright);text-align:left;cursor:pointer;transition:transform .13s ease,background-color .13s ease,border-color .13s ease,box-shadow .13s ease}.episode-tile:hover{background:#ffffff14;border-color:var(--border-strong);transform:translateY(-1px)}.episode-tile.is-current{border-color:var(--mint-bright);background:#34d39924;box-shadow:0 0 16px #34d3992e}.episode-tile-top{display:flex;align-items:center;justify-content:space-between;gap:6px}.episode-no{font-family:var(--font-mono);font-size:12px;font-weight:700;padding:1px 7px;border-radius:6px;background:#ffffff14;color:var(--text-normal)}.episode-tile.is-current .episode-no{background:var(--mint);color:#032119}.episode-now-badge{font-size:10px;font-weight:600;padding:1px 6px;border-radius:999px;background:#5eead438;color:var(--mint-bright)}.episode-stars{display:inline-flex;gap:1px}.episode-title{font-size:14px;font-weight:600;color:var(--text-bright);line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.episode-sub{margin:-3px 0 0;font-size:11px;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.episode-meta{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:11px;color:var(--text-dim)}.episode-acc{display:inline-flex;align-items:center;gap:3px;color:var(--mint);font-variant-numeric:tabular-nums}.drawer-custom-cta{display:flex;justify-content:center;padding-top:8px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;background:#020e0cb8;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;padding:20px}.completion-card{width:100%;max-width:460px;padding:28px 26px;border-radius:18px;background:linear-gradient(180deg,#0b332a,#06211b);border:1px solid var(--border-strong);box-shadow:0 24px 60px #0000008c;text-align:center;display:flex;flex-direction:column;align-items:center;gap:14px}.completion-stars{display:flex;gap:8px}.star-icon{color:#94c5b84d}.star-icon.is-earned{color:var(--mint);filter:drop-shadow(0 0 10px rgba(52,211,153,.65))}.completion-title{margin:0;font-size:22px;font-weight:600}.completion-praise{margin:0;font-size:14px;color:var(--text-normal)}.completion-stats{width:100%;display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:6px 0}.stat-box{padding:12px;border-radius:12px;background:#ffffff0a;border:1px solid var(--border-subtle);display:flex;flex-direction:column;gap:4px}.stat-label{font-size:12px;color:var(--text-muted)}.stat-value{font-size:18px;font-weight:600;color:var(--mint-bright);font-variant-numeric:tabular-nums}.completion-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:6px}@media(max-width:820px){.top-bar{padding:12px 16px;flex-direction:column;align-items:flex-start}.practice-main{padding:12px 16px 8px}.hanzi-char{font-size:34px}.pinyin-row{font-size:17px}.hanzi-cell{min-width:46px}.hanzi-cell.has-group-gap{margin-right:18px}.category-tabs,.episode-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
