@font-face{font-family:StudioSans;src:local("Microsoft YaHei"),local("微软雅黑");font-display:swap}
:root{--paper:#f7f6f0;--surface:#fffefa;--ink:#303a30;--muted:#85897b;--green:#3e5842;--green-dark:#304835;--sage:#eaf0e3;--line:#e5e6db;--rust:#ad6549;--rust-light:#f6e9e0;--sidebar:214px;--radius:16px}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:StudioSans,"PingFang SC",system-ui,sans-serif;font-size:14px;line-height:1.6;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:default}a{color:inherit;text-decoration:none}button{border:0;background:none}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid var(--rust);outline-offset:4px}button,button svg,a{transition:background .2s,color .2s,opacity .2s,box-shadow .2s}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle;flex-shrink:0}[hidden]{display:none!important}.svg-defs{position:absolute;width:0;height:0;overflow:hidden}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:600}h2{font-size:15px}h3{font-size:15px}.app-shell{min-height:100vh;display:flex}.sidebar{width:var(--sidebar);position:fixed;inset:0 auto 0 0;background:#efefe6;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:36px 20px 16px;z-index:20}.brand{display:flex;gap:12px;align-items:center;margin:0 10px 58px}.brand-mark{background:var(--green);color:#fffaf1;width:42px;height:46px;border-radius:10px 10px 13px 3px;display:grid;place-items:center;font-family:serif;font-size:29px}.brand-name{font-size:27px;letter-spacing:5px;line-height:1.1;font-weight:600}.brand-name small{display:block;font-family:system-ui,sans-serif;font-size:8px;letter-spacing:2px;font-weight:500;margin-top:8px}.nav-label{font-size:11px;letter-spacing:2px;color:#929586;margin:0 15px 13px}.nav-item{display:flex;gap:12px;align-items:center;min-height:46px;padding:12px 14px;border-radius:9px;margin-bottom:6px;color:#727969;font-size:14px}.nav-item svg{width:19px;height:19px}.nav-item:hover{background:#e6e8dc}.nav-item.active{color:var(--green-dark);background:#dce4d2;font-weight:600}.nav-count{margin-left:auto;background:#cbd9be;border-radius:5px;font-family:system-ui,sans-serif;font-size:11px;min-width:22px;line-height:21px;text-align:center}.nav-dot{width:5px;height:5px;border-radius:50%;background:#aa815c;margin-left:auto}.sidebar-landscape{margin-top:auto;padding:45px 10px 20px}.sidebar-landscape svg{width:100%;height:auto;stroke:none;margin-bottom:15px;opacity:.85}.sidebar-landscape p{font-size:18px;line-height:1.8;letter-spacing:2px;color:#66765f}.sidebar-landscape>span{font-size:10px;color:#939a88;display:block;margin-top:13px;letter-spacing:1px}.sidebar-bottom{border-top:1px solid #dee2d5;padding-top:16px;margin-top:20px}.sidebar-bottom .nav-item{font-size:12px;min-height:35px;padding-top:6px;padding-bottom:6px}.local-status{font-size:10px;display:flex;gap:6px;align-items:center;margin:14px 13px 0;color:#8a9281;white-space:nowrap}.local-status i{width:5px;height:5px;background:#829673;border-radius:50%}.local-status>span{margin-left:auto;font-family:system-ui}.workspace{margin-left:var(--sidebar);width:calc(100% - var(--sidebar));display:flex;flex-direction:column;min-height:100vh}.topbar{height:70px;padding:0 40px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;background:#f9f8f3}.breadcrumb{font-size:12px;color:#989c91;display:flex;gap:15px}.breadcrumb strong{font-weight:400;color:#52614b}.breadcrumb>span{color:#c0c4b7}.topbar-right{display:flex;align-items:center;gap:18px}.demo-label{font-size:11px;letter-spacing:.3px;color:#8c9483}.topbar-divider{width:1px;height:20px;background:var(--line)}.avatar{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:#e6e9db;color:#6d7d5d;font-size:12px}main{width:100%;max-width:1500px;margin:0 auto;padding:30px 40px 12px;flex:1}.page{animation:page-in .25s ease}@keyframes page-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.page-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:25px}.eyebrow{font-size:9px;font-family:system-ui,sans-serif;font-weight:600;letter-spacing:2.3px;color:#9b9e8e;margin-bottom:7px}h1{font-size:28px;letter-spacing:1.5px;line-height:1.5}.title-dot{color:var(--rust)}.page-heading p{font-size:12px;color:var(--muted);margin-top:7px;letter-spacing:.4px}.outline-pill{border:1px solid #daddce;color:#6d7b61;border-radius:7px;padding:9px 12px;display:inline-flex;align-items:center;gap:8px;font-size:11px;white-space:nowrap}.outline-pill svg{width:15px;height:15px}.clickable:hover{background:var(--sage)}.daily-summary{display:flex;align-items:center;border:1px solid var(--line);background:#fdfcf7;border-radius:12px;min-height:91px;padding:16px 25px;margin-bottom:24px;gap:0}.summary-intro{flex:1;padding-right:20px}.tiny-label{display:block;font-size:10px;letter-spacing:1px;color:#8a927c}.summary-intro strong{display:block;font-size:13px;font-weight:400;letter-spacing:.3px;margin-top:8px;color:#54604b}.summary-stat{padding:0 27px;border-left:1px solid var(--line);min-width:109px}.summary-stat>span{font-size:10px;color:#909582;display:block;white-space:nowrap}.summary-stat>strong{white-space:nowrap;font-family:system-ui,sans-serif;font-size:26px;font-weight:500;display:block;line-height:1.3;margin-top:3px;font-variant-numeric:tabular-nums;color:#485940}.summary-stat small{font-family:StudioSans,sans-serif;font-size:10px;font-weight:400;color:#969d8c;margin-left:6px}.sample-tag{font-size:8px;color:#a9aa9d;padding-left:3px}.summary-progress{min-width:132px;padding-left:23px;border-left:1px solid var(--line)}.summary-progress>div:first-child{display:flex;justify-content:space-between;gap:18px;font-size:10px;color:#8d9582}.summary-progress b{font-weight:500;color:#5f7253;font-family:system-ui}.progress-track{height:4px;background:#e5eadc;border-radius:3px;margin-top:13px;overflow:hidden}.progress-track i{display:block;height:100%;width:0;background:#819c6a;border-radius:3px;transition:width .3s}.study-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:25px}.section-line{display:flex;align-items:center;justify-content:space-between;min-height:32px;margin-bottom:10px;gap:8px}.section-line h2{font-size:13px;letter-spacing:.5px;display:flex;align-items:center;gap:10px}.section-index{font-family:system-ui,sans-serif;font-size:10px;letter-spacing:1px;color:#9ca491;font-weight:500}.muted-text{font-size:10px;color:#929889}.mini-label{font-family:system-ui,sans-serif;font-size:9px;background:#e6ebdf;color:#6d805b;border-radius:4px;padding:2px 7px;letter-spacing:.5px}.hanzi-card{background:var(--surface);border:1px solid #dfe3d5;border-radius:18px;box-shadow:0 8px 22px #34412b05,0 1px 2px #34412b05;position:relative;overflow:hidden;min-height:435px;display:flex;flex-direction:column}.card-top{display:flex;justify-content:space-between;align-items:center;padding:21px 25px 0}.small-badge{font-size:10px;color:#718262;letter-spacing:.5px;background:#edf1e7;padding:4px 9px;border-radius:4px;display:inline-flex;align-items:center;gap:5px}.small-badge i{width:4px;height:4px;background:#7b936b;border-radius:50%}.card-number{font-family:system-ui,sans-serif;color:#b3b8a8;font-size:10px;letter-spacing:1px}.card-number b{font-weight:500;color:#7c886f}.hanzi-hero{position:relative;text-align:center;padding-top:8px;flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:214px}.hero-pinyin{display:flex;justify-content:center;align-items:center;gap:8px;font-family:system-ui,sans-serif;color:#697b5d;font-size:21px;letter-spacing:1px;height:32px}.sound-button{border:1px solid #e3e7d9;background:#f7f8f1;border-radius:50%;width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;padding:6px;color:#7a8b69}.sound-button svg{width:15px;height:15px}.sound-button:hover{background:#e7edde}.hero-character{font-size:130px;line-height:1.35;font-family:"Kaiti SC","KaiTi","STKaiti",serif;letter-spacing:0;color:#344631;height:173px;display:grid;place-items:center;user-select:none}.hero-character svg{height:161px;width:161px;stroke:none;overflow:visible}.character-meta{display:flex;align-items:center;justify-content:center;gap:11px;color:#909783;font-size:10px;letter-spacing:.5px;margin-top:0}.character-meta i{width:3px;height:3px;background:#b5bca8;border-radius:50%}.card-answer{padding:16px 29px 18px}.meaning-line{font-size:12px;display:flex;gap:14px;align-items:center;justify-content:center;color:#65705c}.detail-label{font-size:10px;color:#9ba18d}.word-pills{display:flex;justify-content:center;gap:10px;margin-top:16px}.word-pill{display:flex;flex-direction:column;align-items:center;gap:1px;padding:6px 12px;min-width:100px;background:#f5f6ed;border:1px solid #eaecdf;border-radius:7px}.word-pill .word-pinyin{font-family:system-ui,sans-serif;font-size:10px;color:#9b9f8a;letter-spacing:.5px;white-space:pre}.word-pill .word-text{font-size:17px;letter-spacing:4px;margin-left:4px;color:#526047}.word-pill:hover{background:#edf1e4}.example-line{font-size:13px;text-align:center;margin-top:17px;letter-spacing:1px;color:#68735f}.example-line em{font-style:normal;color:#a66c4d;border-bottom:1px solid #d8bda2;padding-bottom:2px}.card-bottom{border-top:1px solid #edf0e4;padding:11px 23px;display:flex;align-items:center;justify-content:space-between;min-height:44px;background:#fcfcf6}.text-button{font-size:10px;color:#88947b;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:4px 0}.text-button:hover{color:var(--rust)}.text-button svg{height:13px;width:13px}.keyboard-hint{font-family:system-ui,sans-serif;font-size:9px;color:#b0b5a3}.hanzi-card .answer-content{visibility:hidden}.hanzi-card.revealed .answer-content{visibility:visible}.hanzi-card:not(.revealed) .hanzi-hero{min-height:296px}.hanzi-card:not(.revealed) .card-answer{display:none}.hanzi-card:not(.revealed) .hero-pinyin{height:0}.hanzi-card:not(.revealed) .character-meta{display:none}.hanzi-card:not(.revealed) .hero-character{height:200px}.recall-prompt{font-size:12px;color:#9ba18e;margin-top:20px;letter-spacing:1px}.hanzi-card.revealed .recall-prompt{display:none}.hanzi-card.revealed .keyboard-hint{display:none}.rating-panel{margin-top:17px}.rating-label{font-size:11px;color:#6d785f;display:flex;justify-content:space-between;align-items:center;margin-bottom:9px}.rating-label>span{font-size:9px;color:#a0a694}.ratings{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.rating{display:flex;flex-direction:column;gap:3px;border:1px solid #dfdfd3;background:#fffdf8;border-radius:8px;padding:10px 12px;text-align:left}.rating>span{font-size:12px;display:flex;align-items:center;justify-content:space-between}.rating small{font-size:10px;color:#929685;font-family:StudioSans,sans-serif}.rating kbd{font-family:system-ui,sans-serif;font-size:8px;border:1px solid currentColor;border-radius:3px;padding:0 3px;opacity:.4;line-height:1.4}.rating.again{border-color:#e8d6cb;color:#a37058;background:#fbf4ed}.rating.hard{border-color:#e6dfca;color:#9b8b57;background:#faf8ef}.rating.good{border-color:#476143;color:#f8faf4;background:#476143}.rating.good small{color:#d0ddc8}.rating.easy{border-color:#d3dfca;color:#6f875e;background:#f0f4e9}.rating:disabled{opacity:.4}.rating:not(:disabled):hover{box-shadow:0 3px 10px #34412b15;transform:translateY(-1px)}.prototype-note{font-size:9px;color:#a1a591;text-align:center;margin-top:10px}.memory-panel{border:1px solid #dce3d2;border-radius:12px;background:#f0f3e9;padding:20px 18px 12px}.memory-heading{display:flex;gap:7px;align-items:center;color:#617653;font-size:11px;white-space:nowrap}.memory-heading svg{height:15px;width:15px}.memory-panel>p{font-size:11px;color:#8a957d;line-height:1.9;margin-top:9px}.memory-chart{margin-top:17px}.chart-y{font-size:8px;color:#a3ad95;margin-bottom:3px}.memory-chart svg{height:auto;width:100%;overflow:visible;stroke:none}.memory-chart text{font-family:StudioSans,sans-serif;font-size:9px;fill:#a8997e}.memory-retention{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #dce4d2;padding-top:10px;margin-top:12px;color:#7a886c;font-size:10px}.memory-retention strong{font-size:23px;font-family:system-ui,sans-serif;font-weight:500;line-height:1.2;color:#60774c}.memory-retention small{font-size:11px;margin-left:2px;font-weight:400}.tiny-caption{font-size:9px;color:#99a189;margin-top:9px;line-height:1.8}.today-panel{padding:20px 0 0}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.panel-heading h3{font-size:12px;font-weight:500}.panel-heading>span{font-size:9px;color:#98a08b}.today-characters{display:grid;grid-template-columns:repeat(6,1fr);gap:5px;margin-top:12px}.today-character{border:1px solid #e1e5d8;aspect-ratio:1;background:#fafbf5;display:grid;place-items:center;border-radius:6px;font-size:19px;color:#8c977e;padding:0}.today-character.active{border-color:#c8d3ba;background:#e7edde;color:#4b6441}.today-legend{display:flex;align-items:center;gap:5px;font-size:8px;color:#93a080;margin-top:10px}.today-legend i{width:4px;height:4px;background:#87a171;border-radius:50%}.today-legend>span{margin-left:auto;color:#adb39f}.reader-invitation{background:#ebece0;border:1px solid #e0e2d2;border-radius:11px;padding:18px;display:block;margin-top:20px}.reader-invitation>svg{color:#879374;width:23px;height:23px;margin-bottom:12px}.reader-invitation h3{font-size:14px;font-weight:500;letter-spacing:.5px;color:#586b4b}.reader-invitation p{font-size:10px;color:#929a82;margin-top:7px}.reader-invitation>span{display:flex;align-items:center;gap:8px;font-size:10px;color:#7b8c68;margin-top:18px}.reader-invitation>span svg{height:14px;width:14px}.reader-invitation:hover{background:#e2e7d8}.app-footer{display:flex;justify-content:space-between;padding:18px 40px;font-size:9px;color:#b0b5a3;letter-spacing:.5px}.primary-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:11px;padding:11px 16px;border-radius:7px;line-height:1.5;white-space:nowrap}.primary-button{background:var(--green);color:#fafcf5;border:1px solid var(--green)}.primary-button:hover{background:#2d4530}.secondary-button{background:#fbfcf6;color:#7c8a6d;border:1px solid #dce2d2}.secondary-button:hover{background:#edf1e5}.primary-button svg,.secondary-button svg{width:15px;height:15px}.icon-button{width:35px;height:35px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #e0e5d5;border-radius:7px;color:#8d9a7c;background:#fafbf6}.icon-button svg{width:16px;height:16px}.icon-button:hover{background:#ecf0e3}.writing-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:25px}.writing-card{border:1px solid #dee3d4;border-radius:16px;background:var(--surface);overflow:hidden}.writing-card-head{padding:14px 23px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eef0e7}.writing-card-head>div{display:flex;align-items:center;gap:12px}.writing-char{font-size:25px}.writing-card-head #writing-pinyin{font-family:system-ui;color:#95a085;font-size:13px}.writing-paper{position:relative;display:flex;flex-direction:column;align-items:center;padding:24px 15px 20px;background:radial-gradient(#e8e7d64d .6px,transparent .6px),#fffef8;background-size:5px 5px}.rice-grid{width:320px;height:320px;border:1px solid #d4d8c7;position:relative;background:linear-gradient(45deg,transparent calc(50% - .5px),#e5e5d7 50%,transparent calc(50% + .5px)),linear-gradient(-45deg,transparent calc(50% - .5px),#e5e5d7 50%,transparent calc(50% + .5px))}.rice-grid:before,.rice-grid:after{content:"";position:absolute;pointer-events:none;z-index:1}.rice-grid:before{top:50%;left:0;right:0;border-top:1px dashed #d9ddcc}.rice-grid:after{left:50%;top:0;bottom:0;border-left:1px dashed #d9ddcc}#writer-target{position:relative;z-index:2;touch-action:none;width:100%;height:100%}#writer-target>svg{display:block;width:100%;height:100%;stroke:none}#stroke-diagram{position:relative;z-index:2}#stroke-diagram>svg{height:100%;width:100%;stroke:none;display:block}.paper-corner{position:absolute;width:16px;height:16px;border-color:#cfd5bf;border-style:solid}.paper-corner.top-left{left:24px;top:22px;border-width:1px 0 0 1px}.paper-corner.bottom-right{right:24px;bottom:22px;border-width:0 1px 1px 0}.writing-step-label{display:flex;align-items:center;gap:7px;color:#a57050;font-size:11px;margin-top:20px}.step-dot{width:5px;height:5px;background:#b17752;border-radius:50%}.writing-paper>p{font-size:10px;color:#a1a58f;margin-top:7px;min-height:16px}.writing-controls{display:flex;align-items:center;justify-content:center;gap:9px;padding:15px;border-top:1px solid #e9ecdf;background:#fcfcf6}.speed-control{font-size:10px;color:#959d86;margin-left:15px;display:flex;align-items:center;gap:7px}.speed-control select{font-family:system-ui;color:#778869;background:#f7f9ef;border:1px solid #e1e5d6;border-radius:4px;padding:4px;font-size:10px}.stroke-order-section{margin-top:19px}.stroke-order{display:flex;gap:13px;flex-wrap:wrap}.stroke-tile{width:105px;padding:10px 8px 7px;background:#fdfcf7;border:1px solid #e0e4d5;border-radius:9px;text-align:center;color:#95a087;position:relative}.stroke-tile.active{border-color:#c7b69c;background:#fbf5ed;color:#ad7753}.stroke-tile svg{width:70px;height:70px;stroke:none}.stroke-tile>.stroke-label{display:block;font-size:9px;border-top:1px solid #ebeadd;padding-top:6px;margin-top:5px}.stroke-tile>b{position:absolute;top:6px;left:8px;font-size:8px;font-family:system-ui;font-weight:500}.character-insight{background:#f0f2e7;border:1px solid #e0e6d4;border-radius:12px;padding:20px}.character-insight h3{font-size:14px;margin-top:9px;font-weight:500;letter-spacing:.2px}.character-insight>p{font-size:11px;line-height:1.9;margin-top:9px;color:#929c83}.shape-art{height:80px;font-family:serif;font-size:60px;text-align:center;color:#97aa84;letter-spacing:6px;line-height:80px}.insight-facts{display:flex;justify-content:space-between;border-top:1px solid #dce3cd;padding-top:12px}.insight-facts>span{font-size:9px;color:#a2ab92}.insight-facts strong{display:block;font-size:11px;font-weight:500;color:#78896a;margin-top:5px}.writing-tip{border:1px solid var(--line);border-radius:11px;padding:19px 20px;margin-top:17px;background:#fbfaf4}.writing-tip h3{font-size:15px;letter-spacing:1px;margin-top:10px;color:#7c896b;font-weight:500}.rule-divider{width:25px;border-top:1px solid #d3d9c5;margin:13px 0}.writing-tip p{font-size:10px;color:#9a9f8c;line-height:1.9}.practice-panel{padding:21px 20px 16px;background:#e9eee0;border:1px solid #dce4d1;border-radius:12px;margin-top:17px}.practice-panel>svg{color:#8d9e7b;width:22px;height:22px;margin-bottom:11px}.practice-panel h3{font-size:14px;color:#657856}.practice-panel>p{font-size:11px;color:#949e85;line-height:1.8;margin-top:8px}.practice-panel .primary-button{margin-top:17px;width:100%;justify-content:space-between}.practice-panel>p.tiny-caption{font-size:8px;line-height:1.7;margin-top:10px}.writing-switch{display:flex;gap:7px;margin-top:16px}.writing-switch button{flex:1;font-size:16px;border:1px solid #e0e4d5;padding:5px;border-radius:5px;color:#99a38c}.writing-switch button.active{background:#e6eddd;color:#60794d;border-color:#c8d5b8}.reader-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:25px}.reader-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.reader-toolbar>div{display:flex;align-items:center;gap:11px}.reader-length{font-size:9px;color:#a0a68f}.reader-tools{display:flex;align-items:center;gap:13px}.toggle-pinyin{display:flex;align-items:center;gap:7px;font-size:10px;color:#8f9b7e;padding:0}.pinyin-icon{font-family:system-ui;font-size:10px}.switch{display:inline-block;width:27px;height:15px;border-radius:10px;background:#d8decf;position:relative}.switch:after{content:"";width:11px;height:11px;background:#fff;position:absolute;top:2px;left:2px;border-radius:50%;transition:left .15s}.toggle-pinyin[aria-pressed=true] .switch{background:#748f60}.toggle-pinyin[aria-pressed=true] .switch:after{left:14px}.reader-tools .icon-button{width:30px;height:30px;background:#f8f9f2}.story-card{padding:29px 39px 0;background:#fffef9;border:1px solid #e0e4d6;border-radius:16px;box-shadow:0 5px 15px #36412c03}.story-eyebrow{display:flex;justify-content:center;align-items:center;gap:10px;color:#a3ac93;font-size:9px;letter-spacing:3px}.story-eyebrow>span{width:23px;height:1px;background:#dbe0ce}.story-card>h2{text-align:center;font-size:27px;letter-spacing:5px;margin-top:10px;font-weight:500;color:#4d6243}.story-subtitle{text-align:center;color:#a3a991;letter-spacing:1px;font-size:10px;margin-top:8px}.story-body{font-size:23px;line-height:2.4;color:#5b6751;margin-top:28px;letter-spacing:1px}.story-body>p{margin:0 0 15px}.story-character{padding:0;border:0;background:none;border-radius:3px;display:inline;line-height:1.5;letter-spacing:inherit;font-size:inherit;color:inherit;vertical-align:baseline}.story-character:hover{background:#f2e4d7;color:#b2734e}.story-character.target{background:#edf2e5;color:#668653;border-bottom:1px solid #cad9ba;padding:0 1px}.story-character.selected{background:#f6e8d9;border-color:#ddba98;color:#a36944}.story-character ruby{ruby-align:center}.story-character rt{font-family:system-ui;font-size:10px;letter-spacing:0;font-weight:400;color:#9ba88d;visibility:hidden;height:0}.story-body:not(.with-pinyin) rt{display:none}.story-body.with-pinyin rt{visibility:visible}.story-body.with-pinyin{line-height:2.8}.story-end-mark{font-size:9px;letter-spacing:6px;text-align:center;color:#c1c6b3;margin:27px 0}.story-footer{display:flex;justify-content:space-between;border-top:1px solid #eef0e5;padding:15px 0;font-size:8px;color:#a3ad93;gap:6px}.story-footer>span:first-child{display:flex;align-items:center;gap:5px}.story-footer i{width:6px;height:6px;background:#e0e9d4;border:1px solid #c7d7b7;border-radius:2px}.reading-complete{display:flex;align-items:center;justify-content:space-between;padding:17px 0 0}.reading-complete>div{display:flex;align-items:center;gap:6px;font-size:10px;color:#a0aa8d}.reading-complete>div svg{width:16px;height:16px}.lookup-card{background:#fffefa;border:1px solid #e0e4d6;border-radius:12px;padding:18px;text-align:center}.lookup-head{display:flex;justify-content:space-between;align-items:center}.lookup-head .small-badge{font-size:8px}.lookup-head .sound-button{width:24px;height:24px}.lookup-pinyin{font-family:system-ui;color:#869777;font-size:16px;margin-top:10px;letter-spacing:.5px}.lookup-hanzi{font-family:serif;font-size:75px;color:#48613c;line-height:1.4;display:grid;place-items:center;height:100px}.lookup-hanzi svg{height:90px;width:90px;stroke:none}.lookup-meaning{color:#949e85;font-size:11px;margin-top:2px;line-height:1.8}.lookup-context{background:#f5f5ed;border-radius:6px;text-align:left;padding:11px;margin-top:17px}.lookup-context>span{font-size:8px;color:#a5ad96}.lookup-context p{font-size:11px;color:#7a8e68;margin-top:6px;line-height:1.9}.lookup-words{display:flex;flex-direction:column;margin:13px 0 16px;text-align:left}.lookup-word{display:flex;align-items:center;justify-content:space-between;font-size:13px;color:#748766;padding:7px 2px;border-bottom:1px solid #eef0e5;letter-spacing:1px}.lookup-word>span{font-family:system-ui;font-size:10px;color:#a6af99;letter-spacing:.2px}.lookup-card>.secondary-button{width:100%;font-size:10px;padding:9px;justify-content:space-between}.save-word{font-size:9px;margin:11px auto 0}.reader-targets{margin-top:20px;border:1px solid #e0e6d6;background:#f0f3e9;border-radius:11px;padding:18px}.reader-targets .panel-heading h3{font-size:11px}.reader-targets .panel-heading>.coverage{color:#829a6b;font-family:system-ui}.target-character-list{display:flex;gap:7px;margin-top:13px;flex-wrap:wrap}.target-character-list>button{width:29px;height:34px;border-radius:4px;background:#e3ebd7;color:#779362;border:1px solid #d5e0c6;font-size:16px;padding:0}.reader-targets>p{font-size:8px;color:#9aa78a;margin-top:13px;display:flex;align-items:center;gap:5px}.reader-targets>p svg{width:11px;height:11px}.library-toolbar{display:flex;align-items:center;justify-content:space-between;margin:25px 0}.search-field{display:flex;gap:9px;align-items:center;background:var(--surface);border:1px solid var(--line);padding:9px 14px;border-radius:7px;min-width:260px}.search-field svg{color:#9baa8c;width:16px;height:16px}.search-field input{border:none;background:none;outline:none;font-size:11px;width:100%;color:var(--green)}.library-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.library-card{background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:20px 25px;text-align:center}.library-card:hover{background:#f0f4e6;border-color:#c7d7b6}.library-card>span{font-size:11px;color:#9ba58f;font-family:system-ui}.library-card h2{font-family:serif;font-size:66px;line-height:1.7;color:#5a7548}.library-card p{font-size:11px;color:#9ba48e}.library-card>div{border-top:1px solid var(--line);margin-top:15px;padding-top:12px;font-size:10px;color:#82976e}.saved-panel{margin-top:30px;border-top:1px solid var(--line);padding-top:25px}.saved-panel h2{margin-bottom:15px}.saved-panel>.muted-text{margin-top:13px}.saved-chip{padding:7px 15px;border:1px solid #d4dec8;border-radius:5px;color:#7c9269;background:#edf2e4;margin:0 8px 8px 0}.plan-notice{padding:18px 22px;border:1px solid #dbdfcf;background:#edf0e3;border-radius:10px;font-size:12px;color:#7d8a6d;line-height:1.9;margin-bottom:24px}.plan-notice strong{color:#546c46;font-weight:500}.plan-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.plan-block{padding:28px;background:#fffef9;border:1px solid #e0e4d5;border-radius:12px}.plan-block h2{font-size:18px;letter-spacing:.5px;margin-top:11px;margin-bottom:16px;color:#566d48}.plan-block p{font-size:12px;line-height:2;color:#8d9780;margin-top:11px}.plan-block a{text-decoration:underline;text-underline-offset:3px;color:#71885d}.full-width{grid-column:1/-1}.architecture{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:25px 0;padding:22px;background:#f3f5eb;border-radius:9px}.architecture>span{text-align:center;font-size:12px;color:#71835f}.architecture small{display:block;font-size:9px;color:#a0aa91;margin-top:6px}.architecture>b{font-size:17px;font-weight:400;color:#b2bda1}.milestones{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;margin-top:24px}.milestones>div{padding-right:15px}.milestones b{font-size:9px;color:#b28c65;letter-spacing:2px}.milestones h3{font-size:14px;color:#778b65;margin-top:8px}.milestones p{font-size:11px}.toast{position:fixed;bottom:30px;left:calc(50% + 100px);transform:translate(-50%,20px);color:#f7faef;background:#3e5539f0;border:1px solid #6b805c;border-radius:9px;padding:12px 22px;font-size:12px;opacity:0;pointer-events:none;transition:.2s;z-index:100;max-width:min(90vw,550px);box-shadow:0 6px 25px #293a2720;text-align:center}.toast.visible{opacity:1;transform:translate(-50%,0)}
@media(min-width:1550px){main{padding-top:40px}.page-heading{margin-bottom:30px}.hanzi-card{min-height:490px}.hanzi-hero{min-height:250px}.hero-character{font-size:145px;height:185px}.hero-character svg{width:176px;height:176px}.card-answer{padding-bottom:23px}.word-pills{margin-top:20px}.example-line{margin-top:22px}.memory-panel{padding:25px 22px 18px}}
@media(max-width:1250px){:root{--sidebar:185px}.sidebar{padding-left:14px;padding-right:14px}.brand{margin-left:6px;margin-right:0;gap:9px}.brand-name{font-size:24px}.brand-mark{width:38px;height:43px}main{padding:26px 27px 12px}.topbar{padding:0 27px}.page-heading h1{font-size:24px}.page-heading p{font-size:11px}.summary-intro{display:none}.daily-summary{padding:15px 20px}.summary-stat:first-of-type{border:0}.summary-stat{flex:1;padding:0 20px}.summary-progress{min-width:140px}.study-layout,.reader-layout{grid-template-columns:minmax(0,1fr) 235px;gap:19px}.writing-layout{grid-template-columns:minmax(0,1fr) 245px;gap:19px}.memory-panel{padding-left:15px;padding-right:15px}.memory-heading{font-size:10px}.word-pill{padding:6px 9px;min-width:80px}.word-pills{gap:8px}.story-card{padding-left:27px;padding-right:27px}.story-body{font-size:22px}.outline-pill{font-size:10px}.rice-grid{width:300px;height:300px}.writing-controls{gap:6px}.writing-controls .primary-button,.writing-controls .secondary-button{font-size:10px;padding:10px 12px}.speed-control{margin-left:6px}.app-footer{padding-left:27px;padding-right:27px}}
@media(max-width:1000px){:root{--sidebar:158px}.brand{gap:8px;margin-bottom:45px}.brand-name{font-size:22px;letter-spacing:3px}.brand-name small{font-size:6px;letter-spacing:1px}.brand-mark{width:33px;height:37px;font-size:24px}.nav-item{gap:9px;font-size:12px;padding:11px}.nav-count{min-width:18px;font-size:9px}.sidebar{padding-left:10px;padding-right:10px}.sidebar-landscape{padding-left:10px;padding-right:10px}.sidebar-landscape p{font-size:15px}.sidebar-landscape>span{font-size:8px}.local-status{font-size:8px;margin-left:8px;margin-right:8px}.study-layout{grid-template-columns:minmax(0,1fr) 210px;gap:16px}.page-heading .outline-pill{display:none}.page-heading h1{font-size:22px;letter-spacing:.5px}.summary-stat{padding:0 15px}.summary-progress{min-width:125px;padding-left:16px}.memory-heading{font-size:9px;gap:5px}.memory-panel{padding-left:12px;padding-right:12px}.word-pill{min-width:70px;padding-left:6px;padding-right:6px}.word-pill .word-pinyin{font-size:9px}.card-answer{padding-left:15px;padding-right:15px}.rating{padding-left:9px;padding-right:9px}.rating>span{font-size:11px}.rating kbd{display:none}.today-characters{gap:3px}.today-character{font-size:17px}.reader-layout{grid-template-columns:minmax(0,1fr) 215px;gap:16px}.story-card{padding-left:22px;padding-right:22px}.story-body{font-size:21px;letter-spacing:0}.story-card>h2{font-size:24px}.story-footer{font-size:7px;flex-direction:column;gap:6px}.reader-length{display:none}.reader-tools{gap:8px}.toggle-pinyin{font-size:9px}.writing-layout{grid-template-columns:minmax(0,1fr) 220px;gap:16px}.writing-controls{flex-wrap:wrap;padding:12px}.speed-control{margin-left:0}.writing-controls .primary-button,.writing-controls .secondary-button{padding:9px 10px}.rice-grid{width:270px;height:270px}.writing-paper{padding-top:25px}.character-insight,.writing-tip,.practice-panel{padding:16px}.character-insight h3{font-size:12px}.stroke-tile{width:85px}.stroke-tile svg{width:60px;height:60px}.stroke-order{gap:9px}.architecture{flex-wrap:wrap}.plan-block{padding:21px}.library-card{padding:18px}}
@media(max-width:760px){:root{--sidebar:0px}.sidebar{width:100%;height:64px;top:auto;bottom:0;padding:7px 10px;background:#f8f8f0f7;border-top:1px solid #dce2d0;border-right:0;backdrop-filter:blur(14px)}.brand,.nav-label,.sidebar-landscape,.sidebar-bottom{display:none}.sidebar nav{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.nav-item{font-size:9px;padding:3px 0;flex-direction:column;gap:3px;min-height:47px;border-radius:7px;line-height:1.5;margin:0}.nav-item svg{width:18px;height:18px}.nav-count,.nav-dot{display:none}.workspace{margin-left:0;width:100%;padding-bottom:64px}.topbar{height:52px;padding:0 20px}.breadcrumb{font-size:10px;gap:9px}.topbar-right{gap:10px}.demo-label{font-size:8px}.avatar{width:25px;height:25px;font-size:9px}.topbar-divider{height:16px}main{padding:23px 18px 10px}.page-heading{margin-bottom:22px}.eyebrow{font-size:7px;letter-spacing:1.8px}.page-heading h1{font-size:22px;letter-spacing:0}.page-heading p{font-size:10px;line-height:1.9;max-width:290px}.daily-summary{padding:13px 8px;min-height:75px;margin-bottom:18px}.summary-stat{padding:0 13px;min-width:0}.summary-stat:nth-of-type(2){border:0}.summary-stat>span{font-size:8px}.summary-stat strong{font-size:23px}.summary-stat small{font-size:9px;margin-left:4px}.summary-stat .sample-tag{display:none}.summary-progress{display:none}.summary-progress>div:first-child{font-size:8px;gap:8px}.study-layout{display:flex;flex-direction:column;gap:0}.section-line{margin-bottom:8px;min-height:28px}.section-line h2{font-size:12px}.muted-text{font-size:8px}.section-index{font-size:9px}.hanzi-card{min-height:420px;border-radius:14px}.card-top{padding:17px 20px 0}.small-badge{font-size:9px}.hanzi-hero{min-height:216px;padding-top:10px}.hero-pinyin{font-size:20px}.hero-character{height:160px;font-size:123px}.hero-character svg{height:153px;width:153px}.card-answer{padding:14px 20px 17px}.meaning-line{font-size:11px}.word-pills{gap:8px;margin-top:15px}.word-pill{flex:1;max-width:107px;padding:6px 4px;min-width:0}.word-pill .word-pinyin{font-size:9px}.word-pill .word-text{font-size:17px}.example-line{font-size:12px;margin-top:17px}.character-meta{font-size:9px}.card-bottom{padding:10px 18px}.text-button{font-size:9px}.rating-panel{margin-top:15px}.rating-label{font-size:10px}.rating-label>span{font-size:8px}.ratings{gap:7px}.rating{padding:9px 10px}.rating>span{font-size:11px}.rating small{font-size:9px}.prototype-note{font-size:8px;margin-top:10px}.study-aside{margin-top:26px;display:grid;grid-template-columns:1fr 1fr;gap:13px}.study-aside>.section-line,.study-aside>.memory-panel{display:none}.today-panel{padding:0}.today-characters{grid-template-columns:repeat(3,1fr);gap:5px}.today-character{height:36px;aspect-ratio:auto;font-size:19px}.today-panel .panel-heading h3{font-size:11px}.panel-heading>span{font-size:8px}.today-legend>span{display:none}.reader-invitation{margin-top:0;padding:15px}.reader-invitation>svg{width:18px;height:18px;margin-bottom:7px}.reader-invitation h3{font-size:12px}.reader-invitation p{font-size:9px;line-height:1.8;margin-top:5px}.reader-invitation>span{margin-top:13px;font-size:9px}.app-footer{padding:22px 18px;font-size:8px}.writing-layout{display:flex;flex-direction:column;gap:23px}.writing-card-head{padding:12px 18px}.rice-grid{height:285px;width:285px}.writing-paper{padding-top:25px;padding-bottom:19px}.writing-paper>p{font-size:10px}.writing-step-label{margin-top:16px}.writing-controls{flex-wrap:nowrap;gap:7px;padding:13px 8px}.writing-controls .primary-button,.writing-controls .secondary-button{font-size:10px;padding:9px 11px;gap:6px}.writing-controls .icon-button{width:32px;height:34px}.speed-control{font-size:0;gap:0}.speed-control select{font-size:9px;padding:4px 2px}.stroke-order-section{margin-top:17px}.stroke-tile{width:85px}.stroke-order{gap:10px}.writing-aside{display:grid;grid-template-columns:1fr 1fr;gap:13px}.writing-aside>.section-line{display:none}.character-insight{grid-column:1/-1}.shape-art{display:none}.character-insight h3{font-size:14px}.insight-facts{margin-top:15px}.writing-tip,.practice-panel{margin-top:0}.writing-tip{padding:17px 13px}.practice-panel{padding:15px 13px}.practice-panel h3{font-size:12px}.practice-panel>p{font-size:9px}.practice-panel .primary-button{font-size:10px;padding:9px;margin-top:10px}.practice-panel>p.tiny-caption{font-size:7px}.writing-switch{grid-column:1/-1;margin-top:0}.reader-layout{display:flex;flex-direction:column;gap:23px}.reader-toolbar{margin-bottom:10px}.reader-toolbar .small-badge{font-size:8px}.reader-tools{gap:10px}.toggle-pinyin{font-size:9px}.reader-length{display:block;font-size:8px}.story-card{padding:25px 23px 0;border-radius:12px}.story-eyebrow{font-size:8px;letter-spacing:2px}.story-card>h2{font-size:25px;letter-spacing:4px}.story-subtitle{font-size:9px}.story-body{font-size:22px;line-height:2.5;margin-top:23px;letter-spacing:.5px}.story-body>p{margin-bottom:13px}.story-footer{flex-direction:row;font-size:7px;gap:4px}.story-end-mark{margin:23px 0}.reader-aside{display:grid;grid-template-columns:1fr;gap:14px}.reader-aside>.section-line{margin:0}.lookup-card{display:grid;grid-template-columns:75px 1fr;gap:5px 14px;padding:17px;text-align:left}.lookup-head{grid-column:1/-1}.lookup-pinyin{grid-column:1;grid-row:2;font-size:13px;text-align:center}.lookup-hanzi{grid-column:1;grid-row:3/5;font-size:59px;height:90px;text-align:center}.lookup-hanzi svg{height:78px;width:78px}.lookup-meaning{grid-column:2;grid-row:2;margin-top:8px;font-size:10px}.lookup-context{grid-column:2;grid-row:3;margin-top:3px;padding:8px}.lookup-context>span{font-size:7px}.lookup-context p{font-size:10px}.lookup-words{grid-column:2;grid-row:4;margin:0 0 5px}.lookup-word{padding:5px 0;font-size:11px}.lookup-card>.secondary-button{grid-column:1/-1;margin-top:10px}.save-word{grid-column:1/-1;margin-top:6px}.reader-targets{margin-top:0}.target-character-list{gap:10px}.library-toolbar{margin:20px 0}.library-toolbar>.muted-text{display:none}.search-field{width:100%}.library-grid{grid-template-columns:repeat(2,1fr);gap:12px}.library-card{padding:15px}.library-card h2{font-size:55px}.plan-grid{grid-template-columns:1fr;gap:15px}.plan-notice{font-size:11px;padding:16px}.plan-block{padding:20px}.plan-block h2{font-size:17px}.plan-block p{font-size:11px}.architecture{display:grid;grid-template-columns:1fr;gap:10px}.architecture>b{transform:rotate(90deg);text-align:center;font-size:15px}.architecture>span{font-size:11px}.milestones{grid-template-columns:1fr;gap:20px}.toast{left:50%;bottom:80px;font-size:11px;width:max-content;max-width:90vw}.page-heading>.clickable{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* English is an optional learning aid; the card's answer visibility still applies. */
.english-text{display:none;font-family:system-ui,sans-serif;letter-spacing:0;font-weight:400}
.english-enabled .english-text{display:block}
.english-toggle{display:flex;align-items:center;gap:8px;color:#819071;font-size:10px;white-space:nowrap;padding:5px 0}
.english-toggle[aria-checked=true] .switch{background:#748f60}
.english-toggle[aria-checked=true] .switch:after{left:14px}
.card-meaning-en{text-align:center;font-size:12px;color:#7d8d6c;margin-top:5px;line-height:1.6}
.word-english{font-size:10px;line-height:1.4;color:#859576;max-width:135px;margin-top:3px}
.lookup-definition{min-width:0}
.lookup-meaning-en{font-size:11px;line-height:1.6;color:#839675;margin-top:5px}
.lookup-word{display:block;width:100%;text-align:left}
.lookup-word>.lookup-word-main{display:flex;align-items:center;justify-content:space-between;font-family:inherit;font-size:13px;color:#748766;letter-spacing:1px;gap:8px}
.lookup-word-pinyin{font-family:system-ui,sans-serif;font-size:10px;color:#a6af99;letter-spacing:.2px}
.lookup-word>.lookup-word-english{font-size:10px;line-height:1.5;color:#8d9c7e;letter-spacing:0;margin-top:4px}
.library-card>.library-meaning-en{font-size:11px;color:#82976e;line-height:1.6;margin-top:7px}
@media(max-width:760px){
  .topbar-right .demo-label{display:none}
  .english-toggle{font-size:9px;gap:6px}
  .card-meaning-en{font-size:11px}
  .word-english{font-size:9px;max-width:100%}
  .lookup-definition{grid-column:2;grid-row:2}
  .lookup-meaning-en{font-size:10px;margin-top:4px}
  .lookup-word>.lookup-word-main{font-size:11px}
  .lookup-word>.lookup-word-english{font-size:9px}
}
.connection-status{display:block;width:100%;padding:12px 18px;border:1px solid #d7dfc9;border-radius:8px;background:#eef3e5;color:#61754e;text-align:left;margin-bottom:18px;font-size:12px}
.loading #study-content{opacity:.45;pointer-events:none}.study-toolbar,.study-actions,.reader-options,.library-filters,.library-pagination,.backup-toolbar{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.study-toolbar{justify-content:space-between;margin:0 0 12px}.mode-buttons{display:flex;gap:4px;background:#ecefe3;border-radius:7px;padding:3px}.mode-buttons button{font-size:11px;color:#8a967a;padding:6px 11px;border-radius:5px}.mode-buttons button.active{background:#fffef9;color:#526b42;box-shadow:0 1px 4px #34412b0a}select{max-width:100%;border:1px solid #dce2d1;border-radius:6px;background:#fafbf4;color:#7c8e6c;padding:7px;font-size:11px}.study-actions{justify-content:space-between;margin:12px 0}.hero-pinyin #reading-choice{font-size:10px;max-width:110px;padding:3px;background:#f4f6ec}.empty-panel{padding:40px 24px;background:#fffef8;border:1px solid #dfe5d3;border-radius:12px;text-align:center;color:#7d906b}.empty-panel h2{font-size:18px}.empty-panel p{font-size:12px;line-height:1.9;color:#9ba68e;margin:12px 0 20px}.reader-options{margin-bottom:16px}.reader-options select{max-width:200px}.library-pagination{justify-content:space-between;margin:20px 0}.backup-toolbar{padding:22px 0;border-top:1px solid #dfe5d3}.backup-toolbar p{flex-basis:100%;font-size:10px;line-height:1.8;color:#9aa68b}.import-label{cursor:pointer}.word-library-card h2{font-family:inherit;font-size:27px;line-height:1.6;margin:15px 0}.word-dialog{border:1px solid #d8e0cc;border-radius:15px;background:#fffef8;color:#627750;max-width:450px;width:calc(100% - 40px);padding:25px;box-shadow:0 16px 80px #2e41283a}.word-dialog::backdrop{background:#27342366}.word-dialog h2{font-size:40px;margin:15px 0}.word-dialog p{font-family:system-ui,sans-serif;color:#93a380;font-size:13px;margin:10px 0}.word-dialog .secondary-button{margin:12px 0}.writing-review .hanzi-card:not(.revealed) .hero-pinyin{visibility:visible;height:32px}.writing-review .hanzi-card:not(.revealed) .hero-character{font-family:inherit;font-size:100px;color:#97a487}.writing-review .recall-prompt{padding:0 20px;line-height:1.8}
@media(max-width:760px){.mode-buttons button{font-size:9px;padding:6px 8px}.study-toolbar select{font-size:10px;max-width:105px}.study-actions .secondary-button{font-size:10px;padding:8px 10px}.reader-options{gap:8px}.reader-options .primary-button{font-size:10px;padding:9px 10px}.reader-options select{max-width:145px;font-size:9px}.reader-options #story-history{max-width:190px}.library-toolbar{gap:10px;flex-wrap:wrap}.library-filters{width:100%}.library-filters select{flex:1}.backup-toolbar .secondary-button{font-size:10px}.connection-status{font-size:10px}.word-library-card h2{font-size:22px}.reading-complete .primary-button{font-size:10px}.hero-pinyin #reading-choice{max-width:80px}}

.reader-options{flex-wrap:wrap;gap:10px}.dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:22px}#pair-dialog{max-width:480px;border:1px solid #dce1d0;border-radius:18px;padding:30px;background:#fffdf6;color:#34422f}#pair-dialog input{display:block;width:100%;padding:12px;margin-top:8px;border:1px solid #ccd2bf;border-radius:8px;background:#fff}#pair-dialog::backdrop{background:#27332366}
