/* Compact version of the Short list's frost tool grid. The cover is one link;
   individual tiles are artwork, so there are no nested link targets. */
.shelf-stack-map{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;max-width:360px;background:var(--frost);color:var(--oxblood);border:1px solid var(--oxblood);text-align:left;container-type:inline-size}
.shelf-stack-tile{display:grid;grid-template-columns:1fr;align-content:center;gap:6px;min-width:0;padding:12px 9px;border-bottom:1px solid var(--line)}
.shelf-stack-tile:nth-child(odd){border-right:1px solid var(--line)}
.shelf-stack-tile:nth-last-child(-n+2){border-bottom:0}
.shelf-stack-tile>img{width:24px;height:24px;object-fit:contain}
.shelf-stack-name{font:500 13px/1.15 Cabinet,sans-serif;overflow-wrap:normal}
.shelf-stack-job{font:400 10px/1.35 Space,sans-serif}
.closed-cover .shelf-stack-tile{padding:9px 5px;gap:5px}
.closed-cover .shelf-stack-tile>img{width:20px;height:20px}
.closed-cover .shelf-stack-name{font-size:10px}
.closed-cover .shelf-stack-job{display:none}
.book[data-piece=build-stack] .preview-cover{overflow:visible}
@container (max-width:220px){.shelf-stack-job{display:none}.shelf-stack-tile{padding:12px 7px}.shelf-stack-name{font-size:12px}}
@container (min-width:280px){.shelf-stack-tile{grid-template-columns:28px 1fr;column-gap:10px}.shelf-stack-tile>img{grid-row:1/3}.shelf-stack-job{grid-column:2}.shelf-stack-name{font-size:16px}}

