/* Tight, non-destructive viewports around the original cover pixels. */
.storefront .book-cutout{position:relative;display:block;flex:none;width:auto;height:260px;aspect-ratio:var(--cover-ratio);max-width:100%;min-width:0;min-height:0;overflow:visible;filter:drop-shadow(5px 9px 6px #12394c28);transform-origin:50% 75%;transition:transform .65s cubic-bezier(.19,1,.22,1),filter .65s ease;isolation:isolate}
.storefront .book-cutout>.cover-window{position:absolute;display:block;inset:0;overflow:hidden;max-width:none;min-height:0;margin:0;padding:0;border:0}
.storefront .book-cutout>.cover-window>img{position:absolute;display:block;max-width:none!important;max-height:none!important;width:var(--image-w)!important;height:var(--image-h)!important;left:var(--image-x);top:var(--image-y);margin:0!important;object-fit:fill!important;transform:none!important;filter:none!important;transition:none!important;mix-blend-mode:normal}
.storefront .book-art>.book-cutout{height:100%;max-height:100%}
.storefront .cover-stage>.book-cutout{height:350px;max-width:95%;width:auto}
.storefront .product-image>.book-cutout{height:440px;max-height:535px}
.storefront .discovery-cover.book-cutout{height:300px;transform:rotate(-1.5deg)}
.storefront .discovery-pick .book-cutout{height:110px;max-width:78px;display:block;-webkit-line-clamp:unset;overflow:visible;margin:0 0 4px}
.storefront .discovery-pick[aria-pressed=true] .book-cutout{transform:translateY(-7px) rotate(-2deg)}
.storefront .reader-cutout{height:190px;width:auto;margin:18px auto}
.art-badge{font:10px/1.2 Arial;letter-spacing:.035em;color:#31566b;border:1px solid #bed0db;padding:3px 6px;border-radius:10px;white-space:nowrap}
.discovery-pick{position:relative}.discovery-pick .pick-title{margin-top:auto}
.discovery-toolbar>div{flex-wrap:wrap;justify-content:flex-end}.discovery-toolbar .discovery-art-next{font-size:14px;padding:8px 14px;background:#eaf1f5}
.art-reveal{align-self:flex-start;border:0;border-bottom:1px solid #9cb2bf;background:none;color:#234b62;font-size:14px;margin-top:20px;padding:0 0 5px;min-height:36px}
.discovery-art{--art-x:0px;--art-y:0px;min-height:410px}
.discovery-layers img{transition:translate .9s cubic-bezier(.2,.7,.2,1),rotate .9s ease,scale .9s ease,opacity .6s ease;will-change:auto;translate:calc(var(--art-x)*-.55) calc(var(--art-y)*-.55)}
.discovery-cover-link{width:100%;transition:transform .7s cubic-bezier(.19,1,.22,1),translate .9s cubic-bezier(.2,.7,.2,1),scale .9s ease}
.discovery[data-book="992"] .discovery-layers img{width:185px;left:57%;top:12%;opacity:.8}
.discovery[data-book="1210"] .discovery-layers img{width:160px;left:65%;top:13%;box-shadow:none;filter:drop-shadow(4px 7px 4px #17394b15)}
.discovery[data-art-open="true"] .discovery-cover-link{translate:-42px 28px;scale:.8}
.discovery[data-art-open="true"] .discovery-layers img{translate:calc(var(--art-x)*-.7) calc(var(--art-y)*-.7);scale:1.07;opacity:1;z-index:3}
.discovery[data-book="980"][data-art-open="true"] .discovery-layers img{left:calc(5% + var(--layer)*30%);top:calc(10% + var(--layer)*22%)}
.discovery[data-book="1008"][data-art-open="true"] .discovery-cover-link,.discovery[data-book="992"][data-art-open="true"] .discovery-cover-link{translate:-62px 22px}
.discovery[data-book="1210"][data-art-open="true"] .discovery-layers img{translate:-25px -10px;rotate:-9deg;scale:1.15}
@media(hover:hover) and (pointer:fine){
 .book-art,.cover-stage,.product-image{perspective:1100px}
 .storefront .cover-hover>.book-cutout,.storefront .book-card:focus-within .book-cutout{transform:translateY(-8px) rotateX(var(--book-rx,0deg)) rotateY(var(--book-ry,-3deg)) rotate(-.7deg) scale(1.025);filter:drop-shadow(10px 19px 11px #12394c35)}
 .storefront .discovery-pick:hover .book-cutout{transform:translateY(-10px) rotate(-2deg) scale(1.025);filter:drop-shadow(5px 10px 6px #12394c35)}
 .book-cutout:after{content:'';position:absolute;inset:0;background:linear-gradient(105deg,transparent 20%,#ffffff25 48%,transparent 70%);opacity:0;pointer-events:none;transition:opacity .6s;mix-blend-mode:soft-light}
 .cover-hover>.book-cutout:after{opacity:.65}
}
@media(max-width:1000px){.storefront .cover-stage>.book-cutout{height:295px}.storefront .product-image>.book-cutout{height:350px}}
@media(max-width:600px){
 .storefront .cover-stage>.book-cutout{height:190px;width:auto;max-width:100%}.storefront .product-image>.book-cutout{height:284px;max-width:100%}
 .storefront .discovery-cover.book-cutout{height:220px}.storefront .discovery-pick .book-cutout{height:100px;max-width:69px}
 .discovery-art{min-height:285px}.discovery-toolbar{flex-wrap:wrap;gap:12px}.discovery-toolbar p{max-width:none}.discovery-toolbar>div{justify-content:flex-start}.discovery-toolbar button{min-height:44px}
 .discovery[data-book="980"] .discovery-cover.book-cutout{height:210px}.discovery[data-book="1008"] .discovery-cover-link{margin-right:0}
 .discovery[data-art-open="true"] .discovery-cover-link{translate:-20px 24px;scale:.75}.discovery[data-book="1008"][data-art-open="true"] .discovery-cover-link,.discovery[data-book="992"][data-art-open="true"] .discovery-cover-link{translate:-43px 25px}
 .discovery[data-book="992"] .discovery-layers img{width:120px;left:56%}.discovery[data-book="1210"] .discovery-layers img{width:105px;left:65%}
}
@media(prefers-reduced-motion:reduce){.storefront .book-cutout,.discovery-cover-link,.discovery-layers img{transition:none!important;animation:none!important}.storefront .cover-hover>.book-cutout,.storefront .book-card:focus-within .book-cutout,.storefront .discovery-pick:hover .book-cutout{transform:none!important}}
/* Preserve the aspect ratio of landscape editions as well as tall covers. */
.storefront .book-cutout{--cover-height:260px;width:min(100%,calc(var(--cover-height)*var(--cover-ratio)));height:auto;max-height:none}
.storefront .book-art>.book-cutout{--cover-height:237px;width:min(100%,calc(var(--cover-height)*var(--cover-ratio)));height:auto;max-height:none}
.storefront .cover-stage>.book-cutout{--cover-height:350px;width:min(95%,calc(var(--cover-height)*var(--cover-ratio)));height:auto}
.storefront .product-image>.book-cutout{--cover-height:440px;width:min(100%,calc(var(--cover-height)*var(--cover-ratio)));height:auto;max-height:none}
.storefront .discovery-cover.book-cutout{--cover-height:300px;width:min(100%,calc(var(--cover-height)*var(--cover-ratio)));height:auto}
.storefront .discovery-pick .book-cutout{--cover-height:110px;width:min(78px,calc(var(--cover-height)*var(--cover-ratio)));height:auto}
.storefront .reader-cutout{--cover-height:190px;width:min(100%,calc(var(--cover-height)*var(--cover-ratio)));height:auto}
@media(max-width:1000px){.storefront .book-art>.book-cutout{--cover-height:209px}.storefront .cover-stage>.book-cutout{--cover-height:295px}.storefront .product-image>.book-cutout{--cover-height:350px}}
@media(max-width:600px){.storefront .book-art>.book-cutout{--cover-height:181px}.storefront .cover-stage>.book-cutout{--cover-height:190px}.storefront .product-image>.book-cutout{--cover-height:284px}.storefront .discovery-cover.book-cutout{--cover-height:220px}.storefront .discovery-pick .book-cutout{--cover-height:100px;width:min(69px,calc(var(--cover-height)*var(--cover-ratio)));height:auto}.storefront .discovery[data-book="980"] .discovery-cover.book-cutout{--cover-height:210px;height:auto}}
@media(max-width:380px){.storefront .book-art>.book-cutout{--cover-height:156px}}
