/* Local V55 preview only. Actual text stays together; V50 measuring must not reserve empty text rows. */
body.preview-v55.website-v42 #app #main .product-card.bv-card-aligned-v50{min-height:0!important;height:auto!important;max-height:none!important}
body.preview-v55.website-v42 #app #main .product-card>.card-universes-v42{min-height:0!important;height:auto!important}
body.preview-v55.website-v42 #app #main .product-card>.product-body{display:flex!important;flex-direction:column!important;align-items:stretch!important;align-content:start!important;grid-template-rows:none!important;gap:0!important;min-height:0!important;height:auto!important;max-height:none!important}
body.preview-v55.website-v42 #app #main .product-card>.product-body>:is(h3,.book-subtitle-v42,.card-desc,.compass50-book-reason,.availability,.card-release-v42,.product-actions){grid-area:auto!important;min-height:0!important;height:auto!important;max-height:none!important;overflow:visible!important;white-space:normal!important;text-overflow:clip!important;-webkit-line-clamp:unset!important;line-clamp:unset!important}
body.preview-v55.website-v42 #app #main .product-card>.product-body>h3{margin:0!important;padding:0!important;line-height:1.25!important;overflow-wrap:anywhere!important}
body.preview-v55.website-v42 #app #main .product-card>.product-body>.book-subtitle-v42{margin:4px 0 0!important;padding:0!important;line-height:1.45!important}
body.preview-v55.website-v42 #app #main .product-card>.product-body>.book-subtitle-v42:empty{display:none!important;margin:0!important;padding:0!important}
body.preview-v55.website-v42 #app #main .product-card>.product-body>.card-desc{margin:9px 0 0!important;padding:0!important;line-height:1.55!important}
body.preview-v55.website-v42 #app #main .product-card>.product-body>.compass50-book-reason{margin:9px 0 0!important;padding:0!important;line-height:1.5!important}
body.preview-v55.website-v42 #app #main .product-card>.product-body>.availability{margin:12px 0 0!important;padding:0!important}
body.preview-v55.website-v42 #app #main .product-card>.product-body>.card-release-v42{margin:4px 0 10px!important;padding:0!important}
body.preview-v55.website-v42 #app #main .product-card>.product-body>.product-actions{margin-top:auto!important;padding-top:2px!important}

