*{box-sizing:border-box;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;margin:0;padding:0}html,body{color:#594c38;background-color:#f3ecde;width:100%;height:100%;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Helvetica Neue,sans-serif;overflow:hidden}#app{background-image:linear-gradient(#faf5e938,#faf5e938),url(/assets/dunhuang-clouds-ram-BJWgc_C4.webp);background-position:50%;background-repeat:no-repeat;background-size:cover;flex-direction:column;width:100vw;height:100dvh;display:flex}.book-wrapper{flex:1;justify-content:center;align-items:center;width:100%;min-height:0;padding:8px;display:flex;overflow:hidden;container-type:size}.book-box{width:min(100cqw,64.5161cqh)}@container (width>=560px) and (height>=434px){.book-box{width:min(100cqw,129.032cqh)}}#my-book{min-width:0!important}#app{touch-action:manipulation}#my-book{touch-action:manipulation;touch-action:pan-y pinch-zoom}.zoomed #my-book{touch-action:manipulation}.page-item{background-color:#fff;border-radius:4px;width:100%;height:100%;position:relative;overflow:hidden;box-shadow:0 4px 16px #644d2729}.page-item img{object-fit:contain;pointer-events:none;width:100%;height:100%;transition:transform .15s ease-out;display:block;position:relative}.offline-status{text-align:center;color:#796c57;background:#fffcf480;border-bottom:1px solid #977c4f1f;flex-shrink:0;max-height:40px;padding:4px 10px;font-size:12px;line-height:1.6;transition:opacity .4s,max-height .4s,padding .4s;overflow:hidden}.offline-status.ready{color:#526943}.offline-status.leaving{opacity:0;border-bottom-width:0;max-height:0;padding-top:0;padding-bottom:0}.controls{z-index:10;background:#fffbf1c7;border-top:1px solid #977c4f2e;flex-direction:column;flex-shrink:0;gap:6px;padding:8px 16px 12px;display:flex;position:relative;box-shadow:0 -4px 20px #6a532c0a}.page-num{text-align:center;color:#66563e;letter-spacing:.06em;font-size:12px;font-weight:500;line-height:16px}.slider-container{align-items:center;gap:10px;width:100%;display:flex}.slider-container .label{color:#79694e;text-align:center;min-width:24px;font-size:12px}input[type=range]{-webkit-appearance:none;background:#dbcfb7;border-radius:2px;outline:none;flex:1;height:4px}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;cursor:pointer;background:#a38651;border:3px solid #fffaf0;border-radius:50%;width:20px;height:20px;box-shadow:0 1px 5px #75592a40}.btn-group{justify-content:space-between;gap:8px;display:flex}.btn-group button{color:#655236;cursor:pointer;background-color:#faf5e9;border:1px solid #cfc0a3;border-radius:6px;flex:1;justify-content:center;align-items:center;height:32px;font-size:13px;font-weight:500;transition:background-color .15s,transform .1s;display:flex}.btn-group button:active{color:#4f3e24;background-color:#e4d6b9;transform:scale(.97)}.btn-group button:hover{background-color:#eee3ce}.btn-group button:focus-visible,input[type=range]:focus-visible{outline-offset:3px;outline:2px solid #8e7448}input[type=range]::-moz-range-thumb{background:#a38651;border:3px solid #fffaf0;border-radius:50%;width:14px;height:14px;box-shadow:0 1px 5px #75592a40}@media (width<=600px){#app{background-position:50%,0;background-size:cover,auto 100%}}.menu-btn .caret{color:#a38651;margin-left:3px;font-size:10px}.btn-group .menu-btn[aria-expanded=true]{background-color:#e4d6b9}.menu-backdrop{z-index:1;position:fixed;inset:0}.jump-menu{z-index:2;background:#fffcf4f7;border:1px solid #cfc0a3;border-radius:10px;width:min(340px,100% - 24px);padding:10px 10px 12px;animation:.16s ease-out jump-menu-in;position:absolute;bottom:calc(100% + 6px);box-shadow:0 8px 28px #6a532c38}.jump-menu[hidden],.menu-backdrop[hidden]{display:none}.jump-menu-left{left:12px}.jump-menu-right{right:12px}.jump-title{color:#8a7a62;text-align:center;letter-spacing:.06em;margin-bottom:8px;font-size:12px}.jump-grid{grid-template-columns:repeat(4,1fr);gap:6px;display:grid}.jump-item{color:#655236;cursor:pointer;background:#fffaf0;border:1px solid #ddd0b6;border-radius:6px;height:34px;font-family:inherit;font-size:14px}.jump-item:active{background:#e4d6b9}.jump-item.current{color:#fff;background:#a38651;border-color:#a38651}@keyframes jump-menu-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
