.reader-navigation-overlay{z-index:40;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#3a2d2247;justify-content:flex-start;align-items:stretch;display:flex;position:absolute;inset:0}.reader-navigation{width:min(420px,100%);height:100%;min-height:0;color:var(--reader-ink,#55483e);background:#fffcf7;flex-direction:column;animation:.2s ease-out reader-nav-enter;display:flex;box-shadow:14px 0 50px #34231524}.reader-navigation-heading{flex-shrink:0;justify-content:space-between;align-items:center;min-height:65px;padding:12px 22px;display:flex}.reader-navigation-heading h2{letter-spacing:.8px;margin:0;font-size:17px;font-weight:600}.reader-navigation-heading>button{background:0 0;border-radius:50%;width:38px;height:38px}.reader-navigation-heading>button:hover{background:#eee5da}.reader-navigation-tabs{border-bottom:1px solid #e7ded3;flex-shrink:0;gap:10px;padding:0 20px;display:flex}.reader-navigation-tabs>button{color:#9d8b79;white-space:nowrap;background:0 0;border-bottom:2px solid #0000;border-radius:0;flex:1;gap:8px;padding:14px 9px 13px;font-size:13px}.reader-navigation-tabs>button[aria-selected=true]{color:#73543c;border-bottom-color:#a5815e}.reader-navigation-content{flex:1;min-height:0;display:flex;overflow:hidden}.reader-chapters-panel{overscroll-behavior:contain;width:100%;padding:15px 16px 25px;overflow:auto}.reader-chapters{margin:0;padding:0;list-style:none}.reader-chapters li{margin:2px 0}.reader-chapters button{text-align:left;background:0 0;border-radius:7px;justify-content:space-between;gap:15px;width:100%;padding:13px 12px;font-size:13px;line-height:1.6;display:flex}.reader-chapters button>span:first-child{overflow-wrap:anywhere}.reader-chapters button:hover{background:#f4eee5}.reader-chapters button.is-current{color:#775337;background:#ede3d5}.reader-chapter-page{color:#a38e78;font-variant-numeric:tabular-nums;flex-shrink:0;align-items:center;gap:5px;font-size:11px;display:flex}.reader-navigation-empty{text-align:center;color:#a08a74;flex-direction:column;align-items:center;gap:14px;padding:55px 16px;display:flex}.reader-navigation-empty p{margin:0;font-size:13px;line-height:1.7}.reader-navigation-empty>button{background:#eee5d8;border-radius:5px;gap:4px;padding:9px 13px;font-size:12px;display:flex}.reader-manage-chapters{color:#85664a;background:#f0e7db;border-radius:6px;gap:7px;width:100%;margin-top:20px;padding:13px;font-size:12px}.reader-pages-panel{flex-direction:column;width:100%;min-height:0;display:flex}.reader-preview-jump{color:#a08b77;flex-shrink:0;justify-content:space-between;align-items:center;gap:8px;padding:14px 21px 10px;font-size:12px;display:flex}.reader-preview-jump label{flex:1;align-items:center;gap:10px;display:flex}.reader-preview-jump input{text-align:center;color:#70563f;background:#fffdf9;border:1px solid #e1d5c5;border-radius:5px;width:60px;min-height:34px;margin-left:auto;font-size:13px}.reader-preview-jump>button{background:#eee4d6;border-radius:5px;padding:9px 12px;font-size:12px}.reader-thumbnail-scroll{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#ccbdac transparent;flex:1;min-height:0;padding:8px 17px 15px;position:relative;overflow:auto}.reader-thumbnail-virtual{width:100%;position:relative}.reader-thumbnail-grid{gap:0 12px;display:grid;position:absolute;left:0;right:0}.reader-thumbnail{background:0 0;border-radius:6px;flex-direction:column;width:100%;height:213px;padding:5px 3px 14px;display:flex;justify-content:flex-start!important;align-items:stretch!important}.reader-thumbnail-paper{background:#eee9e1;border:2px solid #0000;border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;width:100%;height:174px;padding:7px;transition:border-color .15s,background .15s;display:flex;position:relative;overflow:hidden}.reader-thumbnail-paper canvas{object-fit:contain;max-width:100%;max-height:100%;display:block;box-shadow:0 2px 5px #47301c1c}.reader-thumbnail:hover .reader-thumbnail-paper{background:#e9dfd2}.reader-thumbnail.is-current .reader-thumbnail-paper{background:#e9dece;border-color:#a5815e}.reader-thumbnail-label{color:#9b8773;padding-top:8px;font-size:11px;line-height:17px}.reader-thumbnail.is-current .reader-thumbnail-label{color:#755132;font-weight:600}.reader-thumbnail-status{color:#a28d77;justify-content:center;align-items:center;font-size:11px;display:flex;position:absolute;inset:0}@keyframes reader-nav-enter{0%{opacity:.4;transform:translate(-35px)}to{opacity:1;transform:translate(0)}}@media (max-width:760px){.reader-navigation{width:min(390px,92vw);padding-bottom:env(safe-area-inset-bottom,0px)}.reader-navigation-heading{min-height:58px;padding:9px 18px}.reader-navigation-heading h2{font-size:16px}.reader-navigation-tabs{padding:0 13px}.reader-thumbnail-scroll{padding-left:12px;padding-right:12px}.reader-thumbnail-grid{column-gap:8px}}@media (prefers-reduced-motion:reduce){.reader-navigation{animation:none}.reader-thumbnail-paper{transition:none}}.chapter-editor-backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:40;background:#30281f66;justify-content:center;align-items:center;padding:24px;display:flex;position:absolute;inset:0}.chapter-editor{color:#55483e;text-align:left;background:#fffcf7;border:1px solid #e2d5c5;border-radius:14px;flex-direction:column;width:min(680px,100%);max-height:calc(100% - 12px);display:flex;overflow:hidden;box-shadow:0 28px 80px #38291c33}.chapter-editor-header{flex-shrink:0;justify-content:space-between;align-items:center;padding:23px 26px 12px;display:flex}.chapter-editor-header span{letter-spacing:1.5px;color:#9b826a;font-size:10px}.chapter-editor-header h2{margin:6px 0;font-size:21px;font-weight:500}.chapter-editor-header button{background:0 0;border-radius:50%;width:36px;height:36px}.chapter-editor-header button:hover{background:#eee5da}.chapter-editor-intro{color:#937e69;flex-shrink:0;margin:0;padding:0 26px 18px;font-size:12px;line-height:1.8}.chapter-editor-form{flex-direction:column;min-height:0;display:flex;overflow:hidden}.chapter-editor-rows{overscroll-behavior:contain;min-height:70px;max-height:52dvh;padding:0 26px;overflow:auto}.chapter-editor-row{border-top:1px solid #eee5da;grid-template-columns:20px minmax(100px,1fr) 65px 89px;align-items:end;gap:10px;padding:14px 0;display:grid}.chapter-editor-index{color:#b19a84;align-self:center;padding-top:14px;font-size:11px}.chapter-editor-row label{flex-direction:column;gap:5px;min-width:0;display:flex}.chapter-editor-row label span{color:#9b826a;font-size:10px}.chapter-editor-row input{color:#55483e;background:#fffefb;border:1px solid #dfd2c3;border-radius:5px;width:100%;min-width:0;height:36px;padding:7px 9px;font-family:inherit;font-size:12px}.chapter-editor-row-actions{align-items:center;gap:1px;height:36px;display:flex}.chapter-editor-row-actions button{background:0 0;border-radius:4px;width:29px;height:32px}.chapter-editor-row-actions button:hover:not(:disabled){background:#eee5da}.chapter-editor-row-actions button:last-child:hover:not(:disabled){color:#a65243}.chapter-editor-empty{text-align:center;color:#a38c75;flex-direction:column;justify-content:center;align-items:center;padding:30px 15px 35px;display:flex}.chapter-editor-empty p{color:#75604e;margin:13px 0 8px;font-size:14px}.chapter-editor-empty span{font-size:11px;line-height:1.7}.chapter-editor-add{background:#efe6db;border-radius:5px;flex-shrink:0;gap:7px;margin:12px 26px 18px;padding:11px 14px;font-size:12px}.chapter-editor-add span{color:#9b826a;margin-left:auto;font-size:10px}.chapter-editor-error{color:#a34e42;margin:0;padding:0 26px 10px;font-size:12px;line-height:1.7}.chapter-editor-footer{background:#faf5ed;border-top:1px solid #e8ded1;flex-shrink:0;justify-content:flex-end;align-items:center;gap:9px;padding:15px 26px;display:flex}.chapter-editor-footer>span{color:#9d8771;margin-right:auto;font-size:11px}.chapter-editor-footer button{background:#eae0d3;border-radius:5px;gap:6px;height:37px;padding:0 17px;font-size:12px}.chapter-editor-footer button.chapter-editor-save{color:#fffcf7;background:#896a50}.chapter-editor-footer button:hover:not(:disabled){filter:brightness(.96)}@media (max-width:600px){.chapter-editor-backdrop{padding:12px}.chapter-editor{border-radius:10px;max-height:100%}.chapter-editor-header{padding:18px 17px 10px}.chapter-editor-intro{padding:0 17px 15px}.chapter-editor-rows{max-height:48dvh;padding:0 17px}.chapter-editor-row{grid-template-columns:15px minmax(100px,1fr) 60px;gap:8px}.chapter-editor-row-actions{grid-column:2/-1;justify-content:flex-end;height:27px;margin-top:-3px}.chapter-editor-row-actions button{width:32px;height:27px}.chapter-editor-add{margin:10px 17px 14px}.chapter-editor-footer{padding:13px 17px}.chapter-editor-error{padding:0 17px 12px}}.hotspot-layer{z-index:6;pointer-events:none;position:absolute;inset:0}.hotspot-layer-editable{pointer-events:auto;cursor:crosshair;touch-action:none;background:#c7ad8010;box-shadow:inset 0 0 0 2px #a88b6c73}.hotspot-drawing-hint{pointer-events:none;color:#8b6c4e;max-width:calc(100% - 16px);font:10px/1.3 var(--font-sans);background:#fffcf4ed;border:1px solid #e2d4c3;border-radius:4px;align-items:center;gap:5px;padding:5px 7px;display:flex;position:absolute;top:8px;left:8px;box-shadow:0 2px 8px #5c3d2210}.hotspot-area{pointer-events:auto;font-family:var(--font-sans);border-radius:3px;text-decoration:none;transition:background .15s,border-color .15s;display:block;position:absolute;color:#7b5a37!important;cursor:pointer!important;background:#b5976e08!important;border:1px solid #b5976e66!important;min-width:0!important;padding:0!important}:is(.hotspot-area:hover,.hotspot-area:focus-visible){outline-offset:2px;outline:2px solid #a3825466;background:#ad8b5c22!important;border-color:#a38254!important}.hotspot-area-editable{background:#c0a57c1a!important;border:1.5px dashed #9b7b53!important}.hotspot-badge{color:#86633e;pointer-events:none;background:#fffaf1e8;border:1px solid #d8c7b0;border-radius:50%;justify-content:center;align-items:center;width:21px;height:21px;display:flex;position:absolute;top:3px;right:3px;box-shadow:0 1px 4px #5b42231f}.hotspot-tooltip{pointer-events:none;white-space:nowrap;text-overflow:ellipsis;color:#fffdf7;opacity:0;background:#6e5541;border-radius:4px;align-items:center;gap:7px;max-width:220px;padding:6px 9px;font-size:10px;line-height:1.4;transition:opacity .15s;display:flex;position:absolute;bottom:calc(100% + 7px);left:50%;overflow:hidden;transform:translate(-50%)}:is(.hotspot-area:hover .hotspot-tooltip,.hotspot-area:focus-visible .hotspot-tooltip){opacity:1}.hotspot-draft{pointer-events:none;background:#b59a6e30;border:2px dashed #94704b;border-radius:2px;position:absolute}.hotspot-dialog-backdrop{z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);box-sizing:border-box;font-family:var(--font-sans);color:#5c493a;background:#392a205e;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.hotspot-dialog-backdrop *{box-sizing:border-box}.hotspot-dialog{scrollbar-width:thin;background:#fffcf7;border:1px solid #eadfce;border-radius:16px;width:min(100%,460px);max-height:calc(100dvh - 48px);padding:25px;overflow:auto;box-shadow:0 25px 100px #32211240}.hotspot-dialog-wide{width:min(100%,900px);padding:22px}.hotspot-dialog-heading{justify-content:space-between;align-items:center;gap:15px;margin-bottom:13px;display:flex}.hotspot-dialog-heading h2{font-family:var(--font-sans);letter-spacing:1px;color:#614a36;margin:0;font-size:22px;font-weight:500;line-height:1.5}.hotspot-dialog button,.hotspot-dialog input,.hotspot-dialog select{font:inherit}.hotspot-dialog button,.hotspot-dialog a{cursor:pointer}.hotspot-dialog button{justify-content:center;align-items:center;gap:7px;line-height:1.4;transition:background .15s;display:inline-flex}.hotspot-close{color:#9b8876;background:0 0;border:0;border-radius:50%;flex-shrink:0;width:32px;height:32px;padding:0}.hotspot-close:hover{background:#efe5d8}.hotspot-dialog-note{color:#9b8773;margin:0 0 22px;font-size:12px;line-height:1.9}.hotspot-kind-options{border:0;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 22px;padding:0;display:grid}.hotspot-kind-options legend{color:#7e6853;margin-bottom:9px;padding:0;font-size:12px;line-height:1.5}.hotspot-kind-options button{color:#99836c;background:#fffcf7;border:1px solid #e6d9c8;border-radius:7px;min-height:47px;padding:11px 7px;font-size:12px}.hotspot-kind-options button.is-selected{color:#795737;background:#f2e7d8;border-color:#ad8b65;box-shadow:inset 0 0 0 1px #ad8b651f}.hotspot-field{color:#7e6853;flex-direction:column;gap:9px;margin:0 0 17px;font-size:12px;line-height:1.5;display:flex}.hotspot-field input{color:#5e4836;background:#fffefd;border:1px solid #e4d9ca;border-radius:7px;outline:0;width:100%;min-width:0;padding:12px;font-size:13px;box-shadow:0 1px 2px #7c644306}.hotspot-field input:focus{border-color:#ac8b66;box-shadow:0 0 0 3px #d9c5a72b}.hotspot-field input::placeholder{color:#c0af9b}.hotspot-field-help{color:#a18c76;margin:-7px 0 20px;font-size:11px;line-height:1.8}.hotspot-form-error,.hotspot-delete-warning{color:#9a5a3d;background:#f7ece1;border-radius:7px;margin:15px 0;padding:11px 13px;font-size:12px;line-height:1.8}.hotspot-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:9px;margin-top:25px;display:flex}.hotspot-dialog button:disabled{opacity:.5;cursor:wait}.hotspot-primary,.hotspot-secondary,.hotspot-danger{border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;gap:7px;padding:11px 15px;font-weight:500;line-height:1.4;text-decoration:none;display:inline-flex;font-size:12px!important}.hotspot-primary{color:#fffaf3;background:#95724f}.hotspot-primary:hover{background:#7e5d3e}.hotspot-secondary{color:#8d745a;background:#f3ede4;border-color:#e4d8c9}.hotspot-secondary:hover{background:#eae0d3}.hotspot-danger{color:#aa6748;background:#f7ece4;border-color:#ebd7c6}.hotspot-danger:hover{background:#f0dfd2}.hotspot-actions-split{justify-content:space-between}.hotspot-details{background:#f6f0e7;border:1px solid #e9ddcb;border-radius:9px;margin:20px 0 16px;padding:18px}.hotspot-detail-kind{color:#a18a72;align-items:center;gap:7px;font-size:11px;display:flex}.hotspot-details h3{font-family:var(--font-sans);letter-spacing:.5px;color:#795b3e;margin:15px 0 10px;font-size:19px;font-weight:500;line-height:1.6}.hotspot-details p{color:#a18a72;overflow-wrap:anywhere;margin:0;font-size:11px;line-height:1.8}.hotspot-video-frame{aspect-ratio:16/9;background:#241e19;border-radius:8px;justify-content:center;align-items:center;margin-top:18px;display:flex;position:relative;overflow:hidden}.hotspot-video-frame iframe,.hotspot-video-frame video{border:0;width:100%;height:100%;display:block}.hotspot-video-frame video{object-fit:contain}.hotspot-video-help{color:#a08a73;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:7px;margin:16px 0 0;font-size:11px;line-height:1.8;display:flex}.hotspot-video-help a{color:#846344;text-underline-offset:3px;align-items:center;gap:5px;display:inline-flex}.hotspot-inline-error{z-index:10;border-radius:5px;justify-content:center;align-items:center;gap:6px;padding:8px;position:absolute;bottom:10px;left:10px;right:10px;color:#9b6644!important;background:#fff8eded!important;border:1px solid #e0cbb6!important;font-size:10px!important;display:flex!important}.hotspot-spin{animation:1s linear infinite hotspot-spin}:is(.hotspot-dialog button:focus-visible,.hotspot-dialog a:focus-visible){outline-offset:3px;outline:2px solid #94704b}@keyframes hotspot-spin{to{transform:rotate(360deg)}}@media (max-width:520px){.hotspot-dialog-backdrop{padding:14px}.hotspot-dialog{border-radius:12px;max-height:calc(100dvh - 28px);padding:20px}.hotspot-dialog-heading h2{font-size:20px}.hotspot-kind-options{gap:8px}.hotspot-kind-options button{font-size:11px}.hotspot-dialog-wide{padding:15px}.hotspot-dialog-wide .hotspot-dialog-heading h2{font-size:18px}.hotspot-badge{width:18px;height:18px;top:2px;right:2px}.hotspot-drawing-hint{padding:4px 5px;font-size:8px;top:5px;left:5px}.hotspot-tooltip{display:none}}@media (prefers-reduced-motion:reduce){.hotspot-area,.hotspot-tooltip{transition:none}}.ebook-reader{--reader-ink:#55483e;--reader-muted:#9b8d7e;--reader-line:#e7ded3;box-sizing:border-box;height:100dvh;min-height:100dvh;color:var(--reader-ink);font-family:var(--font-sans);background:#f3eee7;flex-direction:column;display:flex;overflow:hidden}.ebook-reader *{box-sizing:border-box}.ebook-reader button,.ebook-reader input{font:inherit}.ebook-reader button{cursor:pointer;color:inherit;border:0;justify-content:center;align-items:center;transition:background .2s,color .2s,box-shadow .2s;display:inline-flex}.ebook-reader button:disabled{opacity:.3;cursor:default}:is(.ebook-reader button:focus-visible,.ebook-reader a:focus-visible,.ebook-reader input:focus-visible){outline-offset:4px;outline:2px solid #94745b}.reader-header{border-bottom:1px solid var(--reader-line);background:#fffcf7;flex-shrink:0;grid-template-columns:1fr minmax(0,2fr) 1fr;align-items:center;gap:22px;height:94px;padding:0 38px;display:grid}.reader-back{color:#867363;align-items:center;gap:10px;width:max-content;font-size:13px;text-decoration:none;display:inline-flex}.reader-back:hover{color:#4f3a2a}.reader-heading{text-align:center;min-width:0}.reader-eyebrow{letter-spacing:2px;color:#a48e79;font-size:10px}.reader-heading h1{font-family:var(--font-sans);letter-spacing:1px;white-space:nowrap;text-overflow:ellipsis;margin:8px 0 0;font-size:21px;font-weight:500;overflow:hidden}.reader-icon-button{background:0 0;border-radius:50%;justify-self:end;width:38px;height:38px}.reader-icon-button:hover{background:#eee6dc}.reader-main{flex:1;align-items:stretch;min-height:0;display:flex;position:relative}.reader-stage{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#ccbdac transparent;touch-action:pan-x pan-y;align-items:stretch;width:100%;height:100%;display:flex;overflow:auto}.reader-book-space{flex-shrink:0;justify-content:center;align-items:center;width:100%;min-height:100%;margin:auto;padding:30px;display:flex}.reader-book{isolation:isolate;perspective:2000px;border-radius:2px;align-items:flex-start;display:flex;position:relative;box-shadow:0 22px 40px -13px #64513c35,0 5px 10px #46342115}.reader-cover{box-shadow:6px 6px 0 -2px #ded7cc,9px 9px 0 -3px #cfc3b2,0 24px 42px -12px #64513c45}.reader-paper{background:#fffdf9;flex-shrink:0;min-height:80px;position:relative;overflow:hidden}.reader-paper canvas{max-width:none;display:block}.reader-spread>.reader-paper:first-child{box-shadow:inset -10px 0 20px -16px #5f4026}.reader-spine{pointer-events:none;z-index:3;background:linear-gradient(90deg,#0000,#4d351214 40%,#3b270f2b 49%,#ffffff20 53%,#0000);width:26px;position:absolute;top:0;bottom:0;left:50%;transform:translate(-50%)}.reader-paper-number{color:#b8ac9b;background:#ffffffb8;border-radius:2px;padding:2px 5px;font-size:8px;position:absolute;bottom:7px;left:50%;transform:translate(-50%)}.reader-page-status{color:#b0a18f;background:#fffcf4;flex-direction:column;justify-content:center;align-items:center;gap:12px;font-size:12px;display:flex;position:absolute;inset:0}.reader-blank{color:#b1a18c;font-family:var(--font-sans);letter-spacing:5px;background:#fbf7ef;flex-direction:column;justify-content:center;align-items:center;gap:14px;font-size:13px;display:flex}.reader-edge{z-index:5;background:#fffdf7d9;border-radius:50%;width:48px;height:48px;position:absolute;top:50%;transform:translateY(-50%);box-shadow:0 4px 14px #78604b0d}.reader-edge:hover:not(:disabled){background:#e8dccc}.reader-edge-prev{left:22px}.reader-edge-next{right:22px}.reader-footer{border-top:1px solid var(--reader-line);background:#fffcf7;flex-shrink:0;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;height:82px;padding:0 37px;display:grid}.reader-zoom{align-items:center;gap:4px;display:flex}.reader-zoom>button,.reader-pagination>button{background:0 0;border-radius:6px;width:34px;height:34px}.reader-zoom>button:hover:not(:disabled),.reader-pagination>button:hover:not(:disabled){background:#ede4d9}.reader-zoom>button.reader-zoom-reset{color:#8f7b67;width:48px;font-size:11px}.reader-pagination{align-items:center;gap:17px;display:flex}.reader-page-label{font-variant-numeric:tabular-nums;white-space:nowrap;align-items:center;gap:5px;font-size:12px;display:flex}.reader-page-label input{color:#6e5742;text-align:center;-webkit-appearance:textfield;appearance:textfield;background:#fffdf9;border:1px solid #e8ded1;border-radius:5px;outline:0;width:37px;height:32px;font-size:12px}.reader-page-label input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.reader-page-label input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.reader-total{color:#a59685;margin-left:4px}.reader-hint{color:#a79886;text-align:right;justify-self:end;max-width:260px;font-size:11px;line-height:1.5}.reader-progress{background:#e8ddce;flex-shrink:0;height:3px}.reader-progress>span{background:#ac8d6f;height:100%;transition:width .4s;display:block}.reader-message{text-align:center;color:#a48e79;flex-direction:column;align-items:center;max-width:440px;margin:auto;padding:40px 25px;display:flex}.reader-message h2{font-family:var(--font-sans);color:#6d5947;letter-spacing:2px;margin:23px 0 0;font-size:23px;font-weight:400}.reader-message p{color:#9b8a78;margin:14px 0 0;font-size:13px;line-height:1.9}.reader-retry{background:#e8ddce;border-radius:5px;gap:8px;margin-top:25px;padding:11px 19px;font-size:12px}.reader-spin{animation:1.2s linear infinite reader-spin}.reader-sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.reader-turn-leaf{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:4;background:linear-gradient(90deg,#e6dcca80,#fffaf1dd 14%,#faf4e8b0 87%,#c4b49f60);width:50%;position:absolute;top:0;bottom:0;box-shadow:6px 0 22px #62482e24}.reader-cover .reader-turn-leaf{width:100%}.reader-turn-leaf-next{transform-origin:0;animation:.5s ease-in-out both reader-turn-next;right:0}.reader-turn-leaf-prev{transform-origin:100%;animation:.5s ease-in-out both reader-turn-prev;left:0}.reader-turn-next>.reader-paper,.reader-turn-prev>.reader-paper{animation:.38s both reader-page-appear}@keyframes reader-spin{to{transform:rotate(360deg)}}@keyframes reader-turn-next{0%{opacity:.75;transform:rotateY(0)}75%{opacity:.2}to{opacity:0;transform:rotateY(-160deg)}}@keyframes reader-turn-prev{0%{opacity:.75;transform:rotateY(0)}75%{opacity:.2}to{opacity:0;transform:rotateY(160deg)}}@keyframes reader-page-appear{0%{filter:brightness(.96)}to{filter:brightness()}}@media (max-width:760px){.reader-header{grid-template-columns:42px minmax(0,1fr) 42px;gap:10px;height:79px;padding:0 17px}.reader-back span{display:none}.reader-heading h1{letter-spacing:.5px;margin-top:7px;font-size:17px}.reader-eyebrow{letter-spacing:1.2px;font-size:9px}.reader-book-space{padding:22px 20px}.reader-edge{width:30px;height:34px;box-shadow:none;background:#fffcf4c9;border-radius:6px}.reader-edge-prev{left:0}.reader-edge-next{right:0}.reader-footer{grid-template-columns:1fr auto;align-content:center;gap:4px 10px;height:97px;padding:9px 15px 19px}.reader-pagination{grid-area:1/2;gap:7px}.reader-zoom{grid-area:1/1;gap:0}.reader-hint{grid-area:2/1/auto/-1;justify-self:center;margin-top:6px;font-size:10px}.reader-page-label{font-size:11px}.reader-pagination>button{width:29px}.reader-book{box-shadow:0 15px 27px -8px #64513c3d}.reader-zoom>button{width:31px}.reader-message h2{font-size:21px}}@media (prefers-reduced-motion:reduce){.reader-turn-leaf{display:none}.reader-turn-next>.reader-paper,.reader-turn-prev>.reader-paper,.reader-progress>span{transition:none;animation:none}}.reader-actions{justify-self:end;align-items:center;gap:9px;display:flex}.ebook-reader .reader-edit-toggle{color:#85674e;white-space:nowrap;background:#eee5d9;border-radius:5px;align-items:center;gap:7px;padding:9px 12px;font-size:11px;display:inline-flex}.ebook-reader .reader-edit-toggle:hover{background:#e6d7c5}.ebook-reader .reader-edit-toggle.is-active{color:#fffaf3;background:#927254}.reader-edit-notice{color:#7e6248;background:#e8ddcb;flex-shrink:0;justify-content:center;align-items:center;gap:8px;padding:10px 18px;font-size:11px;line-height:1.6;display:flex}.reader-edit-notice svg{flex-shrink:0}@media (max-width:760px){.reader-actions{gap:1px}.ebook-reader .reader-edit-toggle{background:0 0;padding:9px}.reader-edit-toggle span{display:none}.reader-header:has(.reader-edit-toggle){grid-template-columns:35px minmax(0,1fr) 78px}.reader-edit-notice{justify-content:flex-start;padding:8px 17px;font-size:10px}}.reader-large-actions{flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;display:flex}.reader-large-actions .reader-retry{margin-top:20px}.reader-large-file .reader-file-size{color:#a08b75;font-size:11px}.reader-large-file{max-width:540px}.ebook-reader{position:relative}.ebook-reader .reader-header{height:auto;min-height:58px;padding:8px max(22px,env(safe-area-inset-right)) 8px max(22px,env(safe-area-inset-left));gap:18px;display:flex}.ebook-reader .reader-heading{text-align:left;flex:1;min-width:0}.ebook-reader .reader-heading h1{letter-spacing:.02em;margin:0;font-size:16px;font-weight:500;line-height:1.5}.ebook-reader .reader-actions{flex-shrink:0;gap:6px}.ebook-reader .reader-tool-button{white-space:nowrap;background:0 0;border-radius:6px;gap:7px;height:38px;padding:0 10px;font-size:12px}.ebook-reader .reader-tool-button:hover:not(:disabled){background:#eee6dc}.ebook-reader .reader-back{gap:7px;font-size:12px}.ebook-reader .reader-stage{-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y;display:block}.ebook-reader .reader-book-space{align-items:center;height:max-content;min-height:100%;margin:0}.ebook-reader .reader-message{justify-content:center;min-height:100%}.ebook-reader .reader-footer{height:auto;min-height:70px;padding-bottom:max(10px,env(safe-area-inset-bottom));padding-top:10px}.ebook-reader.reader-immersive{z-index:1000;position:fixed;inset:0}.ebook-reader:-webkit-full-screen{padding-top:env(safe-area-inset-top)}.ebook-reader:fullscreen{padding-top:env(safe-area-inset-top)}.ebook-reader .reader-icon-button{flex-shrink:0;width:40px;height:40px}@media (max-width:760px){.ebook-reader .reader-header{min-height:54px;padding:7px max(10px,env(safe-area-inset-right)) 7px max(13px,env(safe-area-inset-left));gap:8px}.ebook-reader .reader-heading h1{letter-spacing:0;font-size:14px}.ebook-reader .reader-actions{gap:1px}.ebook-reader .reader-tool-button{gap:4px;height:40px;padding:0 6px;font-size:11px}.ebook-reader .reader-tool-button svg{width:16px;height:16px}.ebook-reader .reader-icon-button{width:35px;height:40px}.ebook-reader .reader-footer{min-height:88px;padding:7px max(10px,env(safe-area-inset-right)) max(9px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));gap:1px 5px}.ebook-reader .reader-zoom>button{width:37px;height:42px}.ebook-reader .reader-zoom>button.reader-zoom-reset{width:48px;font-size:12px}.ebook-reader .reader-pagination{gap:4px}.ebook-reader .reader-pagination>button{width:32px;height:42px}.ebook-reader .reader-page-label input{width:40px;height:36px;font-size:16px}.ebook-reader .reader-hint{max-width:none;margin-top:0;font-size:10px}.ebook-reader .reader-preview-jump input,.ebook-reader .chapter-editor-row input{font-size:16px}.reader-owner .reader-header{flex-wrap:wrap}.reader-owner .reader-back{width:28px}.reader-owner .reader-actions{border-top:1px solid #eee5db;justify-content:flex-end;width:100%;padding-top:4px}.reader-owner .reader-tool-button{padding:0 9px}.reader-owner .reader-edit-toggle span{display:inline}}@media (max-width:360px){.ebook-reader .reader-tool-button{gap:3px;padding:0 5px}.ebook-reader .reader-tool-button svg{display:none}.ebook-reader .reader-pagination{gap:0}.ebook-reader .reader-zoom>button{width:33px}}
