.gallery-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:28px 0 14px}
.gallery-filters{display:flex;gap:4px;padding:5px;border:1px solid #a6c1c42c;border-radius:11px;background:#070d10}
.gallery-filters button{border:0;border-radius:7px;min-height:42px;padding:10px 18px;font:500 12px var(--font);color:#a4bac1;background:none;cursor:pointer;white-space:nowrap}
.gallery-filters button[aria-pressed=true]{color:#e2f4f7;background:linear-gradient(140deg,#33424788,#182428);box-shadow:inset 0 1px #e3fbff25}
.gallery-filters span{font-size:11px;margin-left:4px;color:#9fbcc3}
.gallery-search{display:flex;gap:10px;align-items:center;min-width:250px;padding:0 14px;border:1px solid #a6c1c438;border-radius:10px;background:#080e10}
.gallery-search svg{width:17px;height:17px;flex-shrink:0;color:#a8c1c7}.gallery-search input{width:100%;min-width:0;min-height:48px;border:0;outline:0;background:none;color:#dcecef;font:400 13px var(--font)}
.gallery-search:focus-within{outline:2px solid #bfecf2;outline-offset:3px}
.gallery-summary{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 24px;font-size:12px;color:#a1b8c0}.gallery-summary p{margin:0}.gallery-summary label{display:flex;align-items:center;gap:9px}.gallery-summary select{border:1px solid #7897a03b;border-radius:8px;background:#0d171a;color:#d1e3e8;padding:9px;font:400 12px var(--font);min-height:40px}
.slab-shelf .slab-shelf-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.gallery-card{position:relative;min-width:0;border:1px solid #92b2ba35;border-radius:14px;background:radial-gradient(ellipse at 50% 33%,#d4f1f211,transparent 66%),linear-gradient(145deg,#18222766,#080e10 80%);box-shadow:inset 0 1px #d7f5fb12;overflow:hidden}
.slab-shelf .gallery-card .shelf-slab{width:100%;padding:42px 24px 23px;min-height:0;border:0;background:none;text-align:left;border-radius:0}
.slab-shelf .gallery-card .gallery-card-art{display:grid;place-items:center;height:292px;position:relative}
.slab-shelf .gallery-card .shelf-slab img{display:block;width:100%;height:100%;max-height:292px;object-fit:contain;filter:drop-shadow(0 14px 16px #0009);transform:rotate(-2deg);transition:transform .25s ease}
.slab-shelf .gallery-card:nth-child(2n) .shelf-slab img{transform:rotate(2deg)}
.slab-shelf .gallery-card .gallery-card-caption{display:block;margin:24px 0 0;font-size:16px;line-height:1.5;color:#e1eff2}.gallery-card-caption strong{font-weight:500}.slab-shelf .gallery-card .gallery-card-caption small{display:block;font-size:12px;color:#a3bac2;margin-top:5px;line-height:1.5}
.gallery-card-grade{position:absolute;left:17px;top:15px;color:#adc4ca;font-size:11px;pointer-events:none}
.gallery-save{position:absolute;right:11px;top:9px;width:42px;height:42px;border:1px solid transparent;border-radius:9px;background:#0c14198c;color:#99b3bd;display:grid;place-items:center;cursor:pointer}.gallery-save svg{width:21px;height:21px}.gallery-save[aria-pressed=true]{color:#c9f4fa;border-color:#a1d6de44;background:#24404799}.gallery-save[aria-pressed=true] svg{fill:#b5e9f333}
.gallery-empty{padding:55px 24px;text-align:center;border:1px solid #9bb9c031;border-radius:14px;background:#0b1215}.gallery-empty h3{font-size:25px;margin:0 0 13px;letter-spacing:-.035em}.gallery-empty p{font-size:14px;line-height:1.8;color:#aac2ca;max-width:440px;margin:0 auto 23px}.gallery-empty[hidden]{display:none}
.gallery-card .image-unavailable:after{content:attr(data-image-message);font-size:12px;color:#b8cbd1;line-height:1.8;max-width:150px;text-align:center}.gallery-card img[hidden]{display:none!important}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.slab-shelf .gallery-card:hover{border-color:#c0e7ed75}.slab-shelf .gallery-card .shelf-slab:hover img{transform:translateY(-5px) rotate(0deg)}}
@media(max-width:900px){.gallery-toolbar{flex-wrap:wrap;gap:12px}.gallery-search{flex:1}.slab-shelf .gallery-card .gallery-card-art{height:245px}.slab-shelf .gallery-card .shelf-slab img{max-height:245px}.slab-shelf .gallery-card .shelf-slab{padding-inline:18px}}
@media(max-width:600px){.gallery-toolbar{display:grid;grid-template-columns:1fr;margin-top:23px}.gallery-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px}.gallery-filters button{padding:10px 5px;font-size:11px}.gallery-filters span{margin-left:2px}.gallery-search{min-width:0}.gallery-search input{font-size:16px}.gallery-summary{font-size:11px;margin-bottom:18px}.gallery-summary select{font-size:12px}.slab-shelf .slab-shelf-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.slab-shelf .gallery-card .shelf-slab{padding:45px 12px 16px}.slab-shelf .gallery-card .gallery-card-art{height:220px}.slab-shelf .gallery-card .shelf-slab img{max-height:220px}.slab-shelf .gallery-card .gallery-card-caption{font-size:14px;margin-top:18px}.slab-shelf .gallery-card .gallery-card-caption small{font-size:11px}.gallery-card-grade{left:12px;font-size:10px;top:20px}.gallery-save{right:5px}.gallery-summary label{gap:5px}}
@media(max-width:360px){.slab-shelf .gallery-card .gallery-card-art{height:175px}.slab-shelf .gallery-card .shelf-slab img{max-height:175px}.gallery-filters button{font-size:10px}.gallery-filters span{font-size:10px}}
.gallery-toolbar button:focus-visible,.gallery-card button:focus-visible,.gallery-summary select:focus-visible,.gallery-empty button:focus-visible{outline:2px solid #cef7fc;outline-offset:3px}.gallery-card .shelf-slab:focus-visible{outline-offset:-4px}.gallery-save{width:44px;height:44px}
.gallery-card-art[data-loading=true]:before{content:'Loading photo…';position:absolute;inset:0;display:grid;place-items:center;color:#9ab5be;font:400 11px var(--font)}