/* Shop: vertical results, with a compact proportional cover beside the complete text. */
body.preview-v55.website-v42.view-buecher #app #main #catalog-results{display:grid!important;grid-auto-flow:row!important;grid-template-rows:none!important;grid-auto-rows:auto!important;grid-auto-columns:auto!important;align-items:stretch!important;align-content:start!important;justify-content:stretch!important;justify-items:stretch!important;gap:16px!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0 0 12px!important;overflow:visible!important;scroll-snap-type:none!important;touch-action:auto!important}
body.preview-v55.website-v42.view-buecher #app #main #catalog-results>.product-card{display:grid!important;grid-template-columns:minmax(86px,30%) minmax(0,1fr)!important;grid-template-rows:auto minmax(0,1fr)!important;grid-auto-flow:row!important;gap:0!important;width:100%!important;max-width:none!important;min-width:0!important;align-items:stretch!important;align-self:stretch!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important}
body.preview-v55.website-v42.view-buecher #app #main #catalog-results>.product-card>.card-universes-v42{grid-column:1/-1!important;grid-row:1!important;padding:7px 9px!important}
body.preview-v55.website-v42.view-buecher #app #main #catalog-results>.product-card>.product-stage{position:relative!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;grid-column:1!important;grid-row:2!important;align-self:stretch!important;flex:auto!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:12px 8px!important;border-radius:0!important;overflow:hidden!important}
body.preview-v55.website-v42.view-buecher #app #main #catalog-results .card-cover-link{position:relative!important;display:block!important;order:1!important;z-index:1!important;flex:none!important;width:100%!important;max-width:160px!important;min-width:0!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:0!important;transform:none!important}
body.preview-v55.website-v42.view-buecher #app #main #catalog-results .book-cover{position:relative!important;display:block!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;max-width:100%!important;aspect-ratio:auto!important;margin:0!important;overflow:visible!important;transform:none!important}
body.preview-v55.website-v42.view-buecher #app #main #catalog-results .book-cover img{position:static!important;display:block!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;max-width:100%!important;object-fit:contain!important;transform:none!important}
body.preview-v55.website-v42.view-buecher #app #main #catalog-results>.product-card>.product-stage>.icon-btn{position:relative!important;inset:auto!important;order:2!important;z-index:2!important;flex:0 0 44px!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;margin:0!important;padding:10px!important}
body.preview-v55.website-v42.view-buecher #app #main #catalog-results>.product-card>.product-body{grid-column:2!important;grid-row:2!important;align-self:stretch!important;width:100%!important;min-width:0!important;margin:0!important;padding:13px 12px!important}
body.preview-v55.website-v42.view-buecher #app #main #catalog-results .product-body>h3{font-size:19px!important}
body.preview-v55.website-v42.view-buecher #app #main #catalog-results .book-subtitle-v42{font-size:12.5px!important}
body.preview-v55.website-v42.view-buecher #app #main #catalog-results .card-desc{font-size:13px!important}
body.preview-v55.website-v42.view-buecher #app #main #catalog-results .availability{font-size:11px!important;line-height:1.45!important}
body.preview-v55.website-v42.view-buecher #app #main #catalog-results .card-release-v42{font-size:11.5px!important;line-height:1.45!important}
body.preview-v55.website-v42.view-buecher #app #main #catalog-results .product-actions{grid-template-columns:minmax(0,1fr) 44px!important;gap:7px!important}
body.preview-v55.website-v42.view-buecher #app #main #catalog-results .discover-main{min-height:44px!important;min-width:0!important;padding:9px 6px!important;font-size:12px!important;line-height:1.35!important;white-space:normal!important;gap:5px!important}
body.preview-v55.website-v42.view-buecher #app #main #catalog-results .discover-main>.icon{width:16px!important;height:16px!important;flex:0 0 16px!important}
body.preview-v55.website-v42.view-buecher #app #main #catalog-results :is(.purchase-locked-v42,.purchase-open-v42){width:44px!important;min-width:0!important;gap:3px!important}
body.preview-v55.website-v42.view-buecher #app #main #catalog-results :is(.purchase-locked-v42 button,.purchase-open-v42 a){width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;padding:9px!important}
body.preview-v55.website-v42.view-buecher #app #main #catalog-results :is(.purchase-locked-v42,.purchase-open-v42) small{font-size:9px!important;line-height:1.3!important;white-space:normal!important}
@media(max-width:599px){
 body.preview-v55.website-v42.view-buecher #app #main #catalog-results{grid-template-columns:minmax(0,1fr)!important}
 body.preview-v55.website-v42.view-buecher #app #main #catalog-results>.product-card{grid-template-columns:minmax(82px,29%) minmax(0,1fr)!important}
 body.preview-v55.website-v42.view-buecher #app #main #catalog-results>.product-card>.product-body{padding:11px 10px!important}
 body.preview-v55.website-v42.view-buecher #app #main #catalog-results .product-body>h3{font-size:17px!important}
}
@media(min-width:600px){
 body.preview-v55.website-v42.view-buecher #app #main #catalog-results{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(min-width:600px) and (max-width:900px){
 body.preview-v55.website-v42.view-buecher #app #main #catalog-results>.product-card{grid-template-columns:minmax(76px,28%) minmax(0,1fr)!important}
 body.preview-v55.website-v42.view-buecher #app #main #catalog-results>.product-card>.product-body{padding:11px 9px!important}
 body.preview-v55.website-v42.view-buecher #app #main #catalog-results .product-body>h3{font-size:16px!important}
 body.preview-v55.website-v42.view-buecher #app #main #catalog-results .discover-main{font-size:11px!important}
}

/* Keep recommendations beside one another, including the unfolded phone width. */
body.preview-v55.website-v42 #app #main .book-world-v41 .bw-related-grid-v41{display:grid!important;grid-template-columns:none!important;grid-auto-flow:column!important;grid-auto-columns:clamp(230px,29vw,300px)!important;grid-template-rows:auto!important;gap:16px!important;justify-content:start!important;justify-items:stretch!important;align-items:stretch!important;max-width:100%!important;min-width:0!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x proximity!important;scroll-padding-inline:0!important;overscroll-behavior-x:contain;touch-action:pan-x pan-y pinch-zoom!important;padding:4px 0 14px!important;scrollbar-width:thin}
body.preview-v55.website-v42 #app #main .book-world-v41 .bw-related-grid-v41>.product-card{width:100%!important;max-width:100%!important;min-width:0!important;scroll-snap-align:start!important}

