[data-sig="bookshop-shelf"]{height:350dvh;background:var(--deep);color:var(--paper);position:relative}[data-sig="bookshop-shelf"] .shelf-stage{height:100dvh;min-height:680px;position:sticky;top:0;overflow:hidden;background:radial-gradient(ellipse at 50% 70%,#2a4d3a 0%,#102a23 75%);display:flex;flex-direction:column;justify-content:center}[data-sig="bookshop-shelf"] .shelf-heading{width:100%;padding-top:24px;padding-bottom:32px;position:relative}[data-sig="bookshop-shelf"] .shelf-label{font-size:15px;color:#d1c5a3;margin-bottom:12px}[data-sig="bookshop-shelf"] h1{font-size:clamp(58px,7vw,96px);margin-bottom:16px}[data-sig="bookshop-shelf"] .shelf-heading>p:last-of-type{font-size:19px;line-height:1.4}[data-sig="bookshop-shelf"] .shelf-heading .button{position:absolute;right:48px;bottom:34px;border-color:#b6c4af;color:var(--paper)}[data-sig="bookshop-shelf"] .shelf-cabinet{width:100%;perspective:1200px;margin-top:10px}[data-sig="bookshop-shelf"] .book-row{height:344px;display:flex;align-items:end;justify-content:center;gap:26px;padding:0 40px;perspective:1100px}[data-sig="bookshop-shelf"] .shelf-book{border:0;padding:0;position:relative;flex:0 0 64px;height:var(--height);transform-style:preserve-3d;background:transparent;color:#f5edd7;overflow:visible;z-index:1}[data-sig="bookshop-shelf"] .spine{display:flex;align-items:center;justify-content:space-between;gap:20px;writing-mode:vertical-rl;height:100%;width:100%;padding:20px 15px;background:var(--binding);box-shadow:inset 5px 0 8px #ffffff18,inset -4px 0 5px #0004,4px 4px 5px #0007;font-family:var(--serif);font-size:23px;text-align:left;border-top:3px double #eddfad;border-bottom:3px double #eddfad}[data-sig="bookshop-shelf"] .spine small{font-size:14px}[data-sig="bookshop-shelf"] .cover{height:100%;width:auto;max-width:none;position:absolute;left:50%;bottom:0;transform-origin:left center;transform:translateX(-50%) rotateY(-90deg);visibility:hidden;box-shadow:9px 10px 12px #0008;border-right:7px solid #ded2b4;pointer-events:none}[data-sig="bookshop-shelf"] .wood-shelf{height:32px;background:repeating-linear-gradient(2deg,#62442c 0px,#62442c 3px,#6e4c31 4px,#5b3e29 7px);border-top:7px solid #92704b;box-shadow:0 14px 22px #0009;margin-top:0;position:relative;z-index:2}[data-sig="bookshop-shelf"] .filler-books{display:flex;align-items:end;gap:5px;margin-right:22px}[data-sig="bookshop-shelf"] .filler-books i{display:block;width:38px;height:264px;background:#657052;border-top:4px double #adac7b;border-bottom:4px double #adac7b;box-shadow:inset -4px 0 5px #0006}[data-sig="bookshop-shelf"] .filler-books i:nth-child(2){height:308px;background:#735b3b;width:52px}[data-sig="bookshop-shelf"] .filler-books i:nth-child(3){height:287px;background:#823d3b;transform:rotate(-5deg);margin-right:8px}[data-sig="bookshop-shelf"] .filler-books i:nth-child(4){height:277px;background:#3d4e64}[data-sig="bookshop-shelf"] .end{margin-right:0;margin-left:22px}[data-sig="bookshop-shelf"] .shelf-bottom{display:flex;justify-content:space-between;gap:40px;align-items:center;width:100%;padding-top:30px;padding-bottom:28px;min-height:120px}[data-sig="bookshop-shelf"] .shelf-note{font-family:var(--serif);font-size:25px;max-width:640px;line-height:1.25}[data-sig="bookshop-shelf"] .shelf-note span{font-size:17px;white-space:nowrap;color:#cbbb91}[data-sig="bookshop-shelf"] .shelf-controls{display:flex;gap:8px}[data-sig="bookshop-shelf"] .shelf-controls button{border:1px solid #758774;color:var(--paper);min-width:40px;padding:6px}[data-sig="bookshop-shelf"] .shelf-controls button[aria-pressed=true]{background:var(--paper);color:var(--ink)}@media(max-width:800px){[data-sig="bookshop-shelf"] .filler-books{display:none}[data-sig="bookshop-shelf"] .book-row{gap:40px}}@media(max-width:600px){[data-sig="bookshop-shelf"]{height:280dvh}[data-sig="bookshop-shelf"] .shelf-stage{min-height:650px}[data-sig="bookshop-shelf"] .shelf-heading{padding-top:24px;padding-bottom:12px}[data-sig="bookshop-shelf"] h1{font-size:60px}[data-sig="bookshop-shelf"] .shelf-heading .button{position:static;margin-top:20px}[data-sig="bookshop-shelf"] .shelf-heading>p:last-of-type{font-size:17px}[data-sig="bookshop-shelf"] .book-row{height:270px;padding:0 20px;gap:18px}[data-sig="bookshop-shelf"] .shelf-book{flex-basis:48px;height:calc(var(--height)*.72)}[data-sig="bookshop-shelf"] .spine{padding:14px 10px;font-size:17px;gap:10px}[data-sig="bookshop-shelf"] .spine small{font-size:11px}[data-sig="bookshop-shelf"] .wood-shelf{height:23px;border-top-width:5px}[data-sig="bookshop-shelf"] .shelf-bottom{display:block;min-height:150px;padding-top:22px}[data-sig="bookshop-shelf"] .shelf-note{font-size:20px;min-height:72px}[data-sig="bookshop-shelf"] .shelf-controls{margin-top:14px;justify-content:center}[data-sig="bookshop-shelf"] .shelf-controls button{min-width:44px}}@media(prefers-reduced-motion:reduce){[data-sig="bookshop-shelf"]{height:auto}[data-sig="bookshop-shelf"] .shelf-stage{position:relative;height:auto;min-height:760px}}@media(max-height:720px) and (min-width:601px){[data-sig="bookshop-shelf"] .shelf-stage{min-height:580px}[data-sig="bookshop-shelf"] .shelf-heading{padding-top:10px;padding-bottom:10px}[data-sig="bookshop-shelf"] h1{font-size:64px}[data-sig="bookshop-shelf"] .book-row{height:280px}[data-sig="bookshop-shelf"] .shelf-book{height:calc(var(--height)*.8)}[data-sig="bookshop-shelf"] .shelf-bottom{min-height:90px;padding-top:20px}}
@property --shelf-progress{syntax:'<number>';inherits:true;initial-value:0}
@keyframes bookshop-shelf-progress{from{--shelf-progress:0}to{--shelf-progress:1}}
@supports(animation-timeline:view()){
 [data-sig="bookshop-shelf"]{view-timeline-name:--bookshop-shelf;view-timeline-axis:block;animation:bookshop-shelf-progress linear both;animation-timeline:--bookshop-shelf;animation-range:contain 0% contain 100%}
}
[data-sig="bookshop-shelf"] h1{display:table;background:var(--paper);color:var(--ink);padding:8px 28px 12px;border:1px solid #b0a58b;box-shadow:0 0 0 5px #654b34,0 7px 12px #0005;font-size:clamp(58px,6vw,88px);position:relative;margin-bottom:24px}[data-sig="bookshop-shelf"] h1::before,[data-sig="bookshop-shelf"] h1::after{content:'';position:absolute;top:50%;width:4px;height:4px;border-radius:50%;background:#917548}[data-sig="bookshop-shelf"] h1::before{left:8px}[data-sig="bookshop-shelf"] h1::after{right:8px}@media(max-width:600px){[data-sig="bookshop-shelf"] h1{font-size:50px;padding:8px 19px 10px;margin-bottom:20px}}
[data-sig="bookshop-shelf"] :focus-visible{outline-color:var(--paper)}
@media(hover:hover) and (pointer:fine){[data-sig="bookshop-shelf"] .shelf-heading .button:hover,[data-sig="bookshop-shelf"] .shelf-controls button:hover{background:var(--paper);color:var(--ink)}[data-sig="bookshop-shelf"] .shelf-book:hover{background:transparent}}
