:root{--color-text:#1a1a1a;--color-muted:#5c5c5c;--color-accent:#1f3a5f;--color-accent-contrast:#fff;--color-bg:#fff;--color-border:#d9d9d9;--color-focus:#1f3a5f}body{color:var(--color-text);background-color:var(--color-bg);margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;line-height:1.5}a{color:var(--color-accent)}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--color-focus);outline-offset:2px}main{max-width:32rem;margin:0 auto;padding:0 16px}.site-header{border-bottom:1px solid var(--color-border)}.site-header__inner{justify-content:space-between;align-items:center;max-width:32rem;margin:0 auto;padding:12px 16px;display:flex}.site-header__title{color:var(--color-text);font-size:1.1rem;font-weight:700;text-decoration:none}.site-header__nav{gap:16px;display:flex}button,.button{border:1px solid var(--color-border);min-height:44px;color:var(--color-text);cursor:pointer;background-color:#f5f5f5;border-radius:6px;padding:0 16px;font-size:1rem}button[type=submit],.button--primary{background-color:var(--color-accent);color:var(--color-accent-contrast);border-color:var(--color-accent)}button:disabled{opacity:.55;cursor:not-allowed}input{border:1px solid var(--color-border);border-radius:6px;width:100%;min-height:44px;padding:0 12px;font-size:1rem}label{margin-bottom:8px;display:block}.field{margin-bottom:16px}.alert{background-color:#fdecec;border:1px solid #f5c6c6;border-radius:6px;margin:16px 0;padding:12px 16px}.muted{color:var(--color-muted)}h1{font-size:1.75rem}@font-face{font-family:DM Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_app/immutable/assets/dm-sans-latin-400-normal.CW0RaeGs.woff2)format("woff2"),url(/_app/immutable/assets/dm-sans-latin-400-normal.BwCSEQnW.woff)format("woff")}@font-face{font-family:DM Sans;font-style:normal;font-display:swap;font-weight:500;src:url(/_app/immutable/assets/dm-sans-latin-500-normal.B9HHJjqV.woff2)format("woff2"),url(/_app/immutable/assets/dm-sans-latin-500-normal.Dr3UlScf.woff)format("woff")}@font-face{font-family:DM Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_app/immutable/assets/dm-sans-latin-600-normal.Aqo67rzb.woff2)format("woff2"),url(/_app/immutable/assets/dm-sans-latin-600-normal.BmdmIIQ2.woff)format("woff")}@font-face{font-family:DM Sans;font-style:normal;font-display:swap;font-weight:700;src:url(/_app/immutable/assets/dm-sans-latin-700-normal.DvUfVpUG.woff2)format("woff2"),url(/_app/immutable/assets/dm-sans-latin-700-normal.CUSSCpQX.woff)format("woff")}@font-face{font-family:Manrope;font-style:normal;font-display:swap;font-weight:500;src:url(/_app/immutable/assets/manrope-latin-500-normal.BYYD-dBL.woff2)format("woff2"),url(/_app/immutable/assets/manrope-latin-500-normal.DMZssgOp.woff)format("woff")}@font-face{font-family:Manrope;font-style:normal;font-display:swap;font-weight:600;src:url(/_app/immutable/assets/manrope-latin-600-normal.4f0koTD-.woff2)format("woff2"),url(/_app/immutable/assets/manrope-latin-600-normal.BqgrALkZ.woff)format("woff")}@font-face{font-family:Manrope;font-style:normal;font-display:swap;font-weight:700;src:url(/_app/immutable/assets/manrope-latin-700-normal.BZp_XxE4.woff2)format("woff2"),url(/_app/immutable/assets/manrope-latin-700-normal.DGRFkw-m.woff)format("woff")}@font-face{font-family:Manrope;font-style:normal;font-display:swap;font-weight:800;src:url(/_app/immutable/assets/manrope-latin-800-normal.BfWYOv1c.woff2)format("woff2"),url(/_app/immutable/assets/manrope-latin-800-normal.uHUdIJgA.woff)format("woff")}@font-face{font-family:Noto Sans;font-style:normal;font-display:swap;font-weight:500;src:url(/_app/immutable/assets/noto-sans-latin-500-normal.DCA2Z9Cj.woff2)format("woff2"),url(/_app/immutable/assets/noto-sans-latin-500-normal.CDPngY5C.woff)format("woff")}@font-face{font-family:Noto Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_app/immutable/assets/noto-sans-latin-600-normal.Dkgu5AE5.woff2)format("woff2"),url(/_app/immutable/assets/noto-sans-latin-600-normal.DVJMj_t0.woff)format("woff")}@font-face{font-family:Noto Sans;font-style:normal;font-display:swap;font-weight:700;src:url(/_app/immutable/assets/noto-sans-latin-700-normal.CrvTEWhy.woff2)format("woff2"),url(/_app/immutable/assets/noto-sans-latin-700-normal.ZyrKABVF.woff)format("woff")}@font-face{font-family:Noto Sans SC;font-style:normal;font-display:swap;font-weight:400;src:url(/_app/immutable/assets/noto-sans-sc-chinese-simplified-400-normal.Ba7eOkfT.woff2)format("woff2"),url(/_app/immutable/assets/noto-sans-sc-chinese-simplified-400-normal.CN8EQoOj.woff)format("woff")}@font-face{font-family:Noto Sans SC;font-style:normal;font-display:swap;font-weight:500;src:url(/_app/immutable/assets/noto-sans-sc-chinese-simplified-500-normal.z_irmif2.woff2)format("woff2"),url(/_app/immutable/assets/noto-sans-sc-chinese-simplified-500-normal.CtDGG6sn.woff)format("woff")}@font-face{font-family:Noto Sans SC;font-style:normal;font-display:swap;font-weight:600;src:url(/_app/immutable/assets/noto-sans-sc-chinese-simplified-600-normal.CI4uXaOp.woff2)format("woff2"),url(/_app/immutable/assets/noto-sans-sc-chinese-simplified-600-normal.BZjJ-uhR.woff)format("woff")}:root{--board:#e8e5dc;--paper:#fbf9f2;--surface:#fffef9;--wash:#efeee5;--ink:#203d36;--muted:#56665c;--line:#d5dace;--brand:#254f43;--on-brand:#fffdf5;--accent:#d2e3b3;--t1:#0e3b63;--b1:#f1f7fc;--t2:#875f00;--b2:#fffbee;--t3:#9a4f96;--b3:#fffcff;--t4:#80301a;--b4:#fff6f1;--t0:#56625b;--b0:#f1f3ef;--ok-bg:#cfe3bd;--ok-fg:#14352a;--ok-line:#3f6b52;--err-bg:#80301a;--err-fg:#fffef9;--err-line:#80301a;--grid:#dce1d6;--you:#41554c;--sky:#ead5ad;--far:#b2a48a;--mid:#827e65;--near:#465b49;--moon:#ffe4a2;--art-paper:#f1e3c5;--sans:"DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--display:"Manrope", "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--pinyin:"Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--cjk:"Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}.dark{--paper:#142b25;--surface:#1c352f;--wash:#263f35;--ink:#f4f3e7;--muted:#bdcbbb;--line:#40594b;--brand:#d2e3b3;--on-brand:#203d2a;--t1:#b5e0ff;--b1:#203b42;--t2:#f0d27a;--b2:#353c28;--t3:#cf8fe3;--b3:#25322e;--t4:#f58a68;--b4:#35332b;--t0:#c4cec4;--b0:#263b31;--ok-bg:#b9dc9a;--ok-fg:#10291f;--ok-line:#b9dc9a;--err-bg:#f58a68;--err-fg:#2a0f08;--err-line:#f58a68;--grid:#53695e;--you:#eeeede;--sky:#0a1d35;--far:#24364b;--mid:#1e3543;--near:#122c32;--moon:#f5cf7d;--art-paper:#61706e;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}@media (prefers-color-scheme:dark){:root:not(.light){--paper:#142b25;--surface:#1c352f;--wash:#263f35;--ink:#f4f3e7;--muted:#bdcbbb;--line:#40594b;--brand:#d2e3b3;--on-brand:#203d2a;--t1:#b5e0ff;--b1:#203b42;--t2:#f0d27a;--b2:#353c28;--t3:#cf8fe3;--b3:#25322e;--t4:#f58a68;--b4:#35332b;--t0:#c4cec4;--b0:#263b31;--ok-bg:#b9dc9a;--ok-fg:#10291f;--ok-line:#b9dc9a;--err-bg:#f58a68;--err-fg:#2a0f08;--err-line:#f58a68;--grid:#53695e;--you:#eeeede;--sky:#0a1d35;--far:#24364b;--mid:#1e3543;--near:#122c32;--moon:#f5cf7d;--art-paper:#61706e;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{color:var(--ink);font:15px/1.45 var(--sans);background:var(--board);-webkit-font-smoothing:antialiased;margin:0}.app-shell{background:var(--paper);max-width:430px;min-height:100dvh;color:var(--ink);margin:0 auto;padding:0 20px 48px;position:relative;overflow-x:clip}.app-shell main{max-width:none;margin:0;padding:0}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--display);letter-spacing:-.025em}h1{font-size:30px;font-weight:800;line-height:1.2}h2{font-size:23px;line-height:1.3}h3{font-size:17px}.pinyin{font-family:var(--pinyin)}.hanzi{font-family:var(--cjk)}.t1{color:var(--t1)}.t2{color:var(--t2)}.t3{color:var(--t3)}.t4{color:var(--t4)}.t0{color:var(--t0)}button,a,[role=button]{touch-action:manipulation}button,a,input,[role=button]{min-width:48px;min-height:48px}.app-shell :where(button,.button){color:inherit;font:inherit;background-color:#0000;border:0;min-height:0;padding:0}:where(button:not([type=submit])){cursor:pointer;font:inherit;color:inherit;background:0 0;border:0}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid var(--t1);outline-offset:3px}svg{flex-shrink:0;display:block}.tone-glyph{overflow:visible}.tone-glyph path{stroke-width:2.3px}.tone-token{white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:5px;padding:4px 7px;font-weight:700;display:inline-flex}.tone-token.t1,.tone-card.t1{background:var(--b1)}.tone-token.t2,.tone-card.t2{background:var(--b2)}.tone-token.t3,.tone-card.t3{background:var(--b3)}.tone-token.t4,.tone-card.t4{background:var(--b4)}.tone-token.t0{background:var(--b0)}.tone-staff{width:100%;height:100%;overflow:visible}.row{align-items:center;gap:8px;display:flex}.tone-staff-line{stroke:var(--grid);stroke-width:1px}.tone-staff-contour{fill:none;stroke-width:2px}.tag{border:1px solid var(--line);color:var(--muted);background:var(--surface);white-space:nowrap;border-radius:7px;align-items:center;padding:3px 8px;font-size:13px;display:inline-flex}.btn{background:var(--brand);min-height:54px;color:var(--on-brand);border:1px solid var(--brand);border-radius:16px;justify-content:center;align-items:center;gap:10px;padding:10px 14px;font-weight:700;text-decoration:none;display:flex}.btn.secondary{background:var(--surface);color:var(--ink);border-color:var(--line)}.text-button{text-underline-offset:4px;justify-content:center;align-items:center;gap:8px;padding:9px 12px;text-decoration:underline;display:inline-flex}.icon-button{background:0 0;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;padding:0;display:inline-flex}.icon-button.outline{border:1px solid var(--line);background:var(--surface)}.icon{width:24px;height:24px}.app-header{justify-content:space-between;align-items:center;gap:6px;height:60px;display:flex}.app-header .title{font-family:var(--display);letter-spacing:-.035em;font-weight:800}.brand{font:800 21px var(--display);letter-spacing:-.035em;white-space:nowrap;align-items:center;gap:8px;display:flex}.brand-mark{width:27px;height:27px}.error-page{flex-direction:column;min-height:calc(100dvh - 48px);display:flex}.error-page .app-header{flex-shrink:0}.error-brand{color:var(--ink);text-decoration:none}.error-main{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:12px;padding:0 24px 72px;display:flex}.error-code{font:700 44px var(--display);color:var(--muted);margin:0}.error-main h1{font-family:var(--display);margin:0;font-size:26px}.error-detail{max-width:34ch;color:var(--muted);margin:0 0 6px}.error-main .btn{width:100%;max-width:320px}.welcome{flex-direction:column;min-height:calc(100dvh - 48px);display:flex}.hero{height:360px;margin:0 -20px;position:relative;overflow:hidden}.hero-landscape{width:100%;height:100%}.welcome-title{text-align:center;padding:16px 0 0}.welcome-title p{color:var(--muted);margin-top:9px}.welcome-tiles{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:16px 0 0;display:grid}.tone-tile{border:1px solid var(--line);text-align:center;background:var(--surface);border-radius:13px;flex-direction:column;align-items:center;gap:4px;padding:10px 3px;display:flex}.tone-tile .hanzi{font-size:25px}.tone-tile .pinyin{font-size:17px}.welcome-footer{gap:8px;margin-top:auto;padding-top:24px;display:grid}.welcome-footer .text-button{justify-self:center}.meet-title{justify-content:space-between;align-items:center;gap:8px;margin:8px 0 14px;display:flex}.meet-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.tone-card{border:1px solid var(--line);text-align:center;border-radius:20px;flex-direction:column;justify-content:center;align-items:center;gap:6px;min-height:210px;padding:12px 8px;display:flex}.tone-card .staff-wrap{width:100%;height:84px}.tone-card .hanzi{font-size:24px}.tone-card .pinyin{font-size:20px}.tone-card .name{color:var(--muted);font-size:13px}.meet-footer{padding-top:20px;display:grid}.progress-dots{flex-wrap:wrap;gap:7px;padding:12px 0;display:flex}.progress-dots i{border:1px solid var(--line);border-radius:50%;justify-content:center;align-items:center;width:14px;height:14px;display:flex}.progress-dots i.done{background:var(--ink);border-color:var(--ink);color:var(--paper)}.progress-dots i.current{outline:2px solid var(--ink);outline-offset:2px;background:var(--accent)}.progress-dots i.correct{background:var(--ok-bg);border-color:var(--ok-line);color:var(--ok-fg)}.progress-dots i.wrong{background:var(--err-bg);border-color:var(--err-line);color:var(--err-fg)}.progress-dots i.skipped{background:var(--wash);border-color:var(--line);color:var(--muted)}.progress-dots i.correct:after{content:"✓";font-size:9px;line-height:1}.progress-dots i.wrong:after{content:"×";font-size:11px;line-height:1}.progress-dots i.skipped:after{content:"?";font-size:9px;line-height:1}.ear-progress{grid-template-columns:repeat(12,14px);justify-content:center;gap:7px;padding:12px 0 4px;display:grid}.ear-progress-text{text-align:center;color:var(--muted);margin:0 0 6px;font-size:12px}.resume-banner{color:var(--muted);justify-content:center;align-items:center;gap:10px;padding:2px 0 0;font-size:12px;display:flex}.resume-check{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:12px;justify-content:space-between;align-items:center;gap:10px;margin:8px 22px 0;padding:10px 14px;font-size:13px;text-decoration:none;display:flex}.resume-check-action{color:var(--brand);white-space:nowrap;align-items:center;gap:4px;font-weight:600;display:inline-flex}.session-progress{padding:10px 0 6px}.session-progress-bar{background:var(--line);border-radius:3px;height:6px;overflow:hidden}.session-progress-bar i{background:var(--brand);border-radius:3px;height:100%;transition:width .18s;display:block}.session-progress-text{color:var(--muted);margin-top:4px;font-size:12px;display:block}.answer-badge{white-space:nowrap;border-radius:6px;margin-top:2px;padding:1px 5px;font-size:9px;font-weight:600;line-height:1.3;display:inline-block}.answer-badge.correct{background:var(--ok-bg);color:var(--ok-fg)}.answer-badge.wrong{background:var(--err-bg);color:var(--err-fg)}@media (forced-colors:active){.progress-dots i.correct,.answer-badge.correct{border:2px solid}.progress-dots i.wrong,.answer-badge.wrong{border:2px dashed}.tone-option.correct,.word-card.correct{border:3px solid}.tone-option.wrong,.word-card.wrong{border:3px dashed}}.question-main{flex-direction:column;align-items:center;min-height:0;display:flex}.question-title{text-align:center;max-width:350px}.question-title span{display:block}.play-ring{border:1px solid var(--line);width:138px;height:138px;box-shadow:0 0 0 13px var(--wash), 0 0 0 14px var(--line);background:var(--surface);border-radius:50%;justify-content:center;align-items:center;margin:28px auto 18px;display:flex}.play-ring .icon{width:42px;height:42px}.replay-row{justify-content:center;align-items:center;gap:12px;margin:8px 0 22px;display:flex}.slow-button{border:1px solid var(--line);border-radius:24px;justify-content:center;align-items:center;gap:7px;padding:7px 13px;font-weight:600;display:flex}.slow-button[aria-pressed=true]{background:var(--ink);color:var(--paper)}.tone-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;width:100%;margin-top:auto;padding-top:22px;display:grid}.tone-option{border:1px solid var(--line);background:var(--surface);border-radius:16px;flex-direction:column;justify-content:space-between;align-items:center;gap:8px;min-height:132px;padding:10px 3px;display:flex}.tone-option .staff-wrap{width:70px;height:82px}.ear-check-footer{padding-top:8px;display:grid}.ear-check-footer .text-button{border:1px solid var(--line);border-radius:14px;justify-self:stretch;min-height:48px;text-decoration:none}.status-message{color:var(--muted);text-align:center;padding:16px 0 4px}.sheet-veil{z-index:3;background:#18352e5c;position:fixed;inset:0}.sheet{z-index:4;background:var(--paper);width:min(430px,100%);color:var(--ink);border-radius:25px 25px 0 0;max-height:calc(100dvh - 40px);padding:9px 20px 28px;position:fixed;bottom:0;left:50%;overflow-y:auto;transform:translate(-50%);box-shadow:0 -12px 40px #16312730}.handle{background:var(--line);border-radius:4px;width:42px;height:4px;margin:0 auto 4px}.sheet-header{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.sheet-header h2{font-size:25px}.source-block{border:1px solid var(--line);background:var(--surface);border-radius:16px;margin-bottom:13px;padding:15px}.source-block h3{align-items:center;gap:9px;margin-bottom:8px;display:flex}.credit-lines{gap:7px;font-size:14px;display:grid}.credit-links{gap:12px;margin-top:8px;display:flex}.credit-links a{text-underline-offset:4px;justify-content:flex-start;min-width:90px;text-decoration:underline}.active-label{text-transform:uppercase;letter-spacing:.04em;font-size:12px;font-weight:600}.help-sheet-body,.sheet-status{color:var(--ink);margin:12px 0 25px;font-size:15px}.map-main{padding-top:8px}.map-main h1{text-align:center;margin:6px 0 10px}.tone-map{width:350px;height:304px;margin:auto;position:relative}.map-lines{fill:none;width:350px;height:304px;stroke:var(--ink);stroke-width:2.5px;position:absolute;inset:0}.map-lines path{fill:none;stroke:var(--ink);stroke-width:2.5px}.map-lines .unchecked{opacity:.35;stroke-dasharray:1 8;stroke-linecap:round}.map-lines .focus-ring{stroke-width:1.5px;stroke-dasharray:4 5}.map-node{background:var(--surface);border:1px solid;border-radius:50%;justify-content:center;align-items:center;gap:3px;width:60px;height:60px;font-size:17px;font-weight:700;display:flex;position:absolute}.map-node .tone-token{background:0 0;padding:0}.focus-pair{justify-content:center;align-items:center;gap:10px;margin-top:6px;display:flex}.focus-pair>span{font-size:13px}.focus-pair .tone-token{font-size:17px}.map-summary{text-align:center;color:var(--muted);margin:2px 0 6px;font-size:14px}.map-summary strong{color:var(--ink);font-size:20px}.map-counts{text-align:center;margin:2px 0;font-size:16px}.map-counts strong{font-size:22px}.map-counts-sub{text-align:center;color:var(--muted);margin:0 0 12px;font-size:13px}.map-next{border:1px solid var(--line);background:var(--surface);border-radius:16px;gap:6px;margin:4px 0 12px;padding:12px 14px;display:grid}.map-next-label{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;font-size:11px}.map-next-pair{flex-wrap:wrap;align-items:center;gap:6px;font-size:16px;display:flex}.map-next-pair .tone-token{font-size:18px}.map-next-detail{color:var(--muted);font-size:13px}.map-continue{width:100%;margin:10px 0 12px;display:block}.map-details{margin-top:6px}.map-details summary{color:var(--muted);cursor:pointer;padding:8px 0;font-size:13px}.map-note{color:var(--muted);margin:8px 22px 0;font-size:12px}.map-empty,.map-focus-empty{text-align:center;color:var(--muted);margin:6px 0 10px;font-size:13px}.map-start{width:100%;margin:10px 0;display:block}.focus-label,.focus-count{color:var(--muted)}.map-breakdown{border-top:1px solid var(--line);margin:0 22px 16px;padding:0;list-style:none}.map-row{border-bottom:1px solid var(--line);grid-template-columns:auto 1fr auto;align-items:center;gap:8px;min-height:42px;font-size:12px;display:grid}.map-row-pair{align-items:center;gap:5px;display:inline-flex}.map-row-pair .tone-token{font-size:13px}.map-row-status{color:var(--muted);white-space:nowrap;font-size:12px}.map-row.mixed_up .map-row-status{color:var(--err-line)}.map-row-count{color:var(--muted);white-space:nowrap;margin-left:auto;font-size:11px}.map-legend{flex-direction:column;gap:9px;margin:13px 22px 18px;display:flex}.map-legend>div{align-items:center;gap:13px;font-size:13px;display:flex}.map-legend svg{width:50px;height:16px;stroke:var(--ink);fill:none;stroke-width:2px}.day-strip{justify-content:center;align-items:center;gap:3px;display:flex}.day-strip i{background:var(--line);border-radius:2px;width:7px;height:5px;display:block}.day-strip i.on{background:var(--ink)}.day-strip i.current{background:var(--paper);outline:2px solid var(--brand);outline-offset:1px}.day-strip .seal-dot{border:2px solid var(--ink);background:var(--ink);border-radius:2px;width:12px;height:12px;position:relative;transform:rotate(-8deg)}.day-strip .seal-dot:after{content:"";border:solid var(--paper);border-width:0 1.5px 1.5px 0;width:3px;height:5px;position:absolute;top:0;left:2px;transform:rotate(40deg)}.map-save{gap:8px;padding-top:4px;display:grid}.home{flex-direction:column;min-height:calc(100dvh - 48px);margin:0 -20px;display:flex}.home>.app-header{padding:0 20px}.home-scroll{flex:1;min-height:0;position:relative;overflow-y:auto}.path-landscape{min-height:100%;padding-top:178px;position:relative}.path-art{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.path-art svg{width:100%;height:100%}.challenge-path{min-height:470px;position:relative}.path-route{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.path-stop{width:56px;position:absolute;transform:translate(-50%)}.day-node{border:1px solid var(--line);background:var(--paper);width:56px;height:56px;color:var(--ink);border-radius:50%;flex-direction:column;justify-content:center;align-items:center;gap:2px;padding:2px;display:flex;position:relative;box-shadow:0 3px 12px #142b2529}.day-node .node-number{font-size:13px;line-height:1}.day-node .day-icon{justify-content:center;align-items:center;gap:2px;min-height:22px;display:flex}.day-node .icon{width:22px;height:22px}.day-node .four-icon{grid-template-columns:1fr 1fr;gap:1px;display:grid}.day-node .four-icon .tone-token{background:0 0;flex-direction:row;gap:0;padding:0}.day-node .four-icon .tone-token b{font-size:10px}.day-node .letter-icon{font-family:var(--display);letter-spacing:-.04em;font-size:20px;line-height:1}.day-node .letter-icon.long{font-size:15px}.day-node.done{border:2px solid var(--ink);background:var(--ink);color:var(--paper);border-radius:10px;transform:rotate(-7deg)}.day-node.current{outline:3px solid var(--paper);border:2px solid var(--ink);background:var(--wash);width:64px;height:64px}.word-tone-icon{flex-direction:column;align-items:center;gap:1px;display:inline-flex}.word-tone-glyphs{gap:2px;display:flex}.word-tone-tie{border:1.75px solid;border-top:0;border-radius:0 0 3px 3px;width:24px;height:5px;display:block}.current-stop{background:var(--paper);border:1px solid var(--line);z-index:1;border-radius:20px;height:166px;padding:7px 12px;position:absolute;top:6px;left:12px;right:12px;box-shadow:0 7px 24px #183b311f}.current-top{justify-content:space-between;align-items:center;height:48px;display:flex}.current-top h1{font-size:24px}.current-complete{color:var(--muted);margin:2px 0 0;font-size:13px}.current-top .btn{border-radius:13px;min-height:48px;padding:7px 14px}.current-hands{justify-content:center;align-items:center;gap:12px;height:76px;margin:2px 0;display:flex}.current-hands .tone-token{background:0 0;gap:2px;padding:0;font-size:20px}.current-hands .tone-token .tone-glyph{width:30px;height:30px}.current-hands .four-icon{grid-template-columns:1fr 1fr;gap:8px;display:grid}.current-hands .word-tone-glyphs .tone-glyph{width:24px;height:24px}.current-stats{justify-content:center;align-items:center;gap:24px;height:24px;font-size:13px;display:flex}.current-stats span{align-items:center;gap:5px;display:flex}.current-stats .icon{width:19px;height:19px}.path-gate{width:28px;height:32px;color:var(--paper);background:var(--ink);border:2px solid var(--paper);border-radius:7px;justify-content:center;align-items:center;display:flex;position:absolute;top:152px;left:33px}.path-gate .icon{width:23px;height:23px}.bottom-nav{background:var(--paper);border-top:1px solid var(--line);flex:0 0 76px;grid-template-columns:repeat(3,minmax(0,1fr));height:76px;padding:0 20px 13px;display:grid}.bottom-nav button,.bottom-nav a{color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:13px;display:flex}.bottom-nav .active{color:var(--ink);font-weight:700}.bottom-nav .icon{width:23px;height:23px}.summary-scene{width:100%;height:200px;margin:0 -20px;overflow:hidden}.summary-main{padding-top:16px}.summary-main h1{text-align:center;margin-bottom:16px}.stats{justify-content:space-around;align-items:center;gap:8px;margin:12px 0 22px;font-size:13px;display:flex}.stats>span{align-items:center;gap:6px;display:flex}.stats .icon{width:20px;height:20px}.mini-map{border:1px solid var(--line);background:var(--surface);border-radius:15px;justify-content:center;align-items:center;gap:12px;padding:12px;display:flex}.mini-edge{background:var(--ink);width:50px;height:2px}.listen-count{align-items:center;gap:5px;display:flex}.next-day{border-top:1px solid var(--line);justify-content:space-around;align-items:center;gap:8px;margin-top:16px;padding-top:9px;display:flex}.next-day>span{white-space:nowrap;font-weight:600}.summary-footer{gap:8px;padding-top:12px;display:grid}.day-session{flex-direction:column;min-height:calc(100dvh - 48px);display:flex}.session-main{flex-direction:column;flex:1;padding-top:8px;display:flex}.session-footer{gap:8px;padding-top:8px;display:grid}.listening-title{justify-content:center;align-items:center;gap:10px;margin-bottom:18px;display:flex}.listening-title h1{text-align:center}.word-cards{grid-template-columns:1fr 1fr;gap:12px;display:grid}.word-card{border:1px solid var(--line);background:var(--surface);border-radius:18px;flex-direction:column;align-items:center;gap:4px;min-height:190px;padding:8px;display:flex}.word-card .word-picture{background:var(--wash);border-radius:12px;justify-content:center;align-items:center;width:96px;height:96px;display:flex;overflow:hidden}.word-card .hanzi{font-size:25px}.word-card .pinyin{font-size:20px}.word-card .gloss{color:var(--muted);font-size:13px}.word-card .card-bottom{align-items:center;gap:5px;margin-top:auto;display:flex}.word-card .icon{width:20px;height:20px}.word-card .answer-mark{width:22px;height:22px}.word-card.picked{border-style:dashed}.word-card.correct{border-style:solid;border-width:2px;border-color:var(--ok-line)}.tone-option.correct{border:2px solid var(--ok-line)}.word-card.wrong,.tone-option.wrong{border:2px dashed var(--err-line)}.tone-option.correct:disabled,.tone-option.wrong:disabled,.word-card.correct:disabled,.word-card.wrong:disabled{opacity:1}.feedback-line{text-align:center;margin:14px 0 10px;font-size:15px}.stimulus-meta{justify-content:center;align-items:center;gap:10px;padding:4px 0 2px;display:flex}.stimulus-meta>.icon-button{flex:none}.credit-chip{border:1px solid var(--line);min-width:0;max-width:100%;color:var(--muted);background:var(--surface);white-space:nowrap;text-overflow:ellipsis;border-radius:7px;align-items:center;padding:3px 8px;font-size:13px;display:inline-flex;overflow:hidden}.playback-error{color:var(--muted);text-align:center;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;padding:4px 0;font-size:13px;display:flex}.feedback-options{justify-content:center;gap:12px;display:flex}.feedback-option{border:1px solid var(--line);background:var(--surface);border-radius:12px;flex-direction:column;align-items:center;gap:4px;min-width:118px;padding:10px;display:flex}.feedback-option.correct{border-style:solid;border-width:2px}.feedback-option.wrong{border-style:dashed}.feedback-option .staff-wrap{width:72px;height:56px}.feedback-option .mark{font-weight:700}.feedback-tone{border:1px solid var(--line);background:var(--surface);border-radius:12px;justify-content:center;align-items:center;gap:12px;margin:0 auto;padding:10px;display:flex}.feedback-tone .staff-wrap{width:72px;height:56px}.feedback-staffs{justify-content:center;gap:22px;margin-bottom:8px;display:flex}.feedback-staffs .staff-wrap{width:120px;height:96px}.listening-actions{justify-content:space-between;align-items:center;gap:8px;display:flex}.legal-chip{color:var(--muted);text-underline-offset:3px;font-size:13px;text-decoration:underline}.speaking-main{flex-direction:column;display:flex}.take-dots{justify-content:center;gap:8px;padding:6px 0 12px;display:flex}.take-dots i{border:1px solid var(--line);border-radius:50%;width:14px;height:14px}.take-dots i.on{background:var(--ink);border-color:var(--ink)}.speaking-word{text-align:center;margin-bottom:12px}.speaking-word .word{justify-content:center;align-items:center;gap:12px;font-size:34px;display:flex}.speaking-word .word .pinyin{font-weight:700}.speaking-word p{color:var(--muted);font-size:14px}.reminder-row{justify-content:center;align-items:center;gap:8px;margin-bottom:14px;display:flex}.reminder-chip{border:1px solid var(--line);background:var(--surface);border-radius:20px;align-items:center;gap:8px;padding:7px 13px;font-weight:700;display:inline-flex}.reminder-chip .staff-wrap{width:52px;height:42px}.chart-card{border:1px solid var(--line);background:var(--surface);border-radius:16px;padding:8px;position:relative}.pitch-chart{width:100%;height:auto}.pitch-chart .staff-line{stroke:var(--grid);stroke-width:1px;fill:none}.pitch-chart .baseline{stroke:var(--grid);stroke-width:1px;stroke-dasharray:3 4;fill:none}.pitch-chart .model-line{stroke:var(--ink);stroke-width:2.5px;fill:none}.pitch-chart .you-line{stroke:var(--you);stroke-width:2.5px;stroke-dasharray:6 5;fill:none}.chart-card .estimate,.chart-card .not-counted{color:var(--muted);font-size:12px;position:absolute;top:12px;right:12px}.chart-card .not-counted{background:var(--wash);border:1px solid var(--line);color:var(--ink);border-radius:9px;padding:3px 9px}.speaking-hint{text-align:center;margin:14px 0 8px}.speaking-hint .icon{vertical-align:-4px;width:18px;height:18px;margin-right:5px;display:inline-block}.comparison{justify-content:center;gap:8px;margin:8px 0 16px;display:flex}.comparison button{border:1px solid var(--line);background:var(--surface);border-radius:20px;align-items:center;gap:7px;padding:7px 13px;font-weight:600;display:inline-flex}.comparison button.selected{background:var(--ink);color:var(--paper)}.line-key{background:currentColor;border-radius:2px;width:18px;height:3px;display:inline-block}.line-key.you{background:0 0;border-top:3px dashed}.line-key.both{background:linear-gradient(90deg,currentColor 0 50%,#0000 50% 60%,currentColor 60% 100%)}.record-footer{grid-template-columns:1fr 1fr;gap:8px;display:grid}.record-footer .btn.record{background:var(--t4);border-color:var(--t4)}.mic-intro{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:16px;padding:32px 8px;display:flex}.mic-intro p{color:var(--muted);max-width:300px}.mic-denied{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:16px;padding:32px 8px;display:flex}.mic-denied p{color:var(--muted);max-width:300px}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.paywall{flex-direction:column;min-height:calc(100dvh - 48px);margin:0 -20px;display:flex}.paywall>.app-header{padding:0 20px}.panorama{flex-shrink:0;width:100%;height:220px;position:relative;overflow:hidden}.panorama-art{width:100%;height:100%;display:block}.panorama-nodes{grid-template-columns:repeat(10,minmax(0,1fr));gap:6px 4px;display:grid;position:absolute;top:58px;left:10px;right:28px}.panorama-node{min-width:28px;height:40px;color:var(--ink);background:var(--paper);border:1px solid var(--muted);border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:2px;font-size:12px;line-height:1;display:flex;position:relative}.panorama-node.done{border:2px solid var(--ink);box-shadow:inset 0 0 0 2px var(--paper), inset 0 0 0 3px var(--ink)}.panorama-node .icon{width:16px;height:16px}.panorama-node .day-icon{flex-wrap:wrap;justify-content:center;align-items:center;gap:1px;width:100%;min-height:18px;display:flex}.panorama-node .day-icon .tone-token{background:0 0;gap:0;padding:0}.panorama-node .day-icon .tone-glyph{width:11px;height:11px}.panorama-node .day-icon .tone-token b{font-size:9px}.panorama-node .day-icon .four-icon{grid-template-columns:1fr 1fr;display:grid}.panorama-node .letter-icon{font-family:var(--display);letter-spacing:-.04em;font-size:13px;line-height:1}.panorama-node .letter-icon.long{font-size:10px}.panorama-gate{background:var(--paper);width:24px;height:24px;color:var(--ink);border-radius:4px;justify-content:center;align-items:center;display:flex;position:absolute;top:89px;right:4px}.panorama-gate .icon{width:20px;height:20px}.paywall-main{padding:12px 20px 0}.paywall-main h1{text-align:center;margin-bottom:16px;font-size:29px}.features{grid-template-columns:1fr 1fr 1fr;gap:6px;margin-bottom:17px;display:grid}.features>div{flex-direction:column;align-items:center;gap:7px;font-size:13px;display:flex}.features .icon{width:24px;height:24px}.plans{padding:0}.plan{text-align:left;border:1px solid var(--muted);background:var(--surface);border-radius:15px;align-items:center;gap:12px;width:100%;min-height:66px;margin-bottom:10px;padding:11px 15px;font-size:13px;display:flex}.plan strong{font-size:16px;display:block}.plan.selected{border:2px solid var(--ink);padding:10px 14px}.radio{border:1.5px solid var(--ink);border-radius:50%;flex-shrink:0;width:18px;height:18px;display:block}.selected .radio{background:var(--ink);box-shadow:inset 0 0 0 4px var(--surface)}.renewal{text-align:center;color:var(--muted);max-width:310px;margin:13px auto 0;font-size:13px}.paywall-footer{margin-top:auto;padding:20px 20px 0}.paywall-footer .btn{width:100%}.legal{justify-content:center;gap:8px;padding-top:10px;display:flex}.legal>*{min-width:80px;padding:7px;font-size:13px}.legal-page{max-width:390px;padding:16px 0 8px}.legal-page h1{margin-bottom:4px;font-size:26px}.legal-page .legal-updated{color:var(--muted);margin-bottom:8px;font-size:13px}.legal-page .draft-note{border:1px solid var(--line);color:var(--muted);background:var(--surface);border-radius:7px;align-items:center;margin-bottom:16px;padding:3px 8px;font-size:13px;display:inline-flex}.legal-page section{margin-top:18px}.legal-page h2{margin-bottom:6px;font-size:17px}.legal-page p,.legal-page li{color:var(--muted)}.legal-page p{margin-bottom:10px}.legal-page ul{margin:0 0 10px;padding-left:20px}.legal-page li{margin-bottom:5px}.legal-page a{text-underline-offset:3px;text-decoration:underline}.legal-footer{border-top:1px solid var(--line);text-align:center;margin-top:24px;padding:8px 0 4px}.legal-footer nav{flex-wrap:wrap;justify-content:center;gap:0 2px;display:flex}.legal-footer a{color:var(--muted);text-underline-offset:3px;justify-content:center;align-items:center;padding:0 6px;font-size:13px;text-decoration:underline;display:inline-flex}.legal-footer-small{color:var(--muted);margin-top:2px;font-size:12px}.sign-in{flex-direction:column;min-height:calc(100dvh - 48px);display:flex}.sign-in>.app-header{justify-content:flex-start}.email-main{padding-top:32px}.email-main h1{margin-bottom:24px}.email-main .btn{width:100%;margin-top:24px}.email-input{border:2px solid var(--muted);background:var(--surface);width:100%;height:62px;font-size:18px;font-family:var(--sans);color:var(--ink);border-radius:13px;padding:12px 14px}.email-input::placeholder{color:var(--muted);opacity:1}.email-main .no-password{text-align:center;color:var(--muted);margin-top:16px}.email-main .code-sent{color:var(--muted);margin-bottom:8px}.otp{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:20px 0 19px;display:grid}.otp input{border:2px solid var(--muted);background:var(--surface);width:100%;min-width:0;height:60px;color:var(--ink);text-align:center;font:600 24px var(--display);border-radius:10px;padding:0}.otp input:focus{border-color:var(--brand)}.account-links{flex-direction:column;align-items:center;display:flex}.account-links p{margin-bottom:0;font-size:13px}.resend-count{color:var(--muted)}.tab-page{flex-direction:column;min-height:calc(100dvh - 48px);display:flex}.tab-page .app-header{flex-shrink:0;justify-content:flex-start;gap:6px}.tab-page .bottom-nav{margin-top:auto;margin-left:-20px;margin-right:-20px}.profile-section,.review-section{border-top:1px solid var(--line);padding:16px 0}.profile-section:first-of-type,.review-section:first-of-type{border-top:0}.profile-section h2,.review-section h2{margin-bottom:8px;font-size:16px}.profile-value{color:var(--muted);font-size:15px}.profile-links{margin:0;padding:0;list-style:none}.profile-link{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;min-height:48px;font-size:15px;display:flex}.profile-link:last-child{border-bottom:0}.profile-section .btn{width:100%}.danger-link{color:var(--t4)}.danger-button{background:var(--t4);border-color:var(--t4)}.danger-note{color:var(--muted);margin-bottom:8px;font-size:14px}.account{flex-direction:column;min-height:calc(100dvh - 48px);display:flex}.account>.app-header{justify-content:flex-start}.account-email{color:var(--muted);padding:8px 0 4px;font-size:15px}.consent-row{align-items:flex-start;gap:10px;min-height:48px;padding:8px 0;font-size:15px;display:flex}.consent-row input[type=checkbox]{width:22px;min-width:22px;height:22px;min-height:22px;accent-color:var(--brand);flex-shrink:0;margin:0}.consent-note{color:var(--muted);margin-bottom:8px;font-size:13px}.review-section .btn.review-start{width:100%;margin-top:8px}.review-empty{color:var(--muted);padding-bottom:4px;font-size:14px}.mistake-list,.past-days{margin:0;padding:0;list-style:none}.mistake-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;min-height:52px;display:flex}.pair-tokens{align-items:center;gap:8px;display:inline-flex}.pair-tokens .tone-token{font-size:15px}.pair-sep,.pair-count{color:var(--muted);font-size:13px}.sound-word{align-items:baseline;gap:7px;display:inline-flex}.sound-hanzi{font-size:22px;line-height:1}.sound-pinyin{color:var(--muted);font-size:14px}.past-day{border-bottom:1px solid var(--line);align-items:center;gap:12px;min-height:56px;display:flex}.past-day-number{font-weight:700;font-family:var(--display)}.past-day-label{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;flex:1;font-size:14px;overflow:hidden}.past-day .icon{width:20px;height:20px;color:var(--muted)}.tab-page .source-block{margin-bottom:13px}
