/* Compact shelves: the silhouette tells you what is inside. */
body[data-page=collection] .collection-grid,body[data-page=home] .home-collection .collection-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:30px 24px;align-items:start}
.collection-type-filter{display:flex;align-items:center;gap:10px;font-size:12px;white-space:nowrap}.collection-type-filter select{border:1px solid #b8c6bb;background:transparent;padding:7px 28px 7px 10px;border-radius:3px;max-width:155px}.page-toolbar:has(.collection-type-filter){flex-wrap:wrap;gap:16px}
.shelf-item.collection-card .collection-visual,body[data-page=home] .home-collection .shelf-item .collection-visual{height:174px;width:100%;display:flex;align-items:center;justify-content:center;background:#ecebe3;border-radius:3px;padding:12px;overflow:hidden}.shelf-item .collection-visual img{width:100%;height:100%;object-fit:contain}.shelf-item.type-book .collection-visual{background:#e7e5d8}.type-book .collection-visual img{width:auto;max-width:76%;box-shadow:-4px 3px 0 #c6c1ab,3px 5px 12px #32352b16}.shelf-item.type-game .collection-visual{background:#23383d;padding:0}.type-game .collection-visual img{object-fit:cover}.shelf-item.type-anime .collection-visual{background:#eee4ee}.type-anime .collection-visual img,.type-movie .collection-visual img{width:auto;max-width:100%}.shelf-item.type-website .collection-visual{border-top:12px solid #b8c8bd;background:#e1ebe5;padding:0}.type-website .collection-visual img{object-fit:cover}.shelf-item.type-music .collection-visual{background:#dce5e8}.type-music .collection-visual img{width:142px;max-width:100%;object-fit:cover}.collection-placeholder{font:42px Georgia,'Songti SC',serif;color:#647868;letter-spacing:-1px}.type-game .collection-placeholder{color:#c9dadb}.shelf-item .collection-info{padding:12px 0 0;position:relative}.shelf-item .collection-info h3,body[data-page=home] .home-collection .shelf-item .collection-info h3{font:20px/1.5 var(--serif);padding-right:20px;margin:4px 0}.shelf-item h3 button{text-align:left;padding:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.shelf-item .save-button{top:6px;font-size:23px}.shelf-item .save-button[aria-pressed=true]{color:#835b70}.collection-summary{font-size:12px;line-height:1.8;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:43px}.review-mark{font-size:10px;color:#68566e;display:inline-block;margin-top:6px;border-bottom:1px solid #baadbe}.collection-detail-layout{display:grid;grid-template-columns:180px 1fr;gap:30px}.collection-detail .collection-visual{height:245px;padding:12px;display:flex;align-items:center;justify-content:center}.collection-detail .collection-visual img{max-height:100%;object-fit:contain}.collection-detail h2{font:19px var(--serif);margin-bottom:12px}.collection-detail p{white-space:pre-line;line-height:1.9;font-size:14px}.owner-review{border-left:2px solid #9caf9f;padding-left:18px;margin:25px 0}.collection-external{display:inline-block;margin:12px 0;text-decoration:underline;text-underline-offset:4px;font-size:13px}.collection-detail p.collection-source{font-size:11px;color:var(--muted);margin-top:12px}.collection-source a{text-decoration:underline}
@media(min-width:1500px){body[data-page=collection] .collection-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1000px){body[data-page=collection] .collection-grid,body[data-page=home] .home-collection .collection-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){body[data-page=collection] .collection-grid,body[data-page=home] .home-collection .collection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 16px}.shelf-item.collection-card .collection-visual,body[data-page=home] .home-collection .shelf-item .collection-visual{height:146px}.shelf-item .collection-info h3,body[data-page=home] .home-collection .shelf-item .collection-info h3{font-size:17px}.collection-detail-layout{grid-template-columns:1fr}.collection-detail .collection-visual{height:200px}.collection-detail .collection-visual img{width:auto}.page-toolbar .result-count{margin-left:auto}}

.shelf-item .collection-visual>.legacy-object{scale:.7;flex-shrink:0}.collection-detail .collection-visual>.legacy-object{scale:.85}

body[data-page=collection] .page-intro{padding:34px 0 27px}body[data-page=collection] .page-intro h1{font-size:44px}body[data-page=collection] .page-kicker{font-size:14px;margin-bottom:10px}body[data-page=collection] .page-description{margin-top:14px;font-size:13px}body[data-page=collection] .collection-page-mark{display:none}body[data-page=collection] .page-toolbar{padding:13px 0;margin-bottom:0}body[data-page=collection] .collection-grid{margin:24px 0 40px}body[data-page=collection] .filter-chips{flex:1;flex-wrap:nowrap;overflow-x:auto;white-space:nowrap;min-width:0}.type-game .collection-visual img{height:auto;max-height:100%;object-fit:contain} .type-website .collection-visual img{object-fit:contain}
@media(max-width:700px){body[data-page=collection] .page-intro h1{font-size:35px}body[data-page=collection] .page-intro{padding-top:26px}body[data-page=collection] .page-toolbar .filter-chips{order:3;flex-basis:100%}body[data-page=collection] .page-toolbar .result-count{order:2}body[data-page=collection] .page-toolbar{gap:10px}}

body[data-page=home] .home-collection .shelf-item .collection-visual>.legacy-object{scale:.7}
