.bookshelf{min-width:0}.bookshelf__heading{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.75rem;display:flex}.bookshelf__controls{flex-shrink:0;width:4.5rem;height:2.25rem;display:flex}.bookshelf__track{overscroll-behavior-x:contain;touch-action:pan-x pan-y;scrollbar-width:thin;scrollbar-color:var(--rule) transparent;align-items:start;gap:2rem;padding:1.25rem .75rem 2rem;display:flex;overflow-x:auto}.bookshelf__book{perspective:1100px;flex:none;transition:transform .26s ease-out;position:relative;transform:rotate(-1deg)}.bookshelf__book:nth-child(3n+2){margin-top:18px;transform:rotate(1.2deg)}.bookshelf__book:nth-child(3n){margin-top:7px;transform:rotate(-.6deg)}.bookshelf__book[data-open=true]{transform:translateY(-4px)}.bookshelf__cover{z-index:2;transform-origin:0;backface-visibility:hidden;width:auto;height:auto;box-shadow:var(--bookshelf-shadow), 4px 1px 0 var(--bookshelf-page-edge), 7px 2px 0 var(--bookshelf-page);background:0 0;border-radius:1px 3px 3px 1px;padding:0;transition:transform .32s cubic-bezier(.22,.61,.36,1);display:block;position:relative}.bookshelf__cover:after{content:"";border-radius:inherit;background:var(--bookshelf-binding);pointer-events:none;position:absolute;inset:0}.bookshelf__cover:hover{background:0 0;transform:translateY(-5px)rotateY(-8deg)}.bookshelf__cover:focus-visible{transform:translateY(-5px)rotateY(-8deg)}.bookshelf__cover img{-webkit-user-select:none;user-select:none;width:auto;max-width:none;height:280px;display:block}.bookshelf__modal{background:var(--bookshelf-page);width:min(840px,100% - 2rem);max-width:840px;max-height:88dvh;box-shadow:var(--bookshelf-modal-shadow);border-radius:4px;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:0;padding:0;overflow-y:auto}.bookshelf__modal[data-state=open]{animation:.4s cubic-bezier(.22,.61,.36,1) bookshelf-unfold}.bookshelf__modal-cover{background:var(--muted);justify-content:center;align-items:center;min-width:0;padding:2.5rem 2rem;display:flex}.bookshelf__modal-cover img{object-fit:contain;width:auto;max-width:100%;max-height:460px;box-shadow:var(--bookshelf-shadow), 4px 1px 0 var(--bookshelf-page-edge);border-radius:1px 3px 3px 1px;display:block}.bookshelf__modal-page{background:var(--bookshelf-gutter);overflow-wrap:anywhere;min-width:0;padding:4rem 2.5rem 3rem}.bookshelf__modal-title{letter-spacing:0;font-size:36px;font-weight:400;line-height:1.08}.bookshelf__modal-description{color:var(--foreground);white-space:pre-wrap;margin-top:2rem;font-size:16px;line-height:1.7}@keyframes bookshelf-unfold{0%{opacity:0;transform:translate(-50%,-48%)scale(.86)}to{opacity:1;transform:translate(-50%,-50%)scale(1)}}@media (width<=767px){.bookshelf__heading{align-items:start;margin-bottom:1.75rem}.bookshelf__track{gap:1.5rem}.bookshelf__cover img{height:250px}.bookshelf__modal{grid-template-columns:minmax(0,1fr)}.bookshelf__modal-cover{padding:2.5rem 1.5rem 1.5rem}.bookshelf__modal-cover img{max-height:240px}.bookshelf__modal-page{background:var(--bookshelf-page);padding:1.75rem 1.5rem 2rem}.bookshelf__modal-title{font-size:30px}.bookshelf__modal-description{margin-top:1.25rem}}@media (prefers-reduced-motion:reduce){.bookshelf__book,.bookshelf__cover{transition:none}.bookshelf__book[data-open=true],.bookshelf__cover:hover,.bookshelf__cover:focus-visible{transform:none}.bookshelf__modal[data-state]{animation:none}}
