*{box-sizing:border-box}html{background:#eee5d5;color:#443a2b;scroll-behavior:auto}body{margin:0;font-family:'Songti SC','SimSun',serif;-webkit-font-smoothing:antialiased}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer;border:0;background:none}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid #866b3e;outline-offset:4px}button:disabled{cursor:default;opacity:.48}button:hover:not(:disabled){color:#89663a}button:active:not(:disabled){transform:translateY(1px)}[hidden]{display:none!important}.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}.skip-link{position:fixed;top:-70px;left:20px;z-index:100;background:#fff5df;padding:12px;color:#433}.skip-link:focus{top:10px}.masthead{position:fixed;top:0;left:0;width:100%;height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 30px;z-index:20;background:#eee5d5}.brand{display:flex;align-items:center;gap:10px;text-align:left;padding:0}.brand-symbol{font-size:34px;color:#a0875e}.brand>span:last-child{font-size:17px;letter-spacing:4px}.brand small{display:block;font-family:Georgia,serif;font-size:7px;letter-spacing:1.6px;margin-top:5px}.header-note{font-size:11px;letter-spacing:3px;color:#9c8c71}.audio-controls{display:flex;gap:17px;align-items:center}.audio-controls button{display:flex;align-items:center;gap:6px;padding:9px 0;font-size:11px;white-space:nowrap}.audio-controls button+button{border-left:1px solid #c9bfa9;padding-left:17px}.audio-controls svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}.sound-bars{display:flex;gap:2px;height:12px;align-items:center;margin-left:2px}.sound-bars b{width:1px;height:7px;background:currentColor;animation:bars 1.1s ease-in-out infinite alternate;animation-play-state:paused}.sound-bars b:nth-child(2){height:11px;animation-delay:-.4s}.sound-bars b:nth-child(3){height:4px;animation-delay:-.7s}.is-reading [aria-pressed=true] .sound-bars b{animation-play-state:running}.audio-controls [aria-pressed=false] .sound-bars b{height:2px;animation:none}.story-stage{position:fixed;left:50%;top:calc(50dvh - 4px);transform:translate(-50%,-50%);width:min(calc(100vw - 32px),calc((100dvh - 144px)*1.7768));aspect-ratio:1672/941;overflow:hidden;border-radius:4px;box-shadow:0 6px 28px #6b4b3324;background:#d5c4a5;isolation:isolate}.artwork-stack{position:absolute;inset:0;overflow:hidden}.story-frame{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center;display:block;user-select:none;-webkit-user-drag:none}.incoming{opacity:0}.enter-hotspot{position:absolute;left:39.3%;top:81.2%;width:21.4%;height:10.7%;border-radius:50%;z-index:5;transition:box-shadow .3s,background .3s}.enter-hotspot:hover{background:#fff0b926;box-shadow:0 0 25px #ffdf9a77}.enter-hotspot:focus-visible{outline:2px solid #795c32;outline-offset:4px;box-shadow:0 0 25px #ffdf9a77}.caption-line{position:fixed;left:50%;bottom:62px;transform:translateX(-50%);z-index:15;display:flex;align-items:center;gap:17px;max-width:calc(100% - 60px);width:max-content;min-height:24px;text-align:center;padding:0 10px}.caption-line p{font-size:14px;line-height:1.7;letter-spacing:1.3px;margin:0;color:#66543a}.caption-ornament{font:12px Georgia;color:#b99f76}.story-controls{position:fixed;left:0;bottom:0;width:100%;height:56px;z-index:20;display:flex;justify-content:space-between;align-items:center;padding:0 30px;background:#eee5d5;gap:20px}.edition{font-size:10px;letter-spacing:2px;color:#9a886b}.exit-button{font-size:10px;letter-spacing:1px;color:#8b7b60;padding:12px 0}.chapter-nav{display:flex;gap:23px;position:absolute;left:50%;transform:translateX(-50%)}.chapter-nav button{position:relative;display:flex;gap:7px;align-items:center;padding:13px 0;font-size:10px;color:#9c9079;white-space:nowrap}.chapter-nav button span:first-child{font:10px Georgia;letter-spacing:1px}.chapter-nav button:after{content:'';position:absolute;bottom:5px;left:0;right:0;height:1px;background:#9c7d4f;transform:scaleX(0);transform-origin:left;transition:transform .5s}.chapter-nav button[aria-current=true]{color:#5a4b35}.chapter-nav button[aria-current=true]:after{transform:scaleX(1)}.transport{display:flex;align-items:center;gap:18px}.transport button{font-size:10px;padding:10px 0;letter-spacing:1px}.transport #next{font-size:22px;padding:6px}.transport>span{font:9px Georgia;letter-spacing:1px;color:#9f8c70}.timeline-line{position:fixed;bottom:0;left:0;right:0;height:2px;background:#c9b89b33;z-index:30;opacity:0}.timeline-line i{display:block;background:#a68857;width:100%;height:100%;transform:scaleX(0);transform-origin:left}.is-reading .timeline-line{opacity:1}.page-sweep{position:absolute;inset:0;z-index:3;pointer-events:none;opacity:0;background:linear-gradient(90deg,transparent 44%,#2e291933 48%,#fff6dc66 50%,transparent 55%);transform:translateX(-100%)}.end-actions{position:absolute;left:50%;bottom:3%;transform:translateX(-50%);z-index:6;text-align:center}.end-actions button{font-size:11px;color:#efdfb9;letter-spacing:3px;padding:8px 16px;border-bottom:1px solid #b49b7480;text-shadow:0 1px 3px #243323;background:#34483b77;border-radius:20px}.end-actions button:hover{color:#fff4dc!important}.image-loader{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:10;background:#f1e5d0ed;border:1px solid #b99861;padding:15px 25px;border-radius:30px;font-size:12px;letter-spacing:2px}.toast{position:fixed;left:50%;bottom:105px;transform:translate(-50%,15px);background:#f1e6d3f5;border:1px solid #b79a6c;color:#5b4932;border-radius:25px;padding:12px 22px;z-index:50;opacity:0;pointer-events:none;font-size:12px;transition:opacity .3s,transform .3s}.toast.show{opacity:1;transform:translate(-50%,0)}.reading-text{position:relative;z-index:30;background:#eee5d5;padding:22px max(24px,calc((100% - 760px)/2));line-height:1.9}.reading-text summary{cursor:pointer;font-size:12px;letter-spacing:2px}.reading-text h3{margin:35px 0 8px}.reading-text p{font-size:16px}.no-script{position:absolute;left:30%;top:45%;background:#f4e6cf;padding:25px}.is-cover{overflow:hidden}.is-cover .reading-text{display:none}.is-cover #scroll-track{height:100dvh!important}#scroll-track{height:1800dvh;pointer-events:none}body:fullscreen{background:#eee5d5}.is-ending .caption-line{opacity:0;pointer-events:none}@keyframes bars{to{height:3px}}
@media(max-width:1120px){.header-note{display:none}.chapter-nav{gap:24px}.chapter-nav button span:last-child{display:none}.caption-line p{font-size:13px}.transport{gap:12px}}
@media(max-width:650px){.masthead{height:57px;padding:0 16px}.brand{gap:6px}.brand-symbol{font-size:28px}.brand>span:last-child{font-size:14px;letter-spacing:3px}.brand small{font-size:6px;letter-spacing:.8px}.audio-controls{gap:10px}.audio-controls button{font-size:9px;gap:4px}.audio-controls button+button{padding-left:10px}.audio-controls svg{width:13px;height:13px}.sound-bars{display:none}.story-stage{width:calc(100vw - 14px);top:calc(50dvh - 34px);border-radius:3px}.story-controls{height:85px;padding:0 17px 27px;gap:10px}.chapter-nav{bottom:12px;gap:27px}.chapter-nav button{padding:0}.chapter-nav button:after{bottom:-5px}.transport{gap:15px;margin-left:auto}.transport button{font-size:10px}.transport>span{font-size:9px}.exit-button{font-size:10px}.edition{font-size:8px;letter-spacing:1px}#cover-number{display:none}.caption-line{bottom:96px;max-width:calc(100% - 34px);gap:10px;width:calc(100% - 34px);justify-content:center}.caption-line p{font-size:14px;letter-spacing:1px;line-height:1.9}.caption-ornament{flex-shrink:0;font-size:10px}.end-actions button{font-size:7px;padding:3px 10px;letter-spacing:1px}.toast{font-size:10px;bottom:120px;max-width:85%;width:max-content}.reading-text{padding:20px}}
@media(max-height:550px) and (orientation:landscape){.masthead{height:37px;padding:0 16px}.brand-symbol{font-size:22px}.brand>span:last-child{font-size:12px}.brand small{display:none}.audio-controls button{padding:4px 0;font-size:9px}.story-stage{width:min(calc(100vw - 20px),calc((100dvh - 95px)*1.7768));top:calc(50dvh - 4px)}.story-controls{height:32px;padding:0 16px}.chapter-nav{bottom:auto;gap:18px}.chapter-nav button{padding:8px 0}.caption-line{bottom:35px;min-height:22px}.caption-line p{font-size:10px}.transport button{font-size:9px}.header-note{display:none}.edition{font-size:8px}.toast{bottom:65px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}
html{scrollbar-width:none}html::-webkit-scrollbar{display:none}
.story-controls.quiet #exit,.story-controls.quiet #chapter-nav,.story-controls.quiet #transport{visibility:hidden;pointer-events:none}