/* Mobile book worlds retain their own original artwork and palette. */
@media(max-width:760px){
 body.preview-v55.website-v42.mobile-v43 #app #main .book-world-v41 .bw-inner-v41{padding-inline:clamp(13px,3.5vw,22px)!important}
 body.preview-v55.website-v42.mobile-v43 #app #main .book-world-v41 .bw-hero-v41{gap:16px!important;align-items:stretch!important;padding-bottom:22px!important}
 body.preview-v55.website-v42.mobile-v43 #app #main .book-world-v41 .bw-mobile-heading-v43{padding:14px 13px!important;border-left:3px solid var(--bw-accent)!important;border-top-width:1px!important;background:color-mix(in srgb,var(--bw-surface) 91%,transparent)!important}
 body.preview-v55.website-v42.mobile-v43 #app #main .book-world-v41 .bw-mobile-heading-v43 h1{font-size:clamp(25px,6.8vw,35px)!important;line-height:1.2!important;letter-spacing:-.025em!important}
 body.preview-v55.website-v42.mobile-v43 #app #main .book-world-v41 .bw-mobile-heading-v43 .bw-subtitle-v42{font-size:14px!important;line-height:1.5!important;margin-top:7px!important}
 body.preview-v55.website-v42.mobile-v43 #app #main .book-world-v41 .bw-gallery-v41{padding:0!important;width:100%!important;max-width:330px!important;margin-inline:auto!important;align-self:center!important}
 body.preview-v55.website-v42.mobile-v43 #app #main .book-world-v41 :is(.book-gallery-main-v40,.bw-cover-frame-v41){padding:12px 12px 42px!important;background:color-mix(in srgb,var(--bw-surface) 84%,transparent)!important;border-color:var(--bw-line)!important}
 body.preview-v55.website-v42.mobile-v43 #app #main .book-world-v41 .bw-cover-frame-v41{padding-bottom:14px!important}
 body.preview-v55.website-v42.mobile-v43 #app #main .book-world-v41 :is(.book-gallery-main-v40>img,.bw-cover-frame-v41 img){max-height:min(48svh,360px)!important;width:auto!important;height:auto!important;max-width:100%!important;object-fit:contain!important}
 body.preview-v55.website-v42.mobile-v43 #app #main .book-world-v41 .bw-info-v41{padding:17px 14px!important;background:color-mix(in srgb,var(--bw-surface) 95%,transparent)!important;border-color:var(--bw-line)!important;text-align:left!important}
 body.preview-v55.website-v42.mobile-v43 #app #main .book-world-v41 p.bw-hook-v41{font-size:20px!important;line-height:1.4!important}
 body.preview-v55.website-v42.mobile-v43 #app #main .book-world-v41 p.bw-teaser-v41{font-size:15.5px!important;line-height:1.65!important;margin-top:9px!important}
 body.preview-v55.website-v42.mobile-v43 #app #main .book-world-v41 .bw-facts-v41{margin-top:14px!important;font-size:12px!important;line-height:1.5!important}
 body.preview-v55.website-v42.mobile-v43 #app #main .book-world-v41 .bw-facts-v41>span{padding-block:8px!important}
 body.preview-v55.website-v42.mobile-v43 #app #main .book-world-v41 .bw-story-v41{padding:20px 14px!important;background:color-mix(in srgb,var(--bw-surface) 93%,transparent)!important;border:1px solid var(--bw-line)!important;border-top:3px solid var(--bw-accent)!important}
 body.preview-v55.website-v42.mobile-v43 #app #main .book-world-v41 .bw-story-head-v41{margin-bottom:15px!important}
 body.preview-v55.website-v42.mobile-v43 #app #main .book-world-v41 .bw-story-head-v41 h2{font-size:25px!important;line-height:1.3!important}
 body.preview-v55.website-v42.mobile-v43 #app #main .book-world-v41 .bw-prose-v41{font-size:16px!important;max-width:64ch!important}
 body.preview-v55.website-v42.mobile-v43 #app #main .book-world-v41 .bw-prose-v41 p{font-size:16px!important;line-height:1.75!important}
 body.preview-v55.website-v42.mobile-v43 #app #main .book-world-v41 .bw-features-v41{padding:16px 13px!important;background:color-mix(in srgb,var(--bw-surface) 97%,transparent)!important}
 body.preview-v55.website-v42.mobile-v43 #app #main .book-world-v41 .bw-features-v41 h3{font-size:14px!important;line-height:1.5!important}
 body.preview-v55.website-v42.mobile-v43 #app #main .book-world-v41 .bw-features-v41 li{font-size:14.5px!important;line-height:1.65!important;padding-block:10px!important}
 body.preview-v55.website-v42.mobile-v43 #app #main .book-world-v41 .bw-audience-v41{padding-left:0!important}
 body.preview-v55.website-v42.mobile-v43 #app #main .book-world-v41 :is(.bw-audience-v41 p,.bw-bonus-v41 p:last-child){font-size:15.5px!important;line-height:1.75!important}
 body.preview-v55.website-v42.mobile-v43 #app #main .book-world-v41 .bw-related-grid-v41{grid-auto-columns:clamp(230px,82vw,300px)!important}
}
@media(min-width:600px) and (max-width:760px){
 body.preview-v55.website-v42.mobile-v43 #app #main .book-world-v41.bw-mobile-structured-v43 .bw-hero-v41{display:grid!important;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)!important;align-items:start!important;gap:18px!important}
 body.preview-v55.website-v42.mobile-v43 #app #main .book-world-v41 .bw-mobile-heading-v43{grid-column:1/-1!important;grid-row:1!important}
 body.preview-v55.website-v42.mobile-v43 #app #main .book-world-v41 .bw-gallery-v41{grid-column:1!important;grid-row:2!important;align-self:start!important}
 body.preview-v55.website-v42.mobile-v43 #app #main .book-world-v41 .bw-info-v41{grid-column:2!important;grid-row:2!important;align-self:start!important}
}
