/* Gallery movement is deliberately slow; direct interaction always takes over. */
.gallery-filmstrip{scroll-snap-type:none;scroll-behavior:auto;touch-action:pan-x pan-y pinch-zoom;cursor:grab;-webkit-user-select:none;user-select:none;scrollbar-width:none}
.gallery-filmstrip::-webkit-scrollbar{display:none}
.gallery-filmstrip:focus-visible{outline:2px solid #d8c7a8;outline-offset:-4px}
.gallery-filmstrip.is-dragging,.gallery-filmstrip.is-dragging *{cursor:grabbing!important}
.gallery-filmstrip img{-webkit-user-drag:none;user-select:none}
.gallery-drift-progress{width:calc(100% - 10%);height:2px;margin:19px auto 0;background:#eee6d515;overflow:hidden;border-radius:2px}
.gallery-drift-progress[hidden]{display:none}
.gallery-drift-progress span{display:block;width:50%;height:100%;background:linear-gradient(90deg,#97866a,#ded1b8);transform:translateX(0);transform-origin:left center;will-change:transform;border-radius:2px}
.gallery-motion-toggle{margin-left:auto;flex-shrink:0;padding:4px 0;background:none;border:0;border-bottom:1px solid #b4a58b66;color:#c5bdaF;font:inherit;font-size:11px;line-height:1.6;cursor:pointer;transition:color .2s,border-color .2s}
.gallery-motion-toggle:hover{color:#fff7e9;border-color:#e6d8bd}
.gallery-motion-toggle:focus-visible{outline:2px solid #d8c7a8;outline-offset:5px}
.gallery-foot{gap:25px}
@media(max-width:650px){.gallery-drift-progress{width:calc(100% - 46px);margin-top:14px}.gallery-foot{flex-wrap:wrap;gap:10px 18px}.gallery-foot>span:first-child{width:100%;line-height:1.7}.gallery-motion-toggle{font-size:10px;min-height:32px}.gallery-foot>span:nth-child(2){align-self:center}}
@media(prefers-reduced-motion:reduce){.gallery-motion-toggle{transition:none}.gallery-drift-progress span{will-change:auto}}
@media(max-width:650px){.gallery-filmstrip .gallery-photo{flex-basis:84vw}}
