/* A responsive, CSS-built wooden bookshelf. Covers are original type compositions. */
.shortcuts{grid-template-columns:repeat(9,minmax(0,1fr))}
.shortcuts [data-service=bookshelf] span{background:#e5ece2;color:#42624b}
.shortcuts [data-service=bookshelf] strong{color:#42624b}
.bookshelf-page{background:linear-gradient(180deg,#f5f3ec,#faf9f5 530px);padding:24px 0 64px}
.shelf-breadcrumb{margin:0 0 33px;font-size:11px}
.shelf-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:35px;gap:20px}
.shelf-heading .eyebrow{font-size:10px;color:#998462;letter-spacing:3px}
.shelf-heading h1{font:42px/1.4 var(--serif);color:#2e473a;margin:8px 0 0;letter-spacing:3px}
.shelf-heading h1>span{display:block;font:13px/1.7 var(--sans, sans-serif);color:#7b8174;letter-spacing:1px;margin-top:12px}
.shelf-edition{font:21px var(--serif);color:#7e7055;display:flex;align-items:center;gap:14px}
.shelf-edition i{height:27px;width:1px;background:#d6d0c1}.shelf-edition small{font:10px sans-serif;letter-spacing:1px;color:#8f9385}
.shelf-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}
.shelf-filters{display:flex;gap:7px;flex-wrap:wrap}.shelf-filters button{padding:9px 17px;min-height:42px;color:#7b806e;font-size:12px;border-radius:3px;border:1px solid transparent}
.shelf-filters button[aria-pressed=true]{background:#304e3e;color:#fffdf1;box-shadow:0 3px 10px #233f2010}.shelf-filters button:hover:not([aria-pressed=true]){background:#eaece2}
#shelf-search{display:flex;align-items:center;border:1px solid #d9dacd;border-radius:4px;padding-left:13px;background:#fffdfa;min-width:255px;height:43px;color:#92987e}
#shelf-search>.icon{width:17px;flex-shrink:0}#shelf-query{min-width:0;width:205px;border:0;background:none;padding:10px;font:12px sans-serif;color:#405044;outline-offset:-2px}#shelf-search button{width:42px;height:42px;display:grid;place-items:center;color:#597055}#shelf-search button .icon{width:17px}
.shelf-room{position:relative;border:1px solid #e2ddcf;border-radius:9px 9px 4px 4px;background:#f0ede3;box-shadow:0 15px 40px #483a1910;overflow:hidden}
.shelf-room-label{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:22px 35px 0;color:#969078;font-size:11px;letter-spacing:1px}.shelf-room-label>span{display:flex;align-items:center;gap:8px}.shelf-room-label i{width:5px;height:5px;border-radius:50%;background:#8c9d7b}.shelf-room-label small{font-size:10px;color:#8b8a77;letter-spacing:.4px}
.shelf-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:0 28px 10px;background:radial-gradient(ellipse at 50% 0%,#fffdf580,transparent 65%)}
.shelf-item{position:relative;min-width:0;padding:40px 21px 23px;display:flex;flex-direction:column;align-items:center;background:radial-gradient(ellipse at 50% 8%,#fffdf277,transparent 68%)}
.book-pick{position:relative;display:block;width:173px;max-width:88%;height:249px;padding:0;background:transparent;perspective:1100px;z-index:2}
.book-object{display:block;position:relative;width:100%;height:100%;border-radius:2px 5px 5px 2px;transform:rotateY(-9deg);transform-origin:left center;transition:transform .32s ease,box-shadow .32s ease;background:var(--cover-bg,#ded9cb);color:var(--cover-ink,#314e43);box-shadow:inset 1px 0 #ffffff77,inset 7px 0 8px #00000017,6px 8px 12px #43391f24,14px 17px 24px #55462320;text-align:left;isolation:isolate}
.book-object:before{content:'';position:absolute;left:7px;top:0;bottom:0;width:1px;background:#00000017;box-shadow:1px 0 #ffffff33;z-index:3}
.book-object:after{content:'';position:absolute;left:100%;top:3px;bottom:2px;width:7px;background:repeating-linear-gradient(90deg,#e8e2d2 0 1px,#f6f0e2 1px 2px);border-radius:0 3px 3px 0;transform:skewY(18deg);transform-origin:left center;box-shadow:1px 1px 2px #49341433;z-index:-1}
.cover-grain{position:absolute;inset:0;pointer-events:none;border-radius:inherit;background:repeating-linear-gradient(0deg,#ffffff05 0 1px,transparent 1px 3px),repeating-linear-gradient(90deg,#00000004 0 1px,transparent 1px 3px);z-index:2}
.cover-series{position:absolute;top:18px;left:20px;font-size:6px;letter-spacing:1.6px;opacity:.6}
.cover-title{position:absolute;top:48px;left:20px;right:12px;font:31px/1.3 var(--serif);letter-spacing:3px;z-index:2}
.cover-author{position:absolute;top:98px;left:21px;right:13px;font:9px/1.5 var(--serif);opacity:.8;z-index:2}
.cover-caption{position:absolute;bottom:33px;left:21px;font:8px var(--serif);letter-spacing:1px;z-index:2}
.cover-imprint{position:absolute;bottom:15px;left:21px;font-size:6px;letter-spacing:1.5px;opacity:.65;z-index:2}
.cover-art{position:absolute;inset:0;overflow:hidden;border-radius:inherit;z-index:0;pointer-events:none}
.cover-art i{position:absolute;display:block}
.cover-river{--cover-bg:#e7e8e0;--cover-ink:#244e52}.cover-river .cover-title{font-size:43px;letter-spacing:12px;top:43px}.cover-river .cover-author{top:105px}.cover-river .cover-art i{height:145px;width:230px;left:-20px;bottom:-34px;border-radius:45%;transform:rotate(-18deg);background:#326773}.cover-river .cover-art i:nth-child(2){bottom:-56px;left:32px;background:#214951}.cover-river .cover-art i:nth-child(3){bottom:-102px;left:-54px;background:#163b43}.cover-river .cover-caption,.cover-river .cover-imprint{color:#edf1e9}
.cover-mountain{--cover-bg:#d1d7c6;--cover-ink:#375641}.cover-mountain .cover-art i{width:160px;height:150px;transform:rotate(40deg);border-radius:22px;bottom:-30px;left:65px;background:#759780}.cover-mountain .cover-art i:nth-child(2){bottom:-91px;left:-20px;background:#456c59}.cover-mountain .cover-art i:nth-child(3){bottom:75px;left:122px;width:25px;height:25px;border-radius:50%;background:#f8efd6}.cover-mountain .cover-caption,.cover-mountain .cover-imprint{color:#f5f2e3}
.cover-soil{--cover-bg:#ae6547;--cover-ink:#fff0d6}.cover-soil .cover-title{font-size:29px;max-width:100px;line-height:1.6;top:39px}.cover-soil .cover-author{top:138px}.cover-soil .cover-art{background:repeating-radial-gradient(ellipse at 140% 90%,transparent 0 14px,#f4d3a236 15px 16px)}
.cover-planet{--cover-bg:#273e56;--cover-ink:#f3dfaf}.cover-planet .cover-art i:first-child{width:63px;height:63px;border-radius:50%;right:24px;bottom:55px;background:radial-gradient(circle at 32% 28%,#eee0a9,#bc9e63);box-shadow:0 0 50px #ead89a18}.cover-planet .cover-art i:nth-child(2){width:3px;height:3px;top:31px;right:23px;background:#ecd79d;box-shadow:-22px 11px #ecd79d,-112px 115px #ecd79d,-47px 94px #ecd79d,-110px 14px #ecd79d}.cover-planet .cover-author{font-size:7px;line-height:1.8;max-width:128px}
.cover-flower{--cover-bg:#ece1cb;--cover-ink:#6e4a41}.cover-flower .cover-art i{width:50px;height:95px;border:1px solid #956b5877;border-radius:100% 0 100% 0;right:22px;bottom:55px;transform:rotate(-25deg)}.cover-flower .cover-art i:nth-child(2){right:64px;bottom:29px;transform:rotate(-80deg);height:75px}.cover-flower .cover-art i:nth-child(3){width:1px;height:101px;right:59px;bottom:34px;background:#9e7159;transform:rotate(20deg)}
.cover-leaf{--cover-bg:#3c5843;--cover-ink:#e7e6c9}.cover-leaf .cover-art i{width:65px;height:110px;bottom:45px;right:29px;border-radius:100% 0 100% 0;background:repeating-linear-gradient(40deg,transparent 0 10px,#ede2b129 11px 12px),#a5b48733;transform:rotate(20deg)}.cover-leaf .cover-art i:nth-child(2){right:64px;bottom:30px;transform:rotate(-70deg);width:43px;height:70px}.cover-leaf .cover-art i:nth-child(3){height:100px;width:1px;background:#bdc79888;transform:rotate(21deg);bottom:36px;right:74px}
.cover-lake{--cover-bg:#d4dee0;--cover-ink:#3b6069}.cover-lake .cover-art{background:repeating-radial-gradient(ellipse at 90% 65%,transparent 0 12px,#66878c30 13px 14px)}.cover-lake .cover-art i:first-child{width:40px;height:40px;border-radius:50%;background:#f1efdb;right:27px;bottom:70px}
.cover-town{--cover-bg:#cebc9f;--cover-ink:#655b48}.cover-town .cover-art i{width:180px;height:90px;background:#9c9c82;bottom:0;left:-22px;border-radius:50% 60% 0 0;transform:rotate(-15deg)}.cover-town .cover-art i:nth-child(2){bottom:-30px;left:57px;background:#7c8875}.cover-town .cover-art i:nth-child(3){bottom:67px;left:117px;background:#ece4cd;width:28px;height:28px;border-radius:50%}
.book-pick-hint{position:absolute;bottom:12px;left:16px;right:10px;display:flex;justify-content:center;align-items:center;gap:10px;color:#fdf8e9;background:#2d473eee;padding:9px 4px;font-size:10px;border-radius:2px;opacity:0;transform:translateY(5px);transition:.25s;pointer-events:none}.book-pick-hint .icon{width:14px;height:14px}
.book-pick:hover .book-object,.book-pick:focus-visible .book-object{transform:translateY(-9px) rotateY(-16deg);box-shadow:inset 7px 0 8px #00000017,12px 18px 25px #43391f35}.book-pick:hover .book-pick-hint,.book-pick:focus-visible .book-pick-hint{opacity:1;transform:translateY(-3px)}
.wood-ledge{position:absolute;top:290px;left:0;right:0;height:15px;background:linear-gradient(#dac6a4,#c7ae83 36%,#b79970 40%,#ceb58e 100%);box-shadow:0 12px 16px #4d3c1b19;z-index:1;border-bottom:1px solid #b59b7780}
.wood-ledge:before{content:'';position:absolute;left:0;right:0;top:-10px;height:11px;background:linear-gradient(#dfd2b9,#f0e0c4);clip-path:polygon(3% 0,97% 0,100% 100%,0 100%)}
.wood-ledge:after{content:'';position:absolute;inset:0;background:repeating-linear-gradient(2deg,transparent 0 4px,#977a4a12 5px 6px)}
.shelf-book-meta{width:100%;display:flex;justify-content:space-between;align-items:flex-start;gap:8px;margin-top:34px;position:relative;z-index:2}.shelf-book-meta strong{display:block;font:16px/1.4 var(--serif);color:#445342}.shelf-book-meta small{display:block;font-size:9px;line-height:1.6;color:#8c8b79;margin-top:5px;max-width:145px}.book-category{font-size:8px;color:#8b876e;white-space:nowrap;border:1px solid #dcd9c9;padding:3px 5px;border-radius:2px}
.shelf-base{height:36px;background:linear-gradient(#e8e1d1,#ddd4be);display:flex;align-items:center;justify-content:center;border-top:1px solid #d2c4a6}.shelf-base span{font:8px Georgia,serif;letter-spacing:3px;color:#a09477}
.shelf-bottom-note{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:24px;color:#979585;font-size:10px;line-height:1.8}.shelf-bottom-note a{display:flex;align-items:center;gap:8px;color:#59705a;white-space:nowrap}.shelf-bottom-note .icon{width:14px}
.shelf-empty{grid-column:1/-1;padding:85px 20px;text-align:center;color:#848976}.shelf-empty>.icon{width:38px;height:38px;margin-bottom:16px}.shelf-empty h2{font:23px var(--serif);color:#52634f}.shelf-empty p{font-size:13px;margin:12px 0 24px}
.shelf-detail{display:grid;grid-template-columns:173px 1fr;gap:35px;margin-top:27px}.detail-cover{width:173px;height:249px}.shelf-detail-type{font-size:11px;color:#887954}.shelf-detail-author{font-size:12px;color:#92907f;margin-top:7px!important}.shelf-detail .solid-link{margin-top:15px;font-size:12px}.shelf-detail .fine-print{font-size:11px}.shelf-detail .disabled-button{font-size:12px;margin-top:17px}
.large-text .shelf-filters button{font-size:16px}.large-text .shelf-book-meta strong{font-size:20px}.large-text .shelf-book-meta small{font-size:13px}.large-text .shelf-heading h1>span{font-size:17px}.high-contrast .shelf-book-meta small,.high-contrast .shelf-bottom-note,.high-contrast .book-category,.high-contrast .shelf-room-label{color:#494f3f}
@media(max-width:1100px){.book-pick{width:151px;height:220px}.wood-ledge{top:261px}.shelf-item{padding-left:14px;padding-right:14px}.cover-title{font-size:27px}.cover-river .cover-title{font-size:38px}.cover-series{font-size:5px}.cover-caption{font-size:7px}.cover-imprint{font-size:5px}.cover-author{font-size:8px}.cover-soil .cover-author{top:136px}.shelf-book-meta{flex-direction:column;gap:6px}.shelf-toolbar{gap:10px}.shelf-filters button{padding:8px 12px}}
@media(max-width:850px){.shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))}.shortcuts button+button:before{display:block}.shortcuts button:nth-child(3n+1):before{display:none}.shelf-heading h1{font-size:36px}.shelf-edition{font-size:17px;gap:9px}.shelf-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 20px 10px}.book-pick{width:173px;height:249px}.wood-ledge{top:290px}.shelf-item{padding-left:24px;padding-right:24px}.shelf-book-meta{flex-direction:row}.shelf-toolbar{flex-wrap:wrap}.shelf-filters{width:100%;gap:5px}#shelf-search{width:100%}#shelf-query{width:100%}.cover-title{font-size:31px}.cover-river .cover-title{font-size:43px}.cover-author{font-size:9px}.cover-series{font-size:6px}.shelf-bottom-note{align-items:flex-start;flex-direction:column;gap:10px}}
@media(max-width:620px){.shortcuts{gap:20px 0}.bookshelf-page{padding-top:20px;padding-bottom:38px}.shelf-breadcrumb{font-size:10px;margin-bottom:25px}.shelf-heading{margin-bottom:24px;align-items:flex-start}.shelf-heading .eyebrow{font-size:8px;letter-spacing:2px}.shelf-heading h1{font-size:33px;letter-spacing:2px}.shelf-heading h1>span{font-size:11px;letter-spacing:.4px}.shelf-edition{writing-mode:vertical-rl;font-size:13px;letter-spacing:3px;gap:7px}.shelf-edition i{display:none}.shelf-edition small{font-size:7px;letter-spacing:1px}.shelf-toolbar{margin-bottom:18px;gap:14px}.shelf-filters{justify-content:space-between;gap:3px}.shelf-filters button{padding:8px 10px;font-size:10px;min-height:40px}#shelf-query{font-size:12px}.shelf-room{border-radius:5px}.shelf-room-label{padding:17px 17px 0;font-size:9px;letter-spacing:.3px}.shelf-room-label small{font-size:8px}.shelf-grid{padding:0 9px 7px}.shelf-item{padding:31px 12px 23px}.book-pick{max-width:90%;width:131px;height:192px}.book-object{transform:rotateY(-7deg)}.wood-ledge{top:224px;height:12px}.cover-series{top:14px;left:16px;font-size:5px;letter-spacing:.8px}.cover-title{font-size:25px;left:16px;top:37px;letter-spacing:2px;right:7px}.cover-author{font-size:7px;top:76px;left:17px;right:8px}.cover-river .cover-title{font-size:33px;top:33px;letter-spacing:8px}.cover-river .cover-author{top:79px}.cover-caption{font-size:6px;left:17px;bottom:29px;letter-spacing:.6px}.cover-imprint{font-size:5px;left:17px;bottom:15px;letter-spacing:.5px}.cover-soil .cover-title{font-size:24px;line-height:1.5;top:30px;max-width:75px}.cover-soil .cover-author{top:108px}.cover-planet .cover-author{font-size:6px;top:76px}.cover-river .cover-art i{bottom:-70px}.cover-river .cover-art i:nth-child(2){bottom:-89px}.cover-river .cover-art i:nth-child(3){bottom:-131px}.cover-planet .cover-art i:first-child{width:46px;height:46px;bottom:48px;right:19px}.cover-flower .cover-art i{height:65px;width:36px;bottom:42px}.cover-leaf .cover-art i{height:80px;width:48px;bottom:39px;right:19px}.cover-town .cover-art i{bottom:-25px}.shelf-book-meta{margin-top:29px;flex-direction:column;gap:7px}.shelf-book-meta strong{font-size:15px}.shelf-book-meta small{font-size:8px;max-width:130px;min-height:26px;line-height:1.7}.book-category{font-size:8px;padding:2px 5px}.shelf-base{height:30px}.shelf-base span{font-size:6px;letter-spacing:2px}.shelf-bottom-note{font-size:10px;line-height:1.9;margin-top:19px}.book-pick-hint{display:none}.shelf-detail{grid-template-columns:1fr;gap:22px}.detail-cover{justify-self:center;width:151px;height:220px}.shelf-detail .cover-title{font-size:29px}.shelf-detail .cover-river .cover-title{font-size:40px}.shelf-detail .cover-author{top:90px}.shelf-detail .cover-soil .cover-author{top:113px}.shelf-detail .cover-series{font-size:6px}.large-text .shelf-filters{justify-content:flex-start}.large-text .shelf-filters button{font-size:14px}.large-text .shelf-heading h1>span{font-size:14px}.large-text .shelf-book-meta strong{font-size:18px}.large-text .shelf-book-meta small{font-size:12px}}
@media(max-width:360px){.shelf-grid{padding-left:4px;padding-right:4px}.shelf-item{padding-left:8px;padding-right:8px}.shelf-filters button{padding:8px 7px;font-size:9px}.shelf-heading h1>span{font-size:10px}.cover-title{font-size:23px}.cover-planet .cover-title{font-size:23px}.shelf-room-label{padding-left:12px;padding-right:12px;font-size:8px}}
@media(prefers-reduced-motion:reduce){.book-object,.book-pick-hint{transition:none}.book-pick:hover .book-object,.book-pick:focus-visible .book-object{transform:rotateY(-7deg)}}

/* Keep four-character titles intact; the soil cover intentionally uses two lines. */
.cover-title-long{font-size:27px;letter-spacing:2px}.cover-soil .cover-title{max-width:75px;font-size:29px}.wood-ledge:before{clip-path:none}
@media(max-width:1100px){.cover-title-long{font-size:24px}.cover-soil .cover-title{font-size:27px;max-width:72px}}
@media(max-width:620px){.cover-title-long{font-size:21px;letter-spacing:1px}.cover-soil .cover-title{font-size:24px;max-width:65px}.shelf-detail .cover-title-long{font-size:24px}.shelf-detail .cover-soil .cover-title{max-width:70px}}
@media(max-width:360px){.cover-title-long{font-size:19px;letter-spacing:1px}}
