.model-controls{display:flex;flex-direction:column;gap:9px;min-width:145px;flex-shrink:0}.model-controls .text-button{margin:0;justify-content:center}.model-controls .primary,.model-controls .secondary{white-space:nowrap}.settings-row:has(.model-controls){align-items:flex-start}.settings-row #model-status{max-width:560px;overflow-wrap:anywhere}
:root{--paper:#f8f7f2;--panel:#fffefa;--ink:#253b37;--muted:#89918a;--green:#254c48;--soft:#e7ebe2;--line:#e7e7de;--orange:#c18256;--shadow:0 14px 60px #243b3020;font-family:"PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none;color-scheme:light}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button{color:inherit}button:disabled{cursor:wait;opacity:.55}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #d5a567;outline-offset:4px}button{border:0;background:none}svg{display:block}svg.icon{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}button svg.icon{flex-shrink:0}[hidden]{display:none!important}.skip{position:fixed;left:12px;top:-100px;background:var(--green);color:white;padding:14px;z-index:100}.skip:focus{top:8px}
.sidebar{width:230px;position:fixed;inset:0 auto 0 0;border-right:1px solid var(--line);background:#f2f3ec;display:flex;flex-direction:column;padding:38px 24px 0;z-index:10}.brand{display:flex;align-items:center;gap:11px;padding:0 14px;font-size:25px;letter-spacing:3px;font-weight:650}.brand-symbol{width:39px;height:43px;display:grid;place-content:center;color:var(--green);font-size:53px;line-height:1;transform:rotate(-25deg);font-weight:400}.brand small{display:block;font-size:8px;letter-spacing:2.5px;margin-top:4px;font-weight:500}.sidebar-label{font-size:11px;letter-spacing:1px;color:#a3aaa0;margin:58px 0 20px 17px}.sidebar nav{display:grid;gap:12px}.nav-item{display:flex;align-items:center;gap:14px;border-radius:10px;padding:15px 18px;text-align:left;color:#747f74;font-size:14px;transition:.2s}.nav-item:hover{background:#e9ece3}.nav-item.active{background:var(--green);color:#fffefa;box-shadow:0 4px 9px #254c4814}.sidebar-bottom{margin-top:auto;padding:50px 13px 40px;color:#8e998c}.little-stars{color:#b09b70;font-size:19px;letter-spacing:9px}.little-stars span{font-size:45px;vertical-align:middle;display:inline-block;transform:rotate(-25deg)}.sidebar-bottom p{line-height:1.9;font-size:14px;letter-spacing:1px}.sidebar-bottom small{font-size:10px;color:#a5ad9f}.profile{margin:0 -24px;padding:23px 21px;border-top:1px solid #e1e5da;display:flex;align-items:center;gap:10px;font-size:11px}.avatar{display:inline-grid;place-content:center;background:#dfcdb5;color:#7d674f;width:37px;height:37px;border-radius:50%;font-size:13px}.profile small{display:block;color:#99a192;font-size:10px;margin-top:5px}.profile-dot{width:6px;height:6px;border-radius:50%;background:#94a785;margin-left:auto}.avatar.small{width:32px;height:32px;font-size:11px;flex-shrink:0}
.app-body{margin-left:230px;max-width:1800px}.topbar{height:100px;padding:0 48px;display:flex;gap:22px;align-items:center;border-bottom:1px solid var(--line)}.topbar-greeting{font-size:12px;letter-spacing:1px;color:#7e897e;white-space:nowrap}.topbar-greeting span{margin-left:10px;color:#b59872}.search{display:flex;align-items:center;gap:9px;margin-left:auto;width:275px;background:#eeefe8;border-radius:8px;padding:11px 13px;color:#8c978b}.search .icon{width:17px;height:17px}.search input{border:0;outline:0;background:none;min-width:0;width:100%;font-size:11px;color:var(--ink)}.search input::placeholder{color:#99a193}.search kbd{font-family:inherit;font-size:15px}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;color:#7c887c}.icon-button:hover{background:var(--soft)}main{padding:38px 48px 20px;min-height:calc(100vh - 183px)}.eyebrow{color:var(--orange);font-size:10px;letter-spacing:2px;font-weight:600;display:flex;align-items:center;gap:8px}.eyebrow::before{content:'';display:inline-block;width:16px;height:1px;background:var(--orange)}h1{font-family:"Songti SC","Noto Serif CJK SC","SimSun",serif;font-size:31px;letter-spacing:2px;font-weight:600;margin:12px 0 13px;line-height:1.5}.page-description{font-size:12px;letter-spacing:.5px;color:#8b9488;margin:0;line-height:1.8}.greeting-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.daily-note{display:flex;gap:10px;align-items:center;color:#a58e63;font-size:11px;border:1px solid #e5dfcf;padding:11px 15px;border-radius:7px}.daily-note .icon{width:16px;height:16px}.hero{height:277px;border-radius:14px;background:#e8e9dc;display:grid;grid-template-columns:1.1fr 1fr;overflow:hidden;position:relative}.hero-copy{padding:31px 35px;z-index:1;position:relative}.hero-label{font-size:10px;letter-spacing:2px;color:#6d8069;display:flex;align-items:center;gap:6px}.hero-label .icon{width:14px;height:14px}.hero h2{font-family:"Songti SC","SimSun",serif;font-size:28px;font-weight:600;margin:16px 0 10px;letter-spacing:2px}.hero p{font-size:11px;color:#7b8875;line-height:1.9;margin:0;max-width:280px}.hero-meta{font-size:10px;color:#84907b;margin:14px 0 18px;display:flex;align-items:center;gap:12px}.dot{font-size:7px;opacity:.5}.primary{display:inline-flex;justify-content:center;align-items:center;gap:9px;background:var(--green);color:#fffefa;font-size:12px;border-radius:7px;padding:12px 19px;min-height:42px;transition:background .2s,transform .2s}.primary:hover{background:#34655e;transform:translateY(-1px)}.primary .icon{width:16px;height:16px}.secondary{display:inline-flex;justify-content:center;align-items:center;gap:8px;padding:11px 17px;border:1px solid #dedfd2;border-radius:7px;background:var(--panel);font-size:12px;min-height:42px}.secondary:hover{background:var(--soft)}.secondary .icon{width:16px;height:16px}.hero-art{position:relative;overflow:hidden}.hero-art>svg{width:100%;height:100%;object-fit:cover;position:absolute}.hero-art::before{content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,#e8e9dc,transparent 27%)}.hero-art svg{min-width:400px;right:0}.hero-badge{position:absolute;right:18px;top:17px;z-index:2;border-radius:30px;background:#fff8e2d9;padding:7px 11px;font-size:9px;color:#7a7964;display:flex;align-items:center;gap:5px}.hero-badge .icon{width:12px;height:12px}.hero-pages{position:absolute;bottom:16px;right:25px;display:flex;gap:5px;z-index:2}.hero-pages i{width:5px;height:5px;border-radius:50%;background:#fcfae9aa}.hero-pages i:first-child{width:16px;border-radius:4px;background:white}.trust-strip{display:flex;justify-content:space-between;gap:10px;margin:20px 0 31px;padding:0 9px}.trust-item{display:flex;align-items:center;gap:8px;font-size:10px;color:#8c9488}.trust-item .icon{width:15px;height:15px;color:#7e907a}.section-heading{display:flex;align-items:center;gap:12px;margin:0 0 20px}.section-heading h2{font-size:18px;letter-spacing:1px;font-weight:600;margin:0}.section-heading span{color:#a0a696;font-size:10px;letter-spacing:.5px}.text-button{color:#8b9482;font-size:11px;display:inline-flex;gap:7px;align-items:center;padding:7px 0;margin-left:auto}.text-button .icon{width:14px;height:14px}.filters{display:flex;gap:8px;align-items:center;margin-bottom:21px;flex-wrap:wrap}.filter{font-size:11px;padding:9px 15px;border-radius:6px;border:1px solid var(--line);background:transparent;white-space:nowrap;color:#8a9485}.filter:hover,.filter.active{background:#e5eadd;border-color:#e5eadd;color:#466442}.age-filter{margin-left:auto;display:flex;align-items:center;gap:8px;font-size:10px;color:#8a9485}.age-filter select{background:transparent;border:1px solid var(--line);color:#7e887b;font-size:10px;border-radius:5px;padding:8px;max-width:120px}.story-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px 20px}.story-card{min-width:0;position:relative}.story-art{border-radius:10px;overflow:hidden;width:100%;aspect-ratio:1.29;display:block;padding:0;position:relative;background:#d8dfcf;text-align:left}.story-art>svg{width:100%;height:100%;transition:transform .5s}.story-art:hover>svg{transform:scale(1.04)}.age-badge{position:absolute;top:10px;left:10px;z-index:1;background:#fffaf0d9;border-radius:4px;padding:4px 7px;font-size:8px;color:#6a745e}.story-play{position:absolute;bottom:11px;right:11px;border-radius:50%;background:#fffaf0e8;width:28px;height:28px;display:grid;place-content:center;color:#576e59}.story-play .icon{width:13px;height:13px}.fav-button{position:absolute;right:8px;top:8px;z-index:2;display:grid;place-content:center;color:#fffef5;padding:6px;background:#344b4130;border-radius:50%}.fav-button .icon{width:15px;height:15px}.fav-button.favorited{background:#fff8e5;color:#bc785d}.fav-button.favorited svg{fill:#bc785d}.story-card h3{font-size:13px;font-weight:600;letter-spacing:.4px;margin:13px 0 7px}.story-title{padding:0;text-align:left}.story-description{font-size:10px;color:#99a090;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0 0 9px;line-height:1.7}.story-meta{display:flex;gap:6px;align-items:center;font-size:9px;color:#9ba28f}.story-meta .icon{width:11px;height:11px}.story-meta .tag{margin-left:auto;color:#8b957c;font-size:8px;background:#eff0e8;padding:3px 5px;border-radius:3px}.sound-mark{width:14px;height:12px;display:flex;align-items:center;gap:2px;margin-left:3px}.sound-mark i{display:block;width:2px;background:#b8a579;border-radius:2px;height:6px}.sound-mark i:nth-child(2){height:11px}.sound-mark i:nth-child(3){height:8px}.gentle-banner{margin:32px 0 16px;display:flex;gap:15px;align-items:center;border:1px solid #e7e3d6;background:#f3efe4;border-radius:10px;padding:19px 23px}.gentle-banner>.icon{width:28px;height:28px;color:#ad956d}.gentle-banner p{margin:0;font-size:12px;color:#7f816f;letter-spacing:.5px}.gentle-banner small{display:block;font-size:10px;color:#aaa58f;margin-top:7px}.gentle-banner button{margin-left:auto;white-space:nowrap}.app-footer{display:flex;align-items:center;gap:20px;border-top:1px solid var(--line);margin:10px 48px 0;padding:22px 0;font-size:9px;color:#a9ad9e}.app-footer>span:first-child{font-size:12px;color:#809079}.app-footer button{margin-left:auto;font-size:9px;color:#a4ab9a}.empty{grid-column:1/-1;display:grid;place-items:center;min-height:260px;text-align:center;color:#8a9485}.empty>.icon{width:40px;height:40px;margin-bottom:12px;color:#adb69e}.empty h3{font-size:17px;font-weight:500;margin:0 0 10px}.empty p{font-size:12px;line-height:1.8;margin:0 0 17px}.stat-row{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:25px 0}.stat{background:var(--panel);border:1px solid var(--line);padding:22px;border-radius:10px;font-size:11px;color:#929d88}.stat strong{font-size:27px;font-family:Georgia,serif;display:block;color:#4c6754;margin-bottom:8px}.recording-card{display:flex;gap:20px;align-items:center;background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:18px;margin:14px 0}.recording-cover{width:85px;height:70px;overflow:hidden;border-radius:6px;flex-shrink:0}.recording-cover>svg{width:100%;height:100%;object-fit:cover}.recording-info{flex:1;min-width:0}.recording-info h3{font-size:14px;margin:0 0 7px}.recording-info p{font-size:10px;color:var(--muted);margin:0 0 10px}.recording-info audio{width:100%;height:33px;max-width:500px}.recording-actions{display:flex;gap:5px}.settings-panel{border:1px solid var(--line);background:var(--panel);border-radius:12px;margin:23px 0;overflow:hidden}.settings-row{display:flex;justify-content:space-between;gap:24px;padding:22px 25px;align-items:center;border-bottom:1px solid var(--line)}.settings-row:last-child{border-bottom:0}.settings-row h3{font-size:13px;font-weight:550;margin:0 0 7px}.settings-row p{margin:0;color:var(--muted);font-size:11px;line-height:1.8}.settings-row input[type=range]{max-width:160px;accent-color:var(--green)}.toggle{background:#dfe5d8;width:44px;height:25px;border-radius:20px;position:relative;flex-shrink:0}.toggle::after{content:'';position:absolute;background:white;border-radius:50%;width:19px;height:19px;left:3px;top:3px;box-shadow:0 1px 4px #0002;transition:.2s}.toggle[aria-checked=true]{background:var(--green)}.toggle[aria-checked=true]::after{left:22px}.model-progress{height:5px;background:var(--soft);border-radius:10px;margin:13px 0;overflow:hidden}.model-progress>span{display:block;height:100%;width:0;background:#839b70;transition:.3s}
dialog{color:var(--ink);border:0;padding:0;border-radius:17px;box-shadow:var(--shadow);background:var(--panel);max-width:calc(100vw - 28px)}dialog::backdrop{background:#172b2970;backdrop-filter:blur(4px)}.detail-dialog{width:740px}.detail-layout{display:grid;grid-template-columns:.85fr 1.15fr;min-height:420px}.detail-art{height:100%;min-height:420px;overflow:hidden;position:relative;background:#c3c69b}.detail-art>svg{height:100%;width:100%;object-fit:cover}.detail-copy{padding:35px 28px;position:relative}.close-dialog{position:absolute;right:14px;top:12px;z-index:2;background:#fff8e9cc}.detail-copy h2{font-family:"Songti SC","SimSun",serif;font-size:27px;line-height:1.7;margin:17px 0 9px}.detail-copy p{font-size:12px;color:#8c9584;line-height:2}.detail-tags{display:flex;gap:7px;margin-bottom:12px}.detail-tags span{font-size:9px;border:1px solid #e5e7da;border-radius:20px;padding:4px 8px;color:#8c967e}.detail-meta{font-size:11px;display:flex;gap:10px;color:#7e8b75;margin:17px 0 21px}.detail-actions{display:flex;gap:10px;flex-wrap:wrap}.detail-actions .primary{flex:1}.detail-tools{display:flex;gap:16px;margin-top:18px}.detail-tools button{display:flex;align-items:center;gap:5px;font-size:10px;color:#9da48f;padding:5px 0}.detail-tools .icon{width:14px;height:14px}.info-dialog{width:510px;padding:35px}.info-dialog h2{font-family:"Songti SC","SimSun",serif;font-size:25px;line-height:1.6;margin:8px 0 17px}.info-dialog p,.info-dialog li{font-size:12px;line-height:2;color:#7e8a77}.info-dialog ol{padding-left:22px}.info-dialog>.primary{margin-top:15px;width:100%}.info-dialog .close-dialog{position:absolute}.info-icon{font-size:34px;color:#b59b70}.toast{position:fixed;bottom:35px;left:calc(50% + 100px);transform:translate(-50%,25px);background:#243e37ef;color:#fffaf0;padding:13px 23px;border-radius:9px;font-size:12px;z-index:100;opacity:0;transition:.2s;pointer-events:none;max-width:90vw;box-shadow:0 5px 25px #0002}.toast.visible{opacity:1;transform:translate(-50%,0)}
.reader{position:fixed;inset:0;background:var(--paper);z-index:25;overflow-y:auto;overscroll-behavior:contain}.reader-header{height:76px;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:2;background:var(--paper);display:flex;align-items:center;justify-content:space-between;padding:0 32px}.reader-back{display:flex;align-items:center;gap:8px;font-size:12px}.reader-back .icon{width:18px;height:18px}.reader-header-title{font-size:13px;letter-spacing:1px}.reader-header-tools{display:flex;gap:12px}.reader-container{max-width:790px;margin:0 auto;padding:46px 38px 200px}.reader-kicker{font-size:10px;color:var(--orange);letter-spacing:2px;text-align:center}.reader h1{text-align:center;font-size:33px;margin:13px 0}.reader-subtitle{font-size:12px;color:var(--muted);text-align:center;letter-spacing:1px;margin-bottom:34px}.reading-hint{padding:13px 17px;background:#eef0e7;border:1px solid #e2e6da;border-radius:7px;color:#8c9884;font-size:11px;line-height:1.9;margin-bottom:30px;display:flex;gap:10px;align-items:flex-start}.reading-hint .icon{width:17px;height:17px;flex-shrink:0;margin-top:2px}.story-paragraph{position:relative;padding:17px 22px;border-left:2px solid transparent;border-radius:0 8px 8px 0;transition:.4s;margin-bottom:12px}.story-paragraph.current{border-left-color:#839977;background:#ecefe5}.story-paragraph p{font-family:"Songti SC","Noto Serif CJK SC","SimSun",serif;font-size:var(--reading-size,22px);line-height:2;letter-spacing:1px;margin:0}.story-paragraph strong{font-weight:600;color:#a77c47;border-bottom:1px dotted #c9af82}.paragraph-bottom{display:flex;align-items:center;gap:10px;margin-top:10px;min-height:25px}.cue-button{display:inline-flex;align-items:center;gap:5px;border-radius:4px;font-size:10px;color:#9ba285;background:#f0f0e6;padding:5px 7px}.cue-button .icon{width:12px;height:12px}.cue-button.played{background:#e1e9d8;color:#637b52}.seek-button{margin-left:auto;font-size:9px;color:#a1a895;opacity:0}.story-paragraph:hover .seek-button,.story-paragraph:focus-within .seek-button{opacity:1}.reading-end{border-top:1px solid var(--line);padding:35px 0 0;margin:35px 22px;text-align:center}.reading-end>span{font-size:26px;color:#b8a27a}.reading-end h3{font-size:17px;letter-spacing:1px;font-weight:500}.reading-end p{font-size:12px;color:var(--muted);line-height:2}.reading-end .primary{margin:10px 0}.reader-controls{position:fixed;bottom:0;left:0;right:0;z-index:3;background:var(--panel);border-top:1px solid var(--line);box-shadow:0 -8px 30px #253c3007;padding:0 28px env(safe-area-inset-bottom)}.reading-progress{height:2px;position:absolute;top:0;left:0;width:100%;background:#e5e8df}.reading-progress span{height:100%;display:block;width:0;background:#829a70;transition:width .4s}.controls-inner{max-width:900px;margin:auto;min-height:91px;display:flex;align-items:center;justify-content:space-between;gap:18px}.voice-indicator{display:flex;gap:10px;align-items:center;color:#919b87;font-size:10px;flex:1}.voice-indicator .sound-mark{width:28px}.voice-indicator .sound-mark i{width:3px;height:8px;background:#879a75}.voice-indicator .sound-mark i:nth-child(2){height:18px}.voice-indicator.active .sound-mark i{animation:wave .6s infinite alternate}.voice-indicator.active .sound-mark i:nth-child(2){animation-delay:.2s}.voice-indicator.active .sound-mark i:nth-child(3){animation-delay:.4s}.voice-indicator span{display:block}.voice-indicator small{display:block;font-size:9px;color:#aab29e;margin-top:5px;max-width:230px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.controls-actions{display:flex;align-items:center;gap:9px}.record-button{display:flex;align-items:center;gap:7px;font-size:11px;padding:12px;border:1px solid var(--line);border-radius:7px}.record-button .icon{width:15px;height:15px;color:#b28677}.record-button.recording{background:#f7e9df;color:#a85e45;border-color:#e3b6a6}.recording .rec-dot{width:7px;height:7px;border-radius:50%;background:#b56851;animation:pulse 1s infinite}.page-nav{display:flex;align-items:center;gap:12px;color:#9da58f;font-size:10px;margin-left:15px}.page-nav button{border:1px solid var(--line);border-radius:50%;width:29px;height:29px;display:grid;place-content:center}.page-nav .icon{width:13px;height:13px}.listen-button{padding:10px;color:#849277;font-size:11px;display:flex;gap:5px;align-items:center}.listen-button .icon{width:16px;height:16px}.quiz-options{display:grid;gap:10px;margin:20px 0}.quiz-option{text-align:left;border:1px solid var(--line);padding:14px 16px;border-radius:8px;font-size:12px}.quiz-option.correct{border-color:#799666;background:#e9efdf}.quiz-option.incorrect{border-color:#c69a80;background:#f6e8df}.quiz-feedback{font-size:12px;line-height:2;color:#718663;min-height:23px}.activity-art{height:200px;overflow:hidden;filter:grayscale(1);margin-top:15px}.activity-art svg{width:100%;height:100%}.print-title{display:none}body.dark{--paper:#202e2a;--panel:#28382f;--ink:#e4e9d9;--muted:#a4b098;--green:#436e5b;--soft:#344537;--line:#3a493d;color-scheme:dark}body.dark .sidebar{background:#25352c}body.dark .topbar{background:#202e2a}body.dark .search{background:#2c3c31}body.dark .hero{background:#354c3b}body.dark .hero-art::before{background:linear-gradient(90deg,#354c3b,transparent 27%)}body.dark .hero h2{color:#e4e9d9}body.dark .hero p,body.dark .hero-label,body.dark .hero-meta{color:#c0cbb2}body.dark .filter.active{background:#3d5038;color:#dae5d0}body.dark .gentle-banner{background:#354334;border-color:#45503c}body.dark .story-paragraph.current,body.dark .reading-hint{background:#2c3c2f}body.dark .cue-button{background:#3d4735}body.dark .detail-tags span{border-color:var(--line)}body.dark .secondary{border-color:var(--line)}
@keyframes wave{to{transform:scaleY(.45)}}@keyframes pulse{50%{opacity:.4}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(min-width:1550px){main{padding:45px 65px}.hero{height:340px}.hero-copy{padding:40px 48px}.hero h2{font-size:35px;margin:22px 0 17px}.hero p{font-size:13px;max-width:350px}.hero-meta{margin:20px 0}.story-art{aspect-ratio:1.2}.story-card h3{font-size:15px}.story-description{font-size:12px}.topbar{padding:0 65px}.app-footer{margin-left:65px;margin-right:65px}.story-grid{gap:30px}.greeting-row{margin-bottom:32px}}
@media(max-width:1150px){.sidebar{width:190px;padding-left:15px;padding-right:15px}.sidebar .brand{padding-left:9px;font-size:22px}.profile{margin:0 -15px;padding-left:15px;padding-right:15px}.sidebar-label{margin-left:12px}.app-body{margin-left:190px}.topbar{padding:0 30px;gap:15px}.topbar-greeting{font-size:10px}main{padding:30px}.daily-note{display:none}.hero{height:270px;grid-template-columns:1.15fr 1fr}.hero-copy{padding:28px}.hero h2{font-size:25px}.hero-art svg{min-width:340px}.story-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.trust-strip{padding:0;gap:8px}.trust-item{font-size:9px}.app-footer{margin:10px 30px 0}.toast{left:calc(50% + 95px)}}
@media(max-width:800px){.sidebar{width:78px;padding:30px 10px 0}.brand{padding:0!important;justify-content:center}.brand>span:last-child,.sidebar-label,.nav-item>span:last-child,.sidebar-bottom,.profile{display:none}.sidebar nav{margin-top:55px;gap:17px}.nav-item{padding:15px;justify-content:center}.app-body{margin-left:78px}.topbar{height:77px;padding:0 25px}.topbar-greeting{font-size:10px}.search{width:220px;padding:9px}.topbar .icon-button{display:none}main{padding:27px 25px}h1{font-size:27px}.hero{grid-template-columns:1.3fr 1fr;height:265px}.hero-copy{padding:25px}.hero h2{font-size:22px}.hero p{font-size:10px}.hero-art svg{min-width:320px;right:-40px}.hero-badge{display:none}.trust-item:last-child{display:none}.filters{gap:6px}.filter{padding:8px 10px;font-size:10px}.age-filter{width:100%;margin:3px 0 0;justify-content:flex-end}.story-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 14px}.story-card h3{font-size:12px}.story-meta .tag{display:none}.story-description{font-size:9px}.app-footer{margin:0 25px}.toast{left:calc(50% + 39px)}.reader-header{padding:0 22px}.reader-container{padding-left:22px;padding-right:22px}.voice-indicator{display:none}.controls-inner{justify-content:center;gap:8px}.page-nav{margin-left:5px}.recording-card{flex-wrap:wrap}.recording-info{width:calc(100% - 100px)}.recording-actions{margin-left:auto}}
@media(max-width:560px){.sidebar{width:100%;height:70px;inset:auto 0 0;border:0;border-top:1px solid var(--line);padding:0 8px calc(env(safe-area-inset-bottom)/2);background:var(--panel);z-index:20}.sidebar .brand{display:none}.sidebar nav{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin:0;height:100%;align-items:center}.nav-item{display:flex;flex-direction:column;gap:4px;padding:10px 3px 8px;border-radius:0;font-size:9px!important;background:transparent!important;box-shadow:none!important;color:#a2aa96}.nav-item>span:last-child{display:block;font-size:9px;letter-spacing:.4px}.nav-item .icon{width:20px;height:20px}.nav-item.active{color:#345d4c}.app-body{margin-left:0;padding-bottom:75px}.topbar{height:70px;padding:0 20px;gap:12px;border:0}.topbar-greeting{font-size:10px;letter-spacing:0}.topbar-greeting span{display:none}.search{background:#ecefe5;width:auto;max-width:175px;padding:9px 10px}.search input{font-size:10px}.search kbd{display:none}.topbar .avatar{width:27px;height:27px;font-size:10px}main{padding:14px 20px 8px;min-height:calc(100vh - 200px)}.eyebrow{font-size:8px;letter-spacing:1.5px}h1{font-size:26px;margin:11px 0 9px;letter-spacing:1px}.page-description{font-size:10px}.greeting-row{margin-bottom:22px}.hero{height:264px;display:block;border-radius:12px}.hero-copy{padding:24px 21px;max-width:68%}.hero h2{font-size:21px;letter-spacing:1px;margin:14px 0 10px;white-space:nowrap}.hero p{font-size:10px;max-width:195px;position:relative;z-index:1}.hero-label{font-size:9px;letter-spacing:1px}.hero-meta{font-size:9px;gap:7px;margin:13px 0 17px}.hero .primary{font-size:10px;padding:10px 13px;min-height:36px}.hero-art{position:absolute;inset:0 0 0 42%;pointer-events:none}.hero-art svg{min-width:350px;right:-95px;width:350px;opacity:.95}.hero-art::before{background:linear-gradient(90deg,#e8e9dc,transparent 80%)}.hero-copy{pointer-events:none}.hero-copy .primary{pointer-events:auto}.hero-pages{right:15px;bottom:14px}.trust-strip{gap:6px;margin:17px 0 26px;justify-content:space-between}.trust-item{font-size:8px;gap:4px}.trust-item .icon{width:12px;height:12px}.section-heading{gap:8px;margin-bottom:16px}.section-heading h2{font-size:16px}.section-heading span{font-size:8px}.text-button{font-size:9px;gap:3px}.filters{gap:7px;margin-bottom:18px}.filter{font-size:9px;padding:8px 10px}.age-filter{font-size:9px}.age-filter select{font-size:9px;padding:6px}.story-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:23px 14px}.story-art{aspect-ratio:1.1}.story-card h3{font-size:12px;margin-top:10px;margin-bottom:6px}.story-description{font-size:9px;margin-bottom:6px}.story-meta{font-size:8px;gap:4px}.age-badge{font-size:8px;padding:3px 5px;top:8px;left:8px}.story-play{width:25px;height:25px;bottom:8px;right:8px}.fav-button{top:5px;right:5px;padding:5px}.fav-button .icon{width:13px;height:13px}.gentle-banner{padding:15px;margin:26px 0 13px;gap:10px}.gentle-banner p{font-size:10px;letter-spacing:0}.gentle-banner small{font-size:8px;line-height:1.8}.gentle-banner .text-button{display:none}.gentle-banner>.icon{width:23px;height:23px;flex-shrink:0}.app-footer{margin:0 20px;padding:18px 0;gap:8px;flex-wrap:wrap}.app-footer>span:first-child{font-size:10px}.app-footer>span:nth-child(2){font-size:8px}.app-footer button{font-size:8px}.detail-dialog{width:360px;max-height:90vh}.detail-layout{display:block;min-height:0}.detail-art{min-height:0;height:185px}.detail-art>svg{width:100%;height:100%;object-fit:cover}.detail-copy{padding:22px}.detail-copy h2{font-size:23px;margin:9px 0}.detail-copy p{font-size:11px;line-height:1.9}.detail-copy>.close-dialog{position:fixed;right:18px;top:18px;background:#fff8e8}.detail-meta{margin:13px 0 16px;font-size:10px}.detail-tools{margin-top:13px;gap:12px}.info-dialog{padding:28px 24px}.info-dialog h2{font-size:23px}.toast{left:50%;bottom:88px;width:max-content;max-width:90vw;font-size:11px;text-align:center}.reader-header{padding:0 14px;height:62px}.reader-header-title{font-size:11px}.reader-back{font-size:10px}.reader-back .icon{width:15px;height:15px}.reader-header-tools{gap:3px}.reader-header-tools .icon-button{width:29px;height:29px}.reader-header-tools .icon{width:16px;height:16px}.reader-container{padding:31px 14px 200px}.reader h1{font-size:27px}.reader-subtitle{font-size:10px;margin-bottom:24px}.reading-hint{font-size:10px;margin:0 7px 20px;padding:11px}.story-paragraph{padding:15px 14px;margin-bottom:9px}.story-paragraph p{font-size:var(--reading-size,22px);line-height:2.05;letter-spacing:.7px}.seek-button{opacity:1;font-size:8px}.cue-button{font-size:9px}.reader-controls{padding:0 12px env(safe-area-inset-bottom)}.controls-inner{min-height:115px;display:flex;flex-wrap:wrap;gap:4px 8px;padding:12px 0}.controls-actions{width:100%;justify-content:center;gap:6px}.controls-actions>.primary{font-size:11px;padding:11px 14px}.record-button{font-size:10px;padding:11px 9px}.listen-button{font-size:10px;padding:10px 7px}.page-nav{justify-content:center;margin:3px auto 0;gap:24px}.voice-indicator{display:none}.stat-row{gap:8px}.stat{padding:16px 12px;font-size:9px}.stat strong{font-size:23px}.settings-row{padding:19px 16px;gap:12px;flex-wrap:wrap}.settings-row h3{font-size:12px}.settings-row p{font-size:10px}.settings-row .primary,.settings-row .secondary{font-size:10px}.settings-row input[type=range]{max-width:130px}.recording-card{padding:12px;gap:12px}.recording-cover{width:60px;height:60px}.recording-info{width:calc(100% - 72px)}.recording-info h3{font-size:12px}.recording-info p{font-size:9px}.recording-actions .icon-button{width:30px;height:30px}.recording-actions .icon{width:15px;height:15px}}
@media print{body>*{display:none!important}#reader{display:block!important;position:static;overflow:visible;background:white!important;color:#222!important}.reader-header,.reader-controls,.reading-hint,.paragraph-bottom,.reading-end .primary{display:none!important}.reader-container{padding:0;max-width:none}.story-paragraph,.story-paragraph.current{background:white!important;border:none;break-inside:avoid}.story-paragraph p{font-size:15pt;line-height:1.8}.reader h1{font-size:25pt}.reading-end{break-inside:avoid}.story-paragraph strong{color:#222!important;border:0}.reader-subtitle{color:#555}.print-title{display:block}}
/* Mobile browser chrome, input focus and home-indicator safe area. */
@supports(height:100dvh){.reader{height:100dvh}}
@media(max-width:560px){
 .sidebar{height:calc(68px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}
 .app-body{padding-bottom:calc(80px + env(safe-area-inset-bottom))}
 .topbar .search input,.age-filter select{font-size:16px}
 .topbar .search input::placeholder{font-size:10px}
 .age-filter select{max-width:130px}
 .settings-row>#install-app{width:100%}
 .icon-button,.page-nav button{min-width:36px;min-height:36px}
 .reader-header-tools .icon-button{min-width:36px;min-height:36px}
}
/* Family story workshop */
.local-label{display:inline-block;margin:18px 0 23px;padding:7px 11px;border-radius:20px;background:var(--soft);color:#6b805e;font-size:10px;letter-spacing:.3px}.creative-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-bottom:1px solid var(--line);gap:9px;margin:0 0 24px}.creative-tabs button{padding:13px 5px;font-size:12px;color:var(--muted);border-bottom:2px solid transparent}.creative-tabs button.active{border-color:var(--green);color:var(--green);font-weight:600}.creative-panel{background:var(--panel);border:1px solid var(--line);padding:28px;border-radius:12px;margin:20px 0 30px}.creative-panel h2{font-family:"Songti SC","SimSun",serif;font-size:23px;font-weight:500;margin:0 0 13px;line-height:1.7}.creative-description{font-size:12px;color:var(--muted);line-height:1.9;margin:0 0 22px}.creative-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px 22px}.creative-panel label,.creative-editor label{display:flex;flex-direction:column;gap:9px;font-size:12px;color:#77846e}.creative-panel input,.creative-panel select,.creative-panel textarea,.creative-dialog input,.creative-dialog textarea{width:100%;color:var(--ink);background:var(--paper);border:1px solid var(--line);padding:12px;border-radius:7px;font:inherit;font-size:14px;min-height:44px}.creative-panel textarea,.creative-dialog textarea{resize:vertical;line-height:1.8}.creative-panel .field-wide,.creative-dialog .field-wide{display:flex;flex-direction:column;gap:9px;margin:20px 0}.field-wide small{font-size:10px;color:var(--muted);line-height:1.7}.creative-submit{display:flex;align-items:center;gap:18px;margin-top:25px}.creative-submit span{color:var(--muted);font-size:10px}.event-presets{display:flex;flex-wrap:wrap;gap:7px;margin-top:24px}.event-presets button{border:1px solid var(--line);border-radius:20px;font-size:10px;padding:8px 10px;color:#7c8b72}.event-presets button:hover{background:var(--soft)}.creative-section{margin:30px 0}.creative-empty{border:1px dashed var(--line);border-radius:10px;text-align:center;padding:35px 18px;color:var(--muted);font-size:12px;line-height:1.9}.local-story-list{display:grid;gap:12px}.local-story-list article{display:flex;align-items:center;justify-content:space-between;gap:15px;background:var(--panel);border:1px solid var(--line);border-radius:9px;padding:18px}.local-story-tag{font-size:10px;color:#9b946e}.local-story-list h3,.series-card h3{font-size:16px;margin:9px 0;line-height:1.6}.local-story-list p,.series-card p{font-size:11px;color:var(--muted);line-height:1.8;margin:0}.local-story-actions{display:flex;flex-direction:column;gap:5px;flex-shrink:0}.local-story-actions .text-button{margin:0;justify-content:center}.series-card{padding:23px;border:1px solid var(--line);border-radius:12px;background:var(--panel);margin:15px 0}.series-header{display:flex;justify-content:space-between;gap:15px;align-items:center}.series-header>.primary{flex-shrink:0}.episode-list{display:grid;gap:7px;margin-top:20px}.episode-list button{background:var(--paper);border-radius:6px;display:flex;justify-content:space-between;text-align:left;padding:13px;font-size:12px}.episode-list button span{color:var(--muted);font-size:10px;margin-left:12px;white-space:nowrap}.creative-error{background:#f2e6d8;border-radius:8px;padding:14px;line-height:1.8;font-size:12px;color:#9c6d4d}.creative-dialog{width:760px;padding:30px;max-height:90dvh;overflow:auto}.creative-dialog>.close-dialog{position:sticky;top:0;float:right;background:var(--paper);font-size:25px}.creative-dialog .local-label{margin:0 0 20px}.creative-dialog h2{font-family:"Songti SC","SimSun",serif;font-size:27px;line-height:1.8;margin:0 0 25px}.creative-preview-text p{font-family:"Songti SC","SimSun",serif;font-size:19px;line-height:2;letter-spacing:.5px;margin:0 0 24px}.creative-preview-text small{display:block;font-size:10px;color:#a09976;letter-spacing:0}.creative-preview-actions{position:sticky;bottom:-30px;display:flex;flex-wrap:wrap;gap:10px;background:var(--panel);padding:16px 0;border-top:1px solid var(--line)}.creative-preview-actions .text-button{margin-left:0;padding:10px}.creative-editor{display:grid;gap:15px}.creative-editor textarea{font-family:"Songti SC","SimSun",serif;font-size:17px}.creative-entry{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:20px 22px;border:1px solid var(--line);border-radius:10px;background:#eeefe4;margin:0 0 29px;color:#687b5b;font-size:13px}.creative-entry small{display:block;font-size:10px;color:#929d83;margin-top:7px}.ritual-steps{display:flex;justify-content:space-between;gap:6px;font-size:11px;color:#a5ad9a;flex-wrap:wrap}.ritual-steps>span{padding:9px 0}.ritual-steps .current{color:var(--green);font-weight:600}.ritual-steps .complete{color:#8b9a76}.ritual-panel{min-height:320px}.ritual-book{font-family:"Songti SC","SimSun",serif;font-size:24px;color:#7a8b61;margin:20px 0}.mood-options{display:flex;flex-wrap:wrap;gap:9px;margin:23px 0}.mood-options button{border:1px solid var(--line);border-radius:25px;padding:11px 15px;font-size:12px;color:#8a967a}.mood-options .selected{background:var(--soft);border-color:#91a27c;color:#567046}.ritual-sound-options{display:grid;grid-template-columns:1fr 1fr;gap:20px}.ritual-countdown{font-size:60px;font-family:Georgia,serif;letter-spacing:4px;color:#6b805e;text-align:center;margin:30px 0}.ritual-panel>.secondary{margin-left:12px}.ritual-restart{display:block;margin:25px 0 0}.ritual-done{font-size:60px;color:#ad9871;margin-bottom:15px}body.dark .creative-entry{background:var(--panel)}body.dark .creative-tabs .active,body.dark .ritual-steps .current{color:#b9cfac}body.dark .local-label{color:#b6c6a7}body.dark .creative-panel label{color:#aebca2}
@media(max-width:800px){.sidebar nav{gap:8px}.sidebar nav .nav-item{padding:13px}.creative-panel{padding:23px}.series-header{flex-wrap:wrap}.creative-entry{flex-wrap:wrap}}
@media(max-width:560px){.sidebar nav{grid-template-columns:repeat(5,1fr);gap:0}.sidebar nav .nav-item{padding:8px 2px}.creative-tabs{gap:3px}.creative-tabs button{font-size:10px;line-height:1.8;padding:11px 2px}.creative-panel{padding:19px 16px;margin-top:15px}.creative-panel h2{font-size:21px}.creative-fields{gap:15px 13px}.creative-panel input,.creative-panel select,.creative-panel textarea,.creative-dialog input,.creative-dialog textarea{font-size:16px;min-width:0}.creative-panel label{font-size:10px}.creative-submit{flex-direction:column;align-items:stretch;gap:10px}.creative-submit span{text-align:center}.event-presets button{font-size:9px}.local-story-list article{padding:13px;gap:10px}.local-story-list h3{font-size:14px}.local-story-list p{font-size:10px}.series-card{padding:16px}.series-header>.primary{width:100%}.episode-list button{font-size:11px}.creative-dialog{padding:22px 17px;max-height:91dvh}.creative-dialog h2{font-size:23px}.creative-preview-text p{font-size:18px;line-height:1.95}.creative-preview-actions{bottom:-22px;gap:7px}.creative-preview-actions>.primary,.creative-preview-actions>.secondary{font-size:11px;padding:10px 11px}.creative-entry{padding:16px;margin-bottom:22px;font-size:11px}.creative-entry small{font-size:9px;line-height:1.9}.creative-entry .secondary{font-size:11px;width:100%}.ritual-steps{font-size:9px;gap:3px}.ritual-sound-options{gap:12px}.ritual-countdown{font-size:51px}.ritual-panel>.primary,.ritual-panel>.secondary{margin:8px 0;width:100%}.mood-options{gap:7px}.mood-options button{font-size:11px;padding:9px 12px}}

/* Story channels and paired language reading. */
.language-options{display:flex;flex-wrap:wrap;gap:5px;background:#eef0e9;padding:4px;border-radius:12px}.language-options button{padding:9px 16px;border:0;background:transparent;color:#52645b;border-radius:9px;font-size:14px;cursor:pointer}.language-options button[aria-pressed=true]{background:#254c48;color:white;box-shadow:0 2px 4px #0001}.language-options button:disabled{opacity:.45;cursor:not-allowed}.language-options button:focus-visible{outline:3px solid #dca861;outline-offset:2px}.reader-languages{width:fit-content;margin:0 auto 30px}.parallel-text{font-family:Georgia,serif;color:var(--muted,#61716a);line-height:1.85!important;font-size:.91em!important;margin-top:15px!important;padding-top:14px;border-top:1px dashed #cdd5ca}.parallel-title{font-family:Georgia,serif;font-size:24px;margin-top:12px;color:var(--muted,#61716a)}.content-note{font-size:13px;line-height:1.8;background:#f0eee3;color:#59624e;border-radius:12px;padding:16px 20px;margin:22px 0}.content-note p{margin:5px 0}.content-note a{color:inherit;text-underline-offset:3px}.edition-badge{display:inline-block;color:#3e6a59;background:#edf1e7;border-radius:5px;padding:4px 9px;font-size:12px}.translation-missing{font-family:inherit;font-size:14px;color:#9b6c33}.dark .channel-bar{background:#25332e;border-color:#48544a}.dark .language-options{background:#34453d}.dark .language-options button{color:#d5dfd1}.dark .content-note{background:#303e33;color:#d0dac9}.dark .edition-badge{background:#34453d;color:#d5dfd1}.reader-container p[lang=en],.story-card h3,.detail-copy h2{overflow-wrap:anywhere}.filters{flex-wrap:wrap}
@media(max-width:600px){.reader-languages button{padding:10px 14px}.content-note{padding:14px}.parallel-title{font-size:20px}.controls-actions{flex-wrap:wrap}}
@media print{.reader-languages{display:none}.parallel-text{color:#444}.content-note{break-inside:avoid}}
.qwen-fields{display:grid;gap:12px;min-width:260px;max-width:420px;width:100%}.qwen-fields label{display:grid;gap:6px;font-size:13px}.qwen-fields input,.qwen-fields select{width:100%;box-sizing:border-box;padding:10px;border:1px solid #cbd2c7;border-radius:8px;background:var(--surface,#fff);color:inherit;min-height:42px}.qwen-fields small{font-size:12px;line-height:1.7;color:var(--muted,#6d766f)}.qwen-settings{align-items:flex-start!important;gap:24px}.dark .qwen-fields input,.dark .qwen-fields select{background:#25332e;border-color:#566254}@media(max-width:700px){.qwen-settings{flex-direction:column}.qwen-fields{min-width:0;max-width:none}}

.story-art > .story-cover-image,
.detail-art > .story-cover-image,
.recording-cover > .story-cover-image,
.hero-art > .story-cover-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-art > .story-cover-image { transition: transform .5s; }
.story-art:hover > .story-cover-image { transform: scale(1.04); }
.last-reading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 16px 20px;
  margin: 0 0 18px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 12px;
}
.last-reading h2, .last-reading-meta { margin: 0; font-size: .83rem; color: var(--muted); }
.last-reading-title { margin: 3px 0; font-size: 1.05rem; font-weight: 700; }
.last-reading-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
@media (max-width: 540px) {
  .last-reading { padding: 12px 14px; }
  .last-reading-actions { width: 100%; }
}
