:root{--paper:#fafafa;--ink:#212326;--muted:#74787d;--line:#d6d8da;--edge:36px;--thumb-size:15px;--title-font:Baskerville,"Baskerville Old Face",Didot,Palatino,"Palatino Linotype",Georgia,serif;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Helvetica Neue",Arial,sans-serif;background:var(--paper);color:var(--ink);font-synthesis:none;-webkit-font-smoothing:antialiased;}
:root:lang(zh-CN){font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Helvetica Neue",sans-serif;}
*{box-sizing:border-box}html,body{width:100%;height:100%;margin:0;overflow:hidden}body{min-width:320px}button,a,input{font:inherit;color:inherit;-webkit-tap-highlight-color:transparent}button{border:0;background:none;cursor:pointer}button:disabled{cursor:default}a{text-decoration:none}[hidden]{display:none!important}
button:focus-visible,a:focus-visible{outline:2px solid #7d848a;outline-offset:5px}
#scene{position:absolute;inset:0;width:100%;height:100%;border:0;background:var(--paper);clip-path:none!important}
.masthead{position:fixed;z-index:3;top:24px;left:var(--edge);right:var(--edge);display:flex;align-items:center;justify-content:space-between;gap:24px}
.wordmark{display:inline-flex;align-items:center;gap:16px;font-size:11px;letter-spacing:.01em;color:#787b7e}.wordmark>span:first-child{font-family:Didot,Baskerville,Palatino,Georgia,serif;font-size:25px;line-height:1;letter-spacing:.11em;font-weight:400;color:#24272a}.masthead-rule{width:1px;height:14px;background:#d9dcdf}
.header-tools{display:flex;gap:22px;align-items:center}.inspect-link,#languageToggle{font-size:11px;color:#777d82;padding:7px 0}.inspect-link:hover,#languageToggle:hover{color:#222}
.narrative{position:fixed;z-index:2;left:var(--edge);top:calc(50% - 20px);width:260px;transform:translateY(-50%);pointer-events:none;transition:opacity 250ms ease,visibility 250ms}
.narrative-right .narrative{right:var(--edge);left:auto}
.narrative-hidden .narrative{opacity:0;visibility:hidden}
.chapter-meta{margin:0 0 20px;font-size:10px;letter-spacing:.10em;color:#8d9297;font-variant-numeric:tabular-nums}.chapter-rule{display:none}
#chapterTitle{margin:0 0 18px;font-family:var(--title-font);font-size:clamp(36px,3.2vw,43px);font-style:italic;font-weight:400;line-height:1.1;letter-spacing:-.025em;text-wrap:balance}
:lang(zh-CN) #chapterTitle{font-family:"Songti SC","STSong","Noto Serif CJK SC",serif;font-size:32px;font-style:normal;font-weight:400;line-height:1.35;letter-spacing:.005em}
#chapterDescription{margin:0;color:#72787d;font-size:13px;line-height:1.7;font-weight:400;text-wrap:pretty}
#chapterParts{margin:22px 0 0;padding-top:14px;border-top:1px solid #e2e4e6;color:#464c52;font-size:10px;line-height:1.8;letter-spacing:.03em;white-space:pre-line}
.flat-view .narrative{opacity:0;visibility:hidden}.part-label{display:none!important}
.transport-wrap{position:fixed;z-index:3;left:var(--edge);right:var(--edge);bottom:33px;pointer-events:none}
.scrubber{display:grid;grid-template-columns:minmax(0,1fr) 76px;gap:40px;align-items:start}.range-shell{height:70px;position:relative;pointer-events:auto}
.range-shell::before{content:"";position:absolute;top:20px;left:calc(var(--thumb-size)/2);right:calc(var(--thumb-size)/2);height:2px;background:var(--line);border-radius:99px;pointer-events:none}
#chapterSlider{appearance:none;-webkit-appearance:none;position:relative;top:-1px;z-index:2;display:block;width:100%;height:44px;margin:0;padding:0;border:0;background-color:transparent;background-image:linear-gradient(to right,#747b83 0%,#747b83 var(--progress,0%),var(--line) var(--progress,0%),var(--line) 100%);background-size:calc(100% - var(--thumb-size)) 2px;background-position:center;background-repeat:no-repeat;cursor:ew-resize;outline:none;touch-action:pan-y}
#chapterSlider::-webkit-slider-runnable-track{height:2px;background:transparent;border-radius:99px}#chapterSlider::-moz-range-track{height:2px;background:transparent}
#chapterSlider::-webkit-slider-thumb{-webkit-appearance:none;box-sizing:border-box;width:var(--thumb-size);height:var(--thumb-size);margin-top:-6.5px;border:1px solid #9da4ab;border-radius:50%;background:#fff;box-shadow:0 1px 3px #2028301c}
#chapterSlider::-moz-range-thumb{box-sizing:border-box;width:var(--thumb-size);height:var(--thumb-size);border:1px solid #9da4ab;border-radius:50%;background:#fff;box-shadow:0 1px 3px #2028301c}
#chapterSlider:focus-visible::-webkit-slider-thumb{box-shadow:0 1px 3px #2028301c,0 0 0 4px #cbd0d54d}
#chapterSlider:focus-visible::-moz-range-thumb{box-shadow:0 1px 3px #2028301c,0 0 0 4px #cbd0d54d}
.chapter-nav{position:absolute;z-index:1;left:calc(var(--thumb-size)/2);right:calc(var(--thumb-size)/2);top:44px;height:44px;pointer-events:none}
.chapter-nav button{position:absolute;top:0;width:92px;height:44px;margin-left:-46px;padding:6px 0 0;display:flex;align-items:flex-start;justify-content:center;font-size:10px;color:#81868b;pointer-events:auto;white-space:nowrap;border-radius:0;transition:color 180ms}
.chapter-nav button:nth-child(1){left:0%}.chapter-nav button:nth-child(2){left:calc(100%/7)}.chapter-nav button:nth-child(3){left:calc(200%/7)}.chapter-nav button:nth-child(4){left:calc(300%/7)}.chapter-nav button:nth-child(5){left:calc(400%/7)}.chapter-nav button:nth-child(6){left:calc(500%/7)}.chapter-nav button:nth-child(7){left:calc(600%/7)}.chapter-nav button:nth-child(8){left:100%}
.chapter-label{display:inline-block;padding:0;border-radius:0;background:none}.chapter-tick{position:absolute;top:-15px;left:50%;width:1px;height:5px;transform:translateX(-50%);border-radius:0;background:#c0c5ca;box-shadow:none;pointer-events:none;transition:width 150ms ease,height 150ms ease,background-color 150ms ease}.chapter-number{display:none}
.chapter-nav button.active,.chapter-nav button[aria-current="step"]{color:#292e33;font-weight:500}.chapter-nav button.active .chapter-label,.chapter-nav button[aria-current="step"] .chapter-label{background:none}.chapter-nav button.active .chapter-tick,.chapter-nav button[aria-current="step"] .chapter-tick{top:-12px;width:12px;height:1px;background:#5c646c}.chapter-nav button:hover{color:#23272b}
.play-button{margin-top:5px;min-height:31px;border-radius:99px;background:#eceef0;font-size:10px;pointer-events:auto;padding:7px 14px;color:#4f565c}.play-button:hover{background:#e1e5e9}
.study-note,.footer-index{position:absolute;bottom:-10px;margin:0;font-size:8px;letter-spacing:.04em;color:#a1a5a9}.study-note{left:7px}.footer-index{right:0}
#poster{position:fixed;inset:0;z-index:9;background:var(--paper);pointer-events:none;transition:opacity .4s ease,visibility .4s ease}#poster img{width:100%;height:100%;object-fit:cover;object-position:center top}#poster.is-hidden{opacity:0;visibility:hidden}.loading{position:fixed;z-index:10;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;background:transparent;font-size:12px;color:#757b80}.loading-line{width:44px;height:2px;background:#b8c0c7;border-radius:99px}
@media(max-width:759px){.loading{display:flex;align-items:flex-end;justify-content:flex-end;padding:0 18px 22px;background:transparent}.loading-line{display:none}#loadingText{background:rgba(250,250,250,.88);padding:7px 14px;border-radius:99px;font-size:10px}}
@media(min-width:760px){#poster{display:none}}
@media(min-width:1600px){#chapterDescription{font-size:14px}}
@media(max-width:1000px){#chapterDescription{font-size:12px}.scrubber{gap:28px}.chapter-nav button{font-size:9px}}
@media(max-width:759px){:root{--edge:24px}.masthead{top:22px}.wordmark{gap:9px;font-size:10px}.wordmark>span:first-child{font-size:22px}.header-tools{gap:14px}.inspect-link{display:none}.narrative,.narrative-right .narrative{top:94px;left:24px;right:24px;width:auto;transform:none;display:grid;grid-template-columns:1fr 1fr;gap:12px 24px}.chapter-meta{grid-column:1/-1;margin:0;font-size:9px}.chapter-copy{display:contents}#chapterTitle{margin:0;font-size:30px;max-width:240px}:lang(zh-CN) #chapterTitle{font-size:26px}#chapterDescription{font-size:11px;line-height:1.6}#chapterParts{display:none}.transport-wrap{bottom:35px}.scrubber{display:block}.play-button{position:absolute;right:0;top:-32px;min-height:27px;margin:0;padding:5px 13px}.chapter-nav button{width:44px;margin-left:-22px;font-size:8px}.study-note{font-size:7px;left:0}.footer-index{font-size:7px}}
@media(max-height:600px) and (min-width:760px){.masthead{top:20px}#chapterTitle{font-size:32px}.chapter-meta{margin-bottom:16px}#chapterParts{margin-top:17px;padding-top:12px}.transport-wrap{bottom:20px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important}}
