.categories { gap:12px; }
.categories button { grid-template-columns:44px 1fr auto; column-gap:12px; padding:16px; border-radius:5px; align-items:center; }
.categories button[aria-pressed=true] { padding:15px; box-shadow:none; }
.categories .cover-art { grid-column:1; grid-row:1 / span 2; width:44px; height:44px; margin:0; }
.category-name { grid-column:2; font-size:15px; }
.category-count { grid-column:3; font-size:10px; }
.category-description { grid-column:2 / span 2; font-size:10px; }
.category-toolbar { margin-bottom:26px; }
#prompt-topics { display:none; }
.library-layout.has-topics { display:grid; grid-template-columns:180px minmax(0,1fr); gap:34px; }
#topic-index[hidden] { display:none; }
#topic-index { padding-top:8px; }
#topic-index h3 { font-size:12px; font-weight:600; margin:0 0 14px; }
#topic-buttons { display:grid; gap:2px; }
#topic-buttons button { display:flex; justify-content:space-between; align-items:center; gap:12px; text-align:left; padding:10px 9px; margin-left:-9px; color:#5b685f; font-size:11px; font-weight:400; line-height:1.5; border-radius:4px; background:transparent; }
#topic-buttons button:hover { background:#f3f6f3; color:var(--green-dark); }
#topic-buttons button[aria-pressed=true] { color:var(--green-dark); background:#edf4ef; font-weight:600; }
.topic-count { font-size:10px; color:#7a897e; font-weight:400; }
.recent-grid.rack-view { padding:12px 8px 0; border:0; background:transparent; box-shadow:none; overflow:visible; }
.recent-grid.rack-view::before,.recent-grid.rack-view::after { display:none; }
.publication-shelf,.recent-grid.rack-view .publication-shelf:nth-child(2) { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px; min-width:0; margin:0 0 42px; padding:0 0 22px; border-bottom:1px solid #dce3dd; box-shadow:none; }
.publication-shelf::after { display:none; }
.publication-shelf:last-child { margin-bottom:0; }
.recent-grid.rack-view .publication-shelf .material { --tilt:-.7deg; width:100%; height:320px; margin:0; padding:18px; border:1px solid #cdd7cf; border-left:2px solid #dce5de; color:var(--ink); background:#fff; box-shadow:2px 1px 0 #fff,3px 2px 0 #d3dcd5,5px 5px 9px rgb(20 42 27 / .09); }
.recent-grid.rack-view .publication-shelf .material:nth-child(2) { --tilt:.6deg; width:100%; height:350px; margin:0; }
.recent-grid.rack-view .publication-shelf .material:nth-child(3) { --tilt:-.3deg; width:100%; height:300px; margin:0; }
.recent-grid.rack-view .publication-shelf:nth-child(2) .material:nth-child(1) { height:330px; --tilt:.4deg; }
.recent-grid.rack-view .publication-shelf:nth-child(2) .material:nth-child(2) { height:300px; --tilt:-.5deg; }
.recent-grid.rack-view .publication-shelf:nth-child(2) .material:nth-child(3) { height:345px; --tilt:.5deg; }
.recent-grid.rack-view .publication-shelf .material .meta { font-size:9px; color:inherit; border-bottom:1px solid rgb(30 70 42 / .2); padding-bottom:10px; margin-bottom:12px; }
.recent-grid.rack-view .publication-shelf .material .cover-art { width:130px; height:130px; flex-shrink:0; mix-blend-mode:multiply; }
.recent-grid.rack-view .publication-shelf .material h3 { font-size:19px; line-height:1.25; letter-spacing:-.6px; margin:14px 0 0; font-weight:650; }
.recent-grid.rack-view .publication-shelf .material.cover-style-1 { background:#e7f0e9; }
.recent-grid.rack-view .publication-shelf .material.cover-style-1 h3 { order:-1; margin:0 0 16px; font-size:22px; }
.recent-grid.rack-view .publication-shelf .material.cover-style-1 .meta { margin-top:auto; }
.recent-grid.rack-view .publication-shelf .material.cover-style-2 { background:var(--green-dark); color:white; border-color:#155d3b; }
.recent-grid.rack-view .publication-shelf .material.cover-style-2 .cover-art { mix-blend-mode:normal; width:118px; height:118px; }
.recent-grid.rack-view .publication-shelf .material.cover-style-2 .meta { border-color:rgb(255 255 255 / .35); }
.recent-grid.rack-view .publication-shelf .material.cover-style-2 .pick-label { color:white; }
.recent-grid.rack-view .publication-shelf .material.cover-style-3 h3 { font-size:23px; order:-1; margin:0 0 16px; }
.recent-grid.rack-view .publication-shelf .material.cover-style-3 .meta { margin-top:auto; }
.recent-grid.rack-view .publication-shelf .material.cover-style-4 { background:#f0f3f1; }
.recent-grid.rack-view .publication-shelf .material .pick-label { font-size:10px; padding-top:12px; }
.recent-grid.rack-view .publication-shelf .material:hover,.recent-grid.rack-view .publication-shelf .material:focus-visible { transform:translateY(-7px) rotate(0); box-shadow:3px 2px 0 #fff,4px 3px 0 #b8c7bd,6px 12px 15px rgb(26 46 32 / .15); }
.recent-grid.rack-view .publication-shelf .material.cover-style-2:hover h3 { color:white; }
.catalog-area { min-width:0; }
.catalog-area .rack-controls { margin-top:10px; }
@media(max-width:1050px) { .library-layout.has-topics { grid-template-columns:155px minmax(0,1fr); gap:22px; } .publication-shelf,.recent-grid.rack-view .publication-shelf:nth-child(2) { gap:20px; } .recent-grid.rack-view .publication-shelf .material { padding:14px; } .recent-grid.rack-view .publication-shelf .material h3 { font-size:17px; } .recent-grid.rack-view .publication-shelf .material .cover-art { width:105px; height:105px; } .categories button { grid-template-columns:36px 1fr auto; gap:6px 9px; padding:12px; } .categories button[aria-pressed=true] { padding:11px; } .categories .cover-art { width:36px; height:36px; } }
@media(max-width:800px) { .library-layout.has-topics { display:block; } #topic-index { display:none; } #prompt-topics:not([hidden]) { display:flex; } .category-toolbar form { order:3; } .recent-grid.rack-view .publication-shelf .material h3 { font-size:18px; } }
@media(max-width:550px) { .categories { gap:10px; } .category-description { display:none; } .categories .cover-art { grid-row:1; } .categories button { padding:12px; min-height:72px; } .categories button[aria-pressed=true] { padding:11px; } .category-name { font-size:13px; } .category-count { font-size:9px; } .recent-grid.rack-view { padding:10px 4px 0; } .publication-shelf,.recent-grid.rack-view .publication-shelf:nth-child(2) { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px 16px; align-items:end; padding-bottom:24px; margin-bottom:24px; } .recent-grid.rack-view .publication-shelf .material,.recent-grid.rack-view .publication-shelf .material:nth-child(n),.recent-grid.rack-view .publication-shelf:nth-child(2) .material:nth-child(n) { height:auto; min-height:280px; padding:12px; width:100%; } .recent-grid.rack-view .publication-shelf .material:nth-child(3) { grid-column:1 / span 2; width:70%; justify-self:center; min-height:260px; } .recent-grid.rack-view .publication-shelf .material h3,.recent-grid.rack-view .publication-shelf .material.cover-style-1 h3,.recent-grid.rack-view .publication-shelf .material.cover-style-3 h3 { font-size:17px; line-height:1.35; } .recent-grid.rack-view .publication-shelf .material .cover-art,.recent-grid.rack-view .publication-shelf .material.cover-style-2 .cover-art { width:100px; height:100px; } .recent-grid.rack-view .publication-shelf .material .pick-label { margin-top:auto; } }
@media(prefers-reduced-motion:reduce) { .recent-grid.rack-view .publication-shelf .material:hover { transform:rotate(var(--tilt)); } }
.recent-grid.rack-view .publication-shelf .material { height:auto !important; min-height:320px; }
.recent-grid.rack-view .publication-shelf .material:nth-child(2) { min-height:350px; }
.recent-grid.rack-view .publication-shelf .material:nth-child(3) { min-height:300px; }
.recent-grid.rack-view .publication-shelf:nth-child(2) .material:nth-child(1) { min-height:330px; }
.recent-grid.rack-view .publication-shelf:nth-child(2) .material:nth-child(2) { min-height:300px; }
.recent-grid.rack-view .publication-shelf:nth-child(2) .material:nth-child(3) { min-height:345px; }
.recent-grid.rack-view .publication-shelf .material.cover-style-1 h3,.recent-grid.rack-view .publication-shelf .material.cover-style-3 h3 { font-size:20px; }
@media(max-width:550px) { .recent-grid.rack-view .publication-shelf .material:nth-child(n),.recent-grid.rack-view .publication-shelf:nth-child(2) .material:nth-child(n) { min-height:280px; } .recent-grid.rack-view .publication-shelf .material.cover-style-1 h3,.recent-grid.rack-view .publication-shelf .material.cover-style-3 h3 { font-size:17px; } }
