.collection .approved-collection{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px 28px;align-items:start}
.collection .approved-collection figure:nth-child(n){margin:0;min-width:0}
.collection-open{display:block;cursor:zoom-in}
.collection-open img{display:block;width:100%;height:auto;aspect-ratio:2/3;object-fit:contain}
.approved-collection figcaption{font-size:14px;color:var(--ink);padding-top:16px}
.approved-collection figcaption span:last-child{font-size:11px;color:var(--muted)}
.collection-viewer{position:fixed;inset:0;width:100%;max-width:none;height:100dvh;max-height:none;margin:0;padding:22px 48px;border:0;background:var(--white);color:var(--ink);overflow:hidden}
.collection-viewer[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:16px}
.collection-viewer::backdrop{background:#171714}
.collection-viewer-header{display:flex;align-items:center;justify-content:space-between;gap:24px}
.collection-viewer-header h2{font-size:28px}
.gallery-icon{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border:1px solid var(--line);background:transparent;color:inherit;font:400 22px "DM Sans",Arial,sans-serif;cursor:pointer}
.gallery-close{font-size:30px;border:0}
.gallery-icon:hover{background:var(--paper)}
.gallery-icon:disabled{opacity:.35;cursor:default}
.collection-viewer-stage{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:24px;align-items:center;min-height:0;min-width:0;touch-action:pan-y pinch-zoom}
.collection-viewer-image{display:block;width:100%;height:100%;min-height:0;min-width:0;max-height:100%;object-fit:contain}
.collection-viewer-footer{display:flex;align-items:center;justify-content:space-between;gap:24px;min-width:0}
.gallery-counter{font-size:12px;line-height:1.6;margin:0;white-space:nowrap;min-width:50px}
.gallery-thumbnails{display:flex;gap:10px;overflow-x:auto;max-width:100%;padding:4px;overscroll-behavior-x:contain}
.gallery-thumb{flex:0 0 56px;width:56px;height:78px;padding:4px;border:1px solid transparent;background:none;cursor:pointer}
.gallery-thumb[aria-pressed="true"]{border-color:var(--ink)}
.gallery-thumb img{display:block;width:100%;height:100%;object-fit:contain}
@media(max-width:760px){.collection .approved-collection{gap:32px 24px}.collection-viewer{padding:16px 18px}.collection-viewer-stage{gap:12px}.collection-viewer-footer{gap:12px}}
@media(max-width:520px){.collection .approved-collection{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 20px}.collection-viewer{padding:12px}.collection-viewer-header h2{font-size:24px}.collection-viewer-stage{grid-template-columns:44px minmax(0,1fr) 44px;column-gap:4px}.gallery-thumb{flex-basis:46px;width:46px;height:64px}.gallery-thumbnails{gap:6px}.collection-viewer-footer{gap:8px}}
@media(max-width:380px){.collection .approved-collection{grid-template-columns:minmax(0,1fr)}.collection-viewer-stage{grid-template-columns:minmax(0,1fr) 44px 44px;grid-template-rows:minmax(0,1fr) 44px;gap:8px}.collection-viewer-image{grid-column:1/-1;grid-row:1}.gallery-previous{grid-column:2;grid-row:2}.gallery-next{grid-column:3;grid-row:2}}
