/* Browse by a favorite thing, with real books leading the way. */
#books{padding-top:46px;padding-bottom:60px}.shelf-intro{align-items:center;gap:38px;margin-bottom:30px}.shelf-title{font-size:clamp(40px,4.1vw,60px);line-height:1.08}.shelf-title span{color:white;-webkit-text-stroke:1px var(--ink);paint-order:stroke fill;text-shadow:2px 3px var(--ink)}.shelf-lead{font-size:18px;line-height:1.55;margin:18px 0 0;text-wrap:pretty}.shelf-finder-link{display:flex;align-items:center;gap:18px;max-width:420px;padding:23px;background:#ffe500;border:3px solid var(--ink);border-radius:24px 14px 24px 14px;box-shadow:6px 6px var(--ink);transform:rotate(1deg)}.shelf-finder-number{display:grid;place-items:center;flex-shrink:0;width:60px;height:74px;border:3px solid var(--ink);border-radius:10px;background:#e00078;color:white;font-size:48px;font-weight:700;transform:rotate(-7deg)}.shelf-finder-link strong{display:block;font-size:23px;line-height:1.15;text-wrap:balance}.shelf-finder-link small{display:block;font-size:13px;line-height:1.5;margin:9px 0}.shelf-finder-link b{display:inline-block;font-size:14px;border-bottom:2px solid var(--ink);padding:3px 0}.shelf-finder-link:hover{background:#fff6a6}.catalog-controls{display:block;margin:0 0 18px}.interest-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:13px}.interest-heading p{font-size:20px;font-weight:600;margin:0}.interest-heading>span{font-size:13px}.books .filters.interest-tiles{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:12px}.books .filters .interest-tile{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0;padding:12px 7px 10px;border:3px solid var(--ink);border-radius:18px;background:#fffef9;color:var(--ink);box-shadow:3px 4px var(--ink);transition:transform .16s,background .16s;font-family:inherit}.interest-art{display:flex;justify-content:center;align-items:center;height:100px;width:100%;margin-bottom:10px;pointer-events:none}.interest-art img{width:72%;height:96px;object-fit:contain;filter:drop-shadow(2px 3px 0 #071a4330);transition:transform .16s}.interest-tile:first-child .interest-art img{width:35%;height:78px;margin:0 -3px;transform:rotate(-12deg)}.interest-tile:first-child .interest-art img:nth-child(2){transform:translateY(-7px);z-index:1}.interest-tile:first-child .interest-art img:nth-child(3){transform:rotate(12deg)}.interest-tile strong{font-size:16px;line-height:1.15;min-height:37px}.interest-note{font-size:10px;line-height:1.3;min-height:26px;margin-top:6px;text-wrap:balance}.interest-count{font-size:11px;line-height:1.3;margin-top:6px;background:#e6edfa;border-radius:20px;padding:4px 8px}.books .filters .interest-tile.active{background:#ffe500;box-shadow:3px 4px var(--ink)}.interest-tile.active:after{content:'✓';position:absolute;top:7px;right:7px;display:grid;place-items:center;width:23px;height:23px;background:var(--ink);border-radius:50%;color:#ffe500;font-size:14px}.books .filters .interest-tile:hover{transform:translateY(-4px);background:#fff1a1}.interest-tile:hover .interest-art>img:only-child{transform:rotate(-4deg)}.books .filters .interest-tile:focus-visible{outline:4px solid #e00078;outline-offset:5px}.shelf-refine{display:grid;grid-template-columns:1fr 145px 1.2fr;gap:24px;align-items:center;padding:19px 23px;margin-top:25px;background:#ffffffd9;border:2px solid var(--ink);border-radius:18px}.shelf-refine>p{margin:0}.shelf-refine strong{display:block;font-size:21px;line-height:1.15}.shelf-refine>p>span{display:block;font-size:12px;line-height:1.5;margin-top:7px;max-width:30ch}.shelf-refine label{font-size:13px;font-weight:600;min-width:0}.shelf-refine .age-filter{min-width:0}.shelf-refine select,.shelf-refine input{width:100%;min-height:46px;border:2px solid var(--ink);border-radius:11px;margin-top:7px;padding:10px 12px;font-size:16px}.shelf-refine .search>span{display:block}.format-note{font-size:13px;margin:0 0 12px}.catalog-summary{align-items:center;gap:15px;margin:0 0 22px;flex-wrap:wrap}.catalog-summary .count{font-size:15px;margin-right:auto;color:var(--ink)}#clear-filters{font-size:13px;padding:8px 12px;min-height:40px;background:transparent}.catalog-pagination.shelf-quick-pages{margin:0;gap:9px}.shelf-quick-pages button{min-height:40px;padding:8px 12px;font-size:13px}.shelf-page-label{font-size:12px;white-space:nowrap}#books #grid{margin-top:0}.interest-tile strong,.shelf-finder-link strong{overflow-wrap:normal}
@media(max-width:1150px){.books .filters.interest-tiles{grid-template-columns:repeat(5,minmax(0,1fr));gap:13px}.interest-art{height:78px}.interest-art img{height:76px}.interest-tile:first-child .interest-art img{height:65px}.interest-note{display:none}.interest-tile strong{font-size:16px}.shelf-refine{grid-template-columns:1fr 140px 1.3fr}.shelf-finder-link{max-width:350px;padding:20px}.shelf-finder-link strong{font-size:21px}}
@media(max-width:760px){#books{padding-top:30px;padding-bottom:40px}.shelf-intro{display:block;margin-bottom:25px}.shelf-title{font-size:42px;line-height:1.08}.shelf-lead{font-size:16px;margin-top:15px}.shelf-lead br{display:none}.shelf-finder-link{max-width:none;gap:14px;padding:18px;margin-top:24px;transform:none;box-shadow:4px 5px var(--ink);border-radius:20px}.shelf-finder-number{width:43px;height:57px;font-size:36px}.shelf-finder-link strong{font-size:20px}.shelf-finder-link small{font-size:12px;margin:6px 0}.shelf-finder-link b{font-size:13px}.interest-heading{align-items:baseline;margin-bottom:12px}.interest-heading p{font-size:18px}.interest-heading>span{font-size:11px}.books .filters.interest-tiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 10px}.books .filters .interest-tile{padding:9px 5px 8px;border-radius:14px;border-width:2px;box-shadow:2px 3px var(--ink)}.interest-art{height:64px;margin-bottom:8px}.interest-art img{height:64px;width:78%}.interest-tile:first-child .interest-art img{height:54px}.interest-tile strong{font-size:13px;min-height:30px;line-height:1.18}.interest-count{font-size:10px;padding:3px 7px;margin-top:6px}.interest-tile.active:after{width:18px;height:18px;font-size:11px;right:4px;top:4px}.books .filters .interest-tile.active{box-shadow:2px 3px var(--ink)}.shelf-refine{grid-template-columns:112px 1fr;gap:13px;padding:17px 14px;margin-top:21px}.shelf-refine>p{grid-column:1/-1}.shelf-refine strong{font-size:20px}.shelf-refine>p>span{max-width:none;font-size:12px;margin-top:5px}.shelf-refine input,.shelf-refine select{font-size:16px;padding:10px 9px}.shelf-refine .search{width:auto;min-width:0}.format-note{font-size:11px;line-height:1.5}.catalog-summary{gap:12px;margin:0 0 23px}.catalog-summary .count{font-size:13px}#clear-filters{font-size:12px;min-height:36px;padding:7px 10px}.catalog-pagination.shelf-quick-pages{width:100%;justify-content:space-between;gap:9px}.catalog-pagination.shelf-quick-pages>button{min-width:0;font-size:13px;padding:9px 14px}.shelf-page-label{font-size:12px}.interest-tile.active strong{font-weight:700}}
@media(prefers-reduced-motion:reduce){.books .filters .interest-tile:hover{transform:none}.interest-tile:hover .interest-art>img:only-child{transform:none}}



.shelf-mobile-hint{display:none}
@media(max-width:760px){.interest-heading>span{display:block;font-size:11px;flex-shrink:0}.interest-heading p{font-size:18px}.shelf-desktop-hint{display:none}.shelf-mobile-hint{display:inline}.books .filters.interest-tiles{display:flex;flex-wrap:nowrap;overflow-x:auto;scroll-snap-type:x proximity;gap:11px;padding:4px 5px 10px;margin:0 -5px;scrollbar-width:thin;scrollbar-color:var(--ink) transparent}.books .filters .interest-tile{flex:0 0 108px;scroll-snap-align:center}.interest-art{width:100%}.shelf-refine{margin-top:18px}}
