.book-gallery{container-type:inline-size;min-height:360px;background:#000;color:#fff}.book-gallery *,.book-gallery *:before,.book-gallery *:after{box-sizing:border-box}.book-gallery button,.book-gallery input{font:inherit}.book-gallery button{cursor:pointer}.book-gallery button:focus-visible,.book-gallery a:focus-visible{outline:3px solid var(--color-brand-yellow);outline-offset:-3px}.book-gallery ::selection{background:var(--color-brand-purple);color:#fff}.book-gallery__header{padding:18px 18px 20px;background:#000}.book-gallery__heading-row{display:flex;align-items:baseline;gap:10px;margin-bottom:12px}.book-gallery__heading-row h1{margin:0;font-size:29px;font-weight:760;letter-spacing:-.03em;line-height:1}.book-gallery__controls{display:flex;align-items:center;gap:8px;min-width:0}.book-gallery__search{display:flex;align-items:center;flex:none;width:42px;height:42px;overflow:hidden;border:1px solid rgb(255 255 255 / .32);border-radius:11px;background:#ffffff1f;transition:width .38s cubic-bezier(.2,.8,.2,1),border-color .18s ease}.book-gallery__search.is-open{flex:1 1 0;width:auto;min-width:42px;max-width:310px}.book-gallery__search.has-query{border-color:var(--color-brand-magenta)}.book-gallery__search:focus-within{outline:3px solid var(--color-brand-yellow);outline-offset:1px}.book-gallery__search-trigger,.book-gallery__search-close{display:grid;place-items:center;flex:none;height:40px;padding:0;border:0;background:transparent;color:#fff}.book-gallery__search-trigger{width:40px}.book-gallery__search-close{width:32px;visibility:hidden}.book-gallery__search.is-open .book-gallery__search-close{visibility:visible}.book-gallery__search input{flex:1;min-width:0;width:0;padding:0;border:0;outline:0;opacity:0;background:transparent;color:#fff;caret-color:var(--color-brand-yellow);font-size:13px;transition:opacity .18s ease .12s}.book-gallery__search.is-open input{opacity:1}.book-gallery__search input::placeholder{color:#d0bed7;opacity:1}.book-gallery__search input::-webkit-search-cancel-button{display:none}.book-gallery__availability,.book-gallery__language{display:flex;flex:none;height:42px;padding:3px;border:1px solid rgb(255 255 255 / .32);border-radius:11px;background:#ffffff1f}.book-gallery__language{margin-left:auto}.book-gallery__availability button,.book-gallery__language button{min-width:0;padding:0 11px;border:0;border-radius:8px;background:transparent;color:#d0bed7;font-size:12px;font-weight:700;white-space:nowrap;transition:background-color .18s ease,color .18s ease}.book-gallery__availability button.is-active,.book-gallery__language button.is-active{background:var(--color-brand-purple);color:#fff}.book-gallery__categories{display:flex;flex-direction:column;align-items:flex-start;margin-top:10px}.book-gallery__category-current{min-height:34px;padding:6px 12px;border:1px solid rgb(255 255 255 / .32);border-radius:999px;background:#ffffff1f;color:#fff;font-size:12px;font-weight:650;line-height:1.15;transition:background-color .18s ease,border-color .18s ease}.book-gallery__category-current:hover{border-color:var(--color-brand-yellow)}.book-gallery__categories .book-gallery__category-current{border-color:var(--color-brand-purple);background:var(--color-brand-purple)}.book-gallery__category-options-wrap{display:grid;grid-template-rows:0fr;width:100%;margin-top:0;opacity:0;transform:translateY(-6px);transition:grid-template-rows .35s cubic-bezier(.2,.8,.2,1),margin-top .35s cubic-bezier(.2,.8,.2,1),opacity .22s ease,transform .35s cubic-bezier(.2,.8,.2,1)}.book-gallery__categories.is-open .book-gallery__category-options-wrap{grid-template-rows:1fr;margin-top:6px;opacity:1;transform:translateY(0)}.book-gallery__category-options{display:flex;flex-wrap:wrap;gap:6px;min-height:0;overflow:hidden}.book-gallery__field{position:relative}.book-gallery__field:before{position:absolute;z-index:2;inset:0 0 auto;height:80px;background:linear-gradient(to bottom,#000,transparent);content:"";pointer-events:none}.book-gallery__grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0}.book-gallery__tile{position:relative;display:block;min-width:0;aspect-ratio:1240 / 1754;overflow:hidden;background:#100a15;color:#fff;text-decoration:none}.book-gallery__tile img{display:block;width:100%;height:100%;object-fit:contain;transition:transform .45s cubic-bezier(.16,1,.3,1)}.book-gallery__tile:hover img,.book-gallery__tile:focus-visible img{transform:scale(1.035)}.book-gallery__caption{position:absolute;inset:auto 0 0;display:flex;flex-direction:column;gap:3px;min-height:66px;padding:30px 12px 11px;background:linear-gradient(to bottom,transparent,rgb(0 0 0 / .92) 47%);color:#fff;transition:padding-bottom .26s cubic-bezier(.16,1,.3,1)}.book-gallery__tile:hover .book-gallery__caption,.book-gallery__tile:focus-visible .book-gallery__caption{padding-bottom:15px}.book-gallery__caption strong{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:13px;font-weight:750;line-height:1.2;text-wrap:pretty;overflow-wrap:anywhere}.book-gallery__caption small{display:block;overflow:hidden;color:#f0e6f4;font-size:11px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.book-gallery__fallback{display:flex;flex-direction:column;justify-content:center;gap:13px;width:100%;height:100%;padding:18px;text-align:center}.book-gallery__fallback strong{display:block;font-size:clamp(1rem,1.5vw,1.4rem);font-weight:750;line-height:1.25;overflow-wrap:anywhere;text-wrap:balance;text-shadow:0 2px 18px rgb(0 0 0 / .75)}.book-gallery__fallback small{display:block;font-size:12px;line-height:1.3;overflow-wrap:anywhere}.book-gallery__tile--fallback{background:#0b0711;color:#fff;isolation:isolate}.book-gallery__tile--fallback:before{position:absolute;z-index:-2;inset:-20%;background:radial-gradient(circle at var(--glow-x, 25%) 22%,var(--tile-glow),transparent 58%);content:"";transition:transform .6s cubic-bezier(.16,1,.3,1)}.book-gallery__tile--fallback:after{position:absolute;z-index:-1;inset:0;background:radial-gradient(circle at 50% 38%,transparent 20%,rgb(0 0 0 / .62) 100%);content:"";pointer-events:none}.book-gallery__tile--fallback:nth-child(2n){--glow-x: 75%}.book-gallery__tile--purple{--tile-glow: rgb(120 17 167 / .65)}.book-gallery__tile--blue{--tile-glow: rgb(1 171 242 / .43)}.book-gallery__tile--magenta{--tile-glow: rgb(251 35 152 / .44)}.book-gallery__tile--yellow{--tile-glow: rgb(255 227 6 / .26)}.book-gallery__tile--fallback:hover:before,.book-gallery__tile--fallback:focus-visible:before{transform:scale(1.14)}.book-gallery__empty{min-height:260px;padding:65px 20px;text-align:center}.book-gallery__empty p{margin:0 0 16px}.book-gallery__empty button,.book-gallery__more button{min-height:42px;padding:0 17px;border:1px solid rgb(255 255 255 / .32);border-radius:11px;background:#ffffff1f;color:#fff;font-size:13px;font-weight:700}.book-gallery__empty button:hover,.book-gallery__more button:hover{border-color:var(--color-brand-yellow)}.book-gallery__more{display:flex;align-items:center;justify-content:center;gap:13px;padding:24px 18px 32px}.book-gallery__more span{color:#d0bed7;font-size:12px}@container (max-width: 900px){.book-gallery__grid{grid-template-columns:repeat(5,minmax(0,1fr))}}@container (max-width: 680px){.book-gallery__grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@container (max-width: 500px){.book-gallery__header{padding:11px 10px 16px}.book-gallery__heading-row h1{font-size:24px}.book-gallery__controls{gap:6px}.book-gallery__search.is-open{max-width:none}.book-gallery__availability,.book-gallery__language{height:40px;padding:2px}.book-gallery__availability button,.book-gallery__language button{padding:0 7px;font-size:11px}.book-gallery__categories{margin-top:10px}.book-gallery__category-current{min-height:32px;padding:5px 10px;font-size:11px}.book-gallery__grid{grid-template-columns:repeat(3,minmax(0,1fr))}.book-gallery__caption{min-height:0;padding:25px 8px 8px}.book-gallery__caption strong{font-size:11px}.book-gallery__caption small{display:none}.book-gallery__fallback{gap:7px;padding:9px}.book-gallery__fallback strong{font-size:.88rem}.book-gallery__fallback small{font-size:10px}}@container (max-width: 340px){.book-gallery__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (prefers-reduced-motion: reduce){.book-gallery__search,.book-gallery__search input,.book-gallery__availability button,.book-gallery__language button,.book-gallery__categories button,.book-gallery__category-options-wrap,.book-gallery__tile img,.book-gallery__tile--fallback:before,.book-gallery__caption{transition:none}}.book-gallery__header{padding-inline:var(--page-content-inset)}
