.sb-screen-reader{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.sb-shelf-view{background:#9f6d43;--room-x:0px;--room-y:0px;--book-x:0px;--book-gap:340px;--title-gap:330px}.sb-room-scene{position:fixed;inset:-14px;pointer-events:none;z-index:0;transform:translate(calc(var(--room-x) + var(--shelf-pan,0px)),var(--room-y)) scale(1.025);transition:transform .65s cubic-bezier(.2,.7,.2,1);overflow:hidden}.sb-room-scene>img{width:100%;height:100%;object-fit:cover;object-position:center}.sb-wallpaper-wash{position:absolute;inset:0;background:var(--book-wallpaper) center/cover;mask-image:linear-gradient(transparent 32%,#000 43%,#000 61%,transparent 70%);opacity:0;filter:blur(5px) sepia(.25) saturate(.6);transition:opacity 1s ease}.sb-book-hover .sb-wallpaper-wash{opacity:.20}.sb-shelf-view .sb-library{z-index:1;isolation:auto}.sb-shelf-view .sb-library:after{display:none}.sb-shelf-view .sb-library-heading{pointer-events:none;top:33.5%;text-shadow:0 1px 2px #fff2d3}.sb-shelf-view .sb-library-heading h1{font-weight:500}
.sb-shelf-view .sb-volume-row{inset:0;bottom:auto;pointer-events:none;display:block;transform:translateX(var(--book-x));transition:transform .65s cubic-bezier(.2,.7,.2,1)}.sb-shelf-view .sb-cover{position:absolute;left:50%;bottom:28.7%;margin:0;pointer-events:auto;height:30svh;min-height:220px;transform:translateX(calc(-50% + var(--offset)*var(--book-gap))) perspective(1000px) rotateY(-9deg) rotateZ(-1deg) scale(.92);transition:transform .75s cubic-bezier(.2,.7,.2,1),filter .4s,opacity .5s;opacity:.7;transform-origin:center bottom;will-change:transform}.sb-shelf-view .sb-cover.selected{transform:translateX(calc(-50% + var(--offset)*var(--book-gap))) perspective(1000px) rotateY(-8deg) rotateZ(-1deg);opacity:1}.sb-shelf-view .sb-cover:hover,.sb-shelf-view .sb-cover:focus-visible{transform:translateX(calc(-50% + var(--offset)*var(--book-gap))) translateY(-8px) perspective(1000px) rotateY(-2deg);filter:brightness(1.035)}
.sb-shelf-view .sb-title-strip{position:absolute;left:0;right:0;bottom:3%;height:132px;transform:translateX(var(--book-x));transition:transform .65s cubic-bezier(.2,.7,.2,1);pointer-events:none}.sb-shelf-view .sb-book-description{left:50%;bottom:0;margin:0;width:300px;max-width:none;min-height:124px;pointer-events:auto;transform:translateX(calc(-50% + var(--offset)*var(--title-gap))) scale(.94);opacity:.75;transition:transform .75s cubic-bezier(.2,.7,.2,1),opacity .5s;padding:12px 20px 11px}.sb-shelf-view .sb-book-description.selected{transform:translateX(calc(-50% + var(--offset)*var(--title-gap)));opacity:1}.sb-select-title{font:500 20px Fredoka,sans-serif;color:#745135;background:none;border:0;min-height:30px;padding:0 0 5px;width:100%;cursor:pointer}.sb-title-progress{height:5px;background:#baa98455;border-radius:10px;margin:3px auto 7px;max-width:200px;overflow:hidden}.sb-title-progress>span{display:block;height:100%;background:linear-gradient(90deg,#bda164,#d9b875);border-radius:10px}.sb-shelf-view .sb-book-description [data-saved-page]{font:500 10px Nunito,sans-serif;display:block!important;margin:6px 0 9px;color:#8a6a50}.sb-shelf-view .sb-shelf-navigation{position:absolute;left:50%;bottom:4.8%;width:435px;transform:translateX(-50%);display:flex;justify-content:space-between;align-items:center;pointer-events:none}.sb-shelf-navigation button{pointer-events:auto;width:45px;height:45px;border:1px solid #a87d43;border-radius:50%;background:linear-gradient(#fff2d3,#d7aa70);box-shadow:0 4px 8px #69452555;color:#714f39;font-size:26px}.sb-shelf-navigation span{position:absolute;left:50%;bottom:-22px;transform:translateX(-50%);font:700 10px Nunito,sans-serif;color:#fff1d3;text-shadow:0 1px 2px #5b3523}.sb-shelf-navigation[hidden]{display:none!important}
.sb-shelf-view.sb-opening-book .sb-cover.selected{transform:translateX(-50%) translateY(7vh) perspective(1100px) rotateY(0) rotateX(16deg) scale(2.1);z-index:25;transition:transform .76s cubic-bezier(.2,.7,.2,1),opacity .76s}.sb-opening-book .sb-title-strip,.sb-opening-book .sb-library-heading{opacity:0;transition:opacity .3s}.sb-opening-book .sb-room-scene{filter:blur(2px);transition:filter .7s}.sb-reader-view .sb-reader{animation:reader-arrival .7s ease both}@keyframes reader-arrival{from{opacity:.2;transform:scale(.98)}to{opacity:1;transform:scale(1)}}
@media(max-width:700px){.sb-room-scene{inset:0;transform:translate(var(--room-x),var(--room-y));min-height:760px}.sb-room-scene>img{object-position:center top}.sb-shelf-view{--book-gap:260px;--title-gap:290px}.sb-shelf-view .sb-library-heading{top:34%;left:5%;right:5%}.sb-shelf-view .sb-cover{height:29svh;bottom:29%;min-height:210px}.sb-shelf-view .sb-title-strip{bottom:5%;height:129px}.sb-shelf-view .sb-book-description{width:270px;max-width:none;bottom:0;min-height:122px;padding:11px 17px}.sb-shelf-view .sb-shelf-navigation{bottom:9%;width:calc(100% - 14px)}.sb-shelf-navigation button{width:35px;height:35px}.sb-shelf-navigation span{bottom:-39px}.sb-select-title{font-size:18px}}
@media(prefers-reduced-motion:reduce){.sb-room-scene,.sb-shelf-view .sb-volume-row,.sb-shelf-view .sb-title-strip{transform:none!important;transition:none!important}.sb-shelf-view .sb-cover,.sb-shelf-view .sb-book-description,.sb-wallpaper-wash{transition:none!important}.sb-reader-view .sb-reader{animation:none}}
.sb-shelf-view .sb-volume-row{height:100%;width:100%;bottom:0}

.sb-flight-cover{position:fixed!important;max-width:none!important;max-height:none!important;transform-origin:center center!important;box-shadow:15px 25px 40px #38263577!important;animation:none!important}.sb-cinematic-departure .sb-title-strip,.sb-cinematic-departure .sb-library-heading{opacity:0;transition:opacity .3s}.sb-cinematic-departure .sb-room-scene{filter:brightness(.85);transition:filter 1s}

/* The shelf cover is a scaled version of the reader's hardcover, never a tall placeholder. */
.sb-shelf-view .sb-cover{aspect-ratio:var(--cover-ratio,1.25)}
.sb-shelf-view .sb-flight-cover{min-height:0!important;bottom:auto!important;aspect-ratio:auto!important}

.sb-cover-brand,.sb-cover-title,.sb-cover-caption{visibility:visible;z-index:2;text-shadow:0 2px 5px #21162ccc}.sb-shelf-view .sb-cover>img{object-fit:fill;filter:saturate(.96) contrast(1.03)}.sb-shelf-view .sb-cover-open{bottom:3%;font-size:11px;z-index:3}

/* Keep every cover opaque so the room cannot wash out its printed title. */
.sb-shelf-view .sb-cover{opacity:1}


.sb-printed-cover .sb-cover-brand,.sb-printed-cover .sb-cover-title,.sb-printed-cover .sb-cover-caption{visibility:hidden}
