/* Shared gallery navigation: keep the artwork first. */
.gallery-header{height:64px;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:16px;padding:0 24px;background:#fff;position:sticky;top:0;z-index:5}
.gallery-wordmark{grid-column:2;grid-row:1;margin:0;color:#302a31;font-size:20px;font-weight:600;line-height:1.2;letter-spacing:-.025em;text-align:center}
.gallery-wordmark a{color:inherit;text-decoration:none}
.gallery-back,.gallery-updated{font-family:inherit;font-size:12px;font-weight:400;line-height:1.4;letter-spacing:0}
.gallery-back{grid-column:1;grid-row:1;justify-self:start;min-height:44px;display:inline-flex;align-items:center;gap:7px;color:#625e64;text-decoration:none}
.gallery-back svg{width:16px;height:16px;flex:none}
.gallery-back:hover{color:#302a31}
.gallery-updated{grid-column:3;grid-row:1;justify-self:end;position:relative;color:#777278;white-space:nowrap}
.gallery-date-trigger{display:inline-flex;align-items:center;justify-content:flex-end;gap:6px;min-height:44px;min-width:44px;padding:0;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer}
.gallery-date-trigger svg{width:13px;height:13px;flex:none}
.gallery-date-trigger:hover{color:#302a31}
.gallery-date-tooltip{position:absolute;right:0;top:100%;z-index:1;width:max-content;max-width:calc(100vw - 28px);padding:10px 12px;border:1px solid #e8e5e8;border-radius:8px;background:#fff;color:#625e64;box-shadow:0 4px 18px rgba(30,25,30,.09);font-size:12px;line-height:1.5;white-space:normal}
.gallery-updated time{font-variant-numeric:tabular-nums}
.gallery-filters{display:flex;align-items:center;justify-content:flex-start;gap:9px;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;scroll-padding-inline:16px;padding:4px 16px 14px;margin:0;background:#fff}
.gallery-filters::-webkit-scrollbar{display:none}
.gallery-filters button:first-child{margin-left:auto}
.gallery-filters button:last-child{margin-right:auto}
.gallery-filters button{flex:0 0 auto;white-space:nowrap;position:relative;min-height:44px;min-width:44px;border:0;padding:0 13px;background:transparent;color:#777278;font-family:inherit;font-size:13px;font-weight:400;line-height:1.3;cursor:pointer}
.gallery-filters button:hover{color:#302a31}
.gallery-filters button[aria-pressed="true"]{color:#302a31;font-weight:600}
.gallery-filters button[aria-pressed="true"]::after{content:"";position:absolute;height:2px;bottom:3px;left:13px;right:13px;background:#302a31;border-radius:2px}
.gallery-filters button:focus-visible,.gallery-header a:focus-visible,.gallery-date-trigger:focus-visible{outline:2px solid #302a31;outline-offset:2px;border-radius:3px}
.gallery-sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:700px){.gallery-header{height:58px;grid-template-columns:minmax(60px,1fr) minmax(0,240px) minmax(60px,1fr);gap:8px;padding:0 14px}.gallery-wordmark{font-size:16px}.gallery-back,.gallery-updated{font-size:11px}.gallery-back{gap:5px}.gallery-back svg{width:14px;height:14px}.gallery-filters{gap:0;padding:4px 14px 12px;scroll-padding-inline:14px}.gallery-filters button{font-size:12px;padding:0 12px}.gallery-filters button[aria-pressed="true"]::after{left:50%;right:auto;width:22px;transform:translateX(-50%)}}
