:root{--ink:#123c45;--muted:#60777b;--teal:#008c82;--line:#dfe8e4;color-scheme:light;font-family:'Microsoft YaHei',system-ui,sans-serif;font-size:16px}*{box-sizing:border-box}html{height:auto;overflow-y:auto;scroll-padding-top:72px}body{margin:0;min-height:100vh;background:#f4f7f5;color:var(--ink);line-height:1.6}html::-webkit-scrollbar{width:8px;height:8px}html::-webkit-scrollbar-track{background:#e5f0ee}html::-webkit-scrollbar-thumb{background:#39a99c;border:2px solid #e5f0ee;border-radius:8px}[hidden]{display:none!important}button,input,a,summary{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button,a,summary{touch-action:manipulation;cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #56c8b5;outline-offset:3px}button{color:var(--ink)}h1,h2,h3,p{margin-top:0}
.reading-header{height:68px;display:flex;align-items:center;gap:12px;padding:0 max(20px,calc((100vw - 760px)/2));border-bottom:1px solid var(--line);background:#fff}.back-link{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;font-size:34px;font-weight:400;padding:0;border:0;background:none}.header-title{font-size:21px;white-space:nowrap}.reading-header nav{display:flex;align-items:center;gap:18px;margin-left:auto;font-size:15px}.reading-header nav a{padding:10px 0;white-space:nowrap}.reading-header nav span{font-size:14px;background:#eaf4ee;padding:1px 5px;border-radius:5px}.phone-preview-link{color:var(--teal)}.reading-main{max-width:720px;margin:auto;padding:20px 20px 245px}.local-notice{border:1px solid #eee1b4;border-radius:8px;background:#fff8e3;color:#856528;font-size:14px;padding:8px 12px;margin-bottom:18px}.studio{display:block}.paper-tools{margin-bottom:14px}.upload-row{display:flex;gap:16px;align-items:center}.upload-area{position:relative;display:flex;align-items:center;justify-content:center;gap:7px;min-height:50px;border:1px solid #bcd8cc;background:#fff;border-radius:10px;padding:10px 24px;cursor:pointer;color:var(--teal)}.upload-area strong{font-size:17px;font-weight:650}.upload-area>span{font-size:24px;line-height:1}.upload-area input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.upload-area[aria-disabled=true]{opacity:.5;pointer-events:none}.upload-area:focus-within{outline:3px solid #56c8b5;outline-offset:3px}.text-button{background:none;border:0;color:var(--teal);font-size:15px;padding:10px 0;text-align:left}.file-summary{margin:7px 0 0;font-size:14px;color:var(--muted);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.page-stage{border:1px solid #d7e4dc;background:#eaf0e9;border-radius:13px;overflow:hidden}.stage-top{padding:12px 16px;font-size:14px;color:#506c62}.stage-top>span:first-child{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.page-view{position:relative;margin:0 14px 14px;background:#fffefa;border-radius:3px;box-shadow:0 4px 15px #23473512}.empty-page{min-height:330px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:40px 20px}.book-outline{color:#91b1a1;font-size:48px;margin-bottom:16px}.empty-page h1{font-size:23px;font-weight:650;margin:0 0 10px}.empty-page p{margin:0;font-size:16px;color:var(--muted)}#bookCanvas{display:block;width:100%;height:auto}.camera-window{position:absolute;right:10px;bottom:10px;width:28%;min-width:90px;aspect-ratio:4/3;border:3px solid white;border-radius:9px;background:#173f45;box-shadow:0 3px 10px #0003;overflow:hidden}.camera-window video{width:100%;height:100%;object-fit:cover;transform:scaleX(-1)}.camera-window span{position:absolute;left:0;right:0;bottom:0;font-size:12px;text-align:center;background:#0004;color:#fff}.countdown{position:absolute;inset:0;display:grid;place-items:center;background:#143f4540;font-size:88px;color:white;font-weight:750}.page-picker{display:flex;align-items:center;justify-content:center;gap:18px;padding:0 14px 14px}.page-picker button{width:46px;height:44px;border:1px solid #d1dfd5;border-radius:9px;background:#fff;font-size:20px}.page-position{display:flex;align-items:center;gap:8px;font-size:15px}.page-position input{width:54px;min-height:42px;border:1px solid #cbdad0;border-radius:8px;background:#fff;color:var(--ink);text-align:center;appearance:textfield}.page-position input::-webkit-inner-spin-button,.page-position input::-webkit-outer-spin-button{appearance:none;margin:0}.stage-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;background:#f0f5ef;border-top:1px solid #d7e4dc;font-size:14px;color:#49675b}.stage-bottom>span:first-child{display:flex;align-items:center;gap:7px;min-width:0}.stage-bottom>span:last-child{flex-shrink:0;font-variant-numeric:tabular-nums}.status-dot{width:7px;height:7px;border-radius:50%;background:#9fb8a9;flex-shrink:0}.status-dot.live{background:#de5c51;animation:breathe 1.2s infinite}@keyframes breathe{50%{opacity:.35}}
.record-tools{position:fixed;z-index:5;bottom:14px;left:50%;transform:translateX(-50%);width:min(680px,calc(100% - 40px));padding:14px 20px 12px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 -3px 22px #133f4510}.record-options{display:flex;align-items:center;justify-content:space-between;gap:20px}.camera-setting{display:flex;align-items:center;gap:12px;position:relative;min-height:40px;cursor:pointer;font-size:16px}.camera-setting input{position:absolute;opacity:0;right:0;width:46px;height:28px;margin:0;cursor:pointer}.switch-track{position:relative;width:44px;height:26px;border-radius:20px;background:#c5d4cb;pointer-events:none}.switch-track:after{content:'';position:absolute;width:20px;height:20px;border-radius:50%;background:white;top:3px;left:3px;transition:transform .15s}.camera-setting input:checked+.switch-track{background:var(--teal)}.camera-setting input:checked+.switch-track:after{transform:translateX(18px)}.camera-setting input:focus-visible+.switch-track{outline:3px solid #56c8b5;outline-offset:3px}.extra-settings{position:relative;font-size:15px;color:var(--muted)}.extra-settings summary{padding:8px 0}.title-popover{position:absolute;z-index:2;bottom:48px;right:0;width:290px;background:white;padding:16px;border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 30px #173f4522}.field-label{display:block;font-size:15px;margin-bottom:8px}.title-input,.share-link{width:100%;min-height:46px;padding:10px 12px;background:#fafcf9;color:var(--ink);border:1px solid #d5e1d9;border-radius:8px;font-size:16px}.permission-note{font-size:14px;color:var(--muted);margin:3px 0 12px}.record-state{display:none}body[data-reading-phase='recording'] .record-state{display:block}.sound-meter{height:4px;border-radius:5px;background:#e8f0ea;overflow:hidden;margin:9px 0}.sound-meter span{display:block;height:100%;width:0;background:#27b995;transition:width .1s}.record-button,.primary-button{min-height:54px;width:100%;display:flex;align-items:center;justify-content:center;gap:10px;font-size:18px;font-weight:650;background:var(--teal);color:#fff;border:0;border-radius:11px;padding:12px 16px}.record-button.is-recording{background:#d85c50}.record-icon{width:13px;height:13px;background:#fff;border-radius:50%}.record-button.is-recording .record-icon{border-radius:2px}.message{font-size:14px;line-height:1.6;text-align:center;color:var(--muted);padding-top:9px;overflow-wrap:anywhere}.message.error{color:#b24832}.secondary-button{display:block;width:100%;border:1px solid #cdded3;border-radius:10px;min-height:50px;padding:10px 14px;background:#fff;font-size:16px;text-align:center}.record-tools>.secondary-button{margin-top:10px}body[data-reading-phase='recording'] .extra-settings,body[data-reading-phase='recording'] .permission-note,body[data-reading-phase='countdown'] .extra-settings{display:none}
body[data-reading-view='result'] .reading-main,body[data-reading-view='works'] .reading-main{padding-bottom:40px}body[data-reading-view='result'] .reading-header>a.back-link,body[data-reading-view='works'] .reading-header>a.back-link{display:none}.panel{border:1px solid var(--line);border-radius:14px;background:#fff;padding:20px}.result{margin:16px 0}.result-heading,.works-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.result h2,.works-section h2{font-size:22px;margin:0}.saved-badge{font-size:14px;color:#388c62;background:#edf7ee;border-radius:15px;padding:3px 9px;white-space:nowrap}#resultNote{font-size:15px;color:var(--muted);margin:8px 0 20px}.result-body video{display:block;width:100%;max-height:70vh;background:#14383c;border-radius:9px}.result-actions h3{margin:20px 0 7px;font-size:18px}.result-actions>p{color:var(--muted);font-size:14px;line-height:1.7}.result-actions .primary-button,.result-actions .secondary-button{margin:12px 0}.result-actions .muted,.muted{font-size:14px;color:var(--muted);line-height:1.8}.share-link{font-size:14px}.works-section{padding-top:14px}.works-storage{font-size:14px;color:var(--muted);margin:12px 0 20px}.works-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.works-empty{grid-column:1/-1;padding:50px 20px;text-align:center;border:1px dashed #c9dbcf;border-radius:12px;color:var(--muted);background:#edf3ed;font-size:16px}.work-card{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.work-cover{height:220px;background:#e7eee7;position:relative;display:grid;place-items:center}.work-cover img{width:100%;height:100%;object-fit:contain;padding:8px}.work-play{position:absolute;inset:0;display:grid;place-items:center;border:0;background:none;color:#fff;font-size:23px}.work-play span{width:48px;height:48px;display:grid;place-items:center;border-radius:50%;border:2px solid white;background:#163d45b8}.work-info{padding:16px}.work-info h3{font-size:17px;margin:0 0 10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.work-info p{font-size:14px;margin:7px 0;color:var(--muted);overflow-wrap:anywhere}.work-actions{display:flex;gap:16px;justify-content:space-between;margin-top:12px}.work-actions button{background:none;border:0;padding:8px 0;color:var(--teal);font-size:14px;min-height:42px}.work-actions .danger{color:#ac5b43}.work-status{font-size:15px;color:var(--muted);padding:24px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}footer{padding:20px;text-align:center;font-size:14px;color:#7f9487}body[data-reading-view='studio'] footer{display:none}
 dialog{max-width:90vw;border:1px solid var(--line);border-radius:14px;padding:24px;color:var(--ink)}dialog::backdrop{background:#173f4566}dialog h2{font-size:22px}dialog p{font-size:16px;color:var(--muted)}dialog input{display:block;width:100%;min-height:48px;border:1px solid var(--line);border-radius:8px;margin:12px 0;padding:10px}dialog form>div{display:flex;justify-content:end;gap:12px}dialog button{min-height:44px;padding:8px 16px;border:1px solid var(--line);border-radius:8px;background:#edf7ef}.share-page{max-width:760px;margin:26px auto;padding:0 20px}.brand img{width:145px;height:auto;display:block}.share-page h1{font-size:25px;margin:10px 0}.eyebrow{font-size:14px;color:var(--teal);letter-spacing:1px}.share-meta{font-size:15px;color:var(--muted)}.share-page video{display:block;width:100%;max-height:72vh;background:#14383c;border-radius:10px;margin:22px 0}.share-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-top:20px}.share-footer .primary-button{width:auto}.share-empty{padding:40px 0;text-align:center}
@media(max-width:600px){.reading-header{height:58px;padding:0 10px;gap:3px}.header-title{font-size:20px}.reading-header nav{gap:12px;padding-right:5px;font-size:15px}.reading-header nav span{font-size:14px}.phone-preview-link{display:none}.reading-main{padding:12px 14px 245px}.local-notice{margin-bottom:13px;padding:7px 10px;font-size:14px}.paper-tools{margin-bottom:13px}.upload-row{justify-content:space-between;gap:16px}.upload-area{flex:1;padding:9px 16px;min-height:48px}.file-summary{font-size:14px;margin-top:6px}.stage-top{font-size:14px;padding:10px 12px}.page-view{margin:0 10px 10px}.empty-page{min-height:275px;padding:30px 12px}.empty-page h1{font-size:22px}.empty-page p{font-size:16px}.book-outline{font-size:44px;margin-bottom:12px}.stage-bottom{padding:10px 12px;gap:7px;font-size:14px}.stage-bottom>span:first-child{overflow:hidden}.stage-bottom #stageStatus{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.page-picker{gap:18px;padding-bottom:10px}.record-tools{left:0;right:0;bottom:0;transform:none;width:100%;padding:10px 18px max(12px,env(safe-area-inset-bottom));border-radius:17px 17px 0 0;box-shadow:0 -4px 20px #173f4512}.record-options{min-height:36px}.camera-setting{min-height:36px}.permission-note{font-size:14px;margin:2px 0 10px}.record-button{min-height:54px;font-size:18px}.message{font-size:14px;padding-top:7px}.extra-settings{font-size:14px}.title-popover{width:min(300px,calc(100vw - 36px));right:0}.panel{padding:16px}.works-grid{grid-template-columns:1fr;gap:18px}.work-cover{height:280px}.work-info h3{white-space:normal}.result h2,.works-section h2{font-size:22px}.result-heading{gap:8px}.saved-badge{font-size:14px}.share-page{padding:0 14px;margin:20px auto}.share-page h1{font-size:23px}.share-footer{align-items:stretch;flex-direction:column}.share-footer .primary-button{width:100%}}
.view-message{padding:12px;margin-bottom:12px;border-radius:8px;background:#fff2e8;text-align:left}
.account-notice{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:12px 14px;margin-bottom:14px;border:1px solid #c5dfd3;border-radius:10px;background:#edf7f1;font-size:15px}.account-notice a{color:var(--teal);font-weight:650;min-height:34px;display:flex;align-items:center}
body:not([data-reading-view]) .reading-header{justify-content:space-between;gap:20px}body:not([data-reading-view]) .reading-header .back-link{display:block;width:auto;height:auto;margin-left:auto;font-size:15px}
@media(max-width:370px){.reading-main{padding-left:10px;padding-right:10px}.record-tools{padding-left:14px;padding-right:14px}.stage-bottom{font-size:13px}.reading-header nav{font-size:14px}.reading-header nav span{display:none}.page-position{gap:6px}}
.public-share-actions{margin-top:18px}.public-share-actions .secondary-button{margin-top:12px}.share-footer .secondary-button{width:auto;flex-shrink:0}.reading-share-page .reading-header .back-link{width:auto;font-size:16px}#shareBox{padding:14px;border:1px solid var(--line);border-radius:10px;background:#f6faf6;margin:14px 0}#shareBox .muted{margin-bottom:0}@media(max-width:600px){.share-footer .secondary-button{width:100%}}
.assessment-consent{font-size:14px;color:var(--muted);margin:-3px 0 10px;line-height:1.5}.reading-score{padding:18px;border:1px solid #cce4d9;border-radius:12px;background:linear-gradient(145deg,#f0faf4,#f8fcfa);margin-top:18px}.score-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.score-heading h3{font-size:18px;margin:0}.score-total{margin:4px 0 12px;color:var(--teal);line-height:1.3}.score-total strong{font-size:58px;font-weight:750;font-variant-numeric:tabular-nums;letter-spacing:-1px}.score-total span{font-size:16px;color:var(--muted)}.score-breakdown{display:grid;gap:7px;padding:12px 0;border-top:1px solid #dceae1;border-bottom:1px solid #dceae1}.score-breakdown>div{display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:16px}.score-breakdown strong{font-size:16px;font-variant-numeric:tabular-nums}.score-feedback{font-size:16px;line-height:1.75;margin:13px 0 0;overflow-wrap:anywhere}.score-note{font-size:13px;color:var(--muted);margin:12px 0 0;line-height:1.6}.score-state{font-size:16px;margin:14px 0 0}.score-pending{font-size:14px;color:var(--teal);white-space:nowrap}.score-details{margin-top:14px;padding-top:12px;border-top:1px solid #dceae1;font-size:15px}.score-details summary{color:var(--teal);min-height:32px}.score-details h4{font-size:15px;margin:12px 0 6px}.score-details p,.score-details li{white-space:pre-wrap;overflow-wrap:anywhere;margin-bottom:7px}.score-details ul{padding-left:22px;margin-top:7px}.reading-score .score-retry{margin:14px 0 0;min-height:46px}body[data-reading-phase='recording'] .assessment-consent{display:none}@media(max-width:600px){.reading-score{padding:16px}.score-total strong{font-size:56px}.assessment-consent{margin:0 0 9px;font-size:13px}.reading-main{padding-bottom:270px}}
.share-box-title{display:block;font-size:17px;margin-bottom:12px}.wechat-card-preview{display:flex;align-items:center;gap:12px;border:1px solid #dce6df;border-radius:10px;background:#fff;padding:12px;margin:0 0 14px;min-width:0;text-align:left}.wechat-card-preview>img{width:88px;height:88px;flex-shrink:0;object-fit:cover;border-radius:5px;background:#edf3ef}.wechat-card-preview>div{min-width:0}.wechat-card-preview strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:16px;line-height:1.5;overflow-wrap:anywhere}.wechat-card-preview p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;line-height:1.5;color:var(--muted);margin:5px 0 0;overflow-wrap:anywhere}.wechat-guide{position:fixed;inset:0;z-index:50;background:#102c32e8;color:#fff;padding:100px 24px 30px;display:flex;align-items:flex-start;justify-content:center;overflow-y:auto}.wechat-guide-arrow{position:absolute;right:18px;top:0;font-size:100px;line-height:1.2;color:#c1f5d9}.wechat-guide-content{max-width:420px;width:100%;text-align:center;padding-top:45px}.wechat-guide h2{font-size:25px;margin-bottom:18px}.wechat-guide p{font-size:18px;line-height:1.8;margin-bottom:28px}.wechat-guide .primary-button{background:#fff;color:var(--teal)}.wechat-guide .text-button{color:#d0f3e5;min-height:48px;text-align:center;width:100%;margin-top:9px}@media(max-width:370px){.wechat-card-preview{padding:10px;gap:10px}.wechat-card-preview>img{width:72px;height:72px}.wechat-card-preview p{font-size:13px}.wechat-guide{padding-left:20px;padding-right:20px}}
.card-preview-label{font-size:14px;color:var(--muted);margin:0 0 7px}.wechat-open-steps{padding-left:24px;margin:8px 0 18px;font-size:16px;line-height:1.8;text-align:left}.wechat-open-steps li+li{margin-top:7px}.wechat-guide .wechat-open-steps{margin:0 0 22px;font-size:17px}.wechat-guide-content{display:flex;flex-direction:column}
.share-diagnostics{margin-top:20px;border-top:1px solid var(--line);padding-top:13px}.share-diagnostics summary{color:var(--muted);font-size:15px;min-height:34px}.share-diagnostics p{font-size:14px;margin:10px 0;line-height:1.7;overflow-wrap:anywhere}.share-diagnostics textarea{display:block;width:100%;resize:vertical;min-height:260px;padding:12px;border:1px solid #d7e3db;border-radius:8px;background:#fff;color:var(--ink);font-family:inherit;font-size:14px;line-height:1.65;user-select:text;-webkit-user-select:text}.share-diagnostics .secondary-button{min-height:46px;margin-top:12px}

.qr-reopen-button{display:block;width:100%;min-height:44px;text-align:center;font-size:15px;margin-top:3px}.wechat-guide[data-guide-mode="qr"]{padding:26px 20px 24px}.wechat-guide[data-guide-mode="qr"] .wechat-guide-content{padding-top:0}.wechat-guide[data-guide-mode="qr"] h2{font-size:23px;margin-bottom:12px}.wechat-guide[data-guide-mode="qr"] p{font-size:16px;line-height:1.65;margin-bottom:12px}.wechat-guide[data-guide-mode="qr"] .wechat-open-steps{font-size:16px;line-height:1.65;margin:16px 0}.wechat-qr-panel{width:224px;max-width:100%;margin:0 auto}.wechat-qr-panel img{display:block;width:100%;height:auto;background:#fff;border:10px solid #fff;border-radius:5px;-webkit-touch-callout:default;user-select:auto}.wechat-qr-panel .secondary-button{color:var(--ink);font-size:16px;min-height:44px;margin-top:10px}.wechat-guide[data-guide-mode="qr"] #closeWechatGuide{min-height:44px;font-size:16px}.result-qr-details{margin-bottom:16px}.result-qr-details summary{color:var(--teal);font-size:17px;min-height:42px}.result-qr-details img{display:block;max-width:100%;width:224px;height:auto;margin:12px auto;background:#fff;border:10px solid #fff;-webkit-touch-callout:default;user-select:auto}.result-qr-details p{font-size:14px;line-height:1.7;overflow-wrap:anywhere}
