/* v8.2 — real finger-driven galleries on phones; desktop scroll animation is unchanged. */
.fidu-mobile-rail-nav{display:none}
@media (max-width:780px){
  .ds-unique-gallery.ds-single-rail,.ds-unique-gallery.ds-two-rails,.ds-sticky-gallery{height:auto!important;min-height:0!important;overflow:visible!important}
  .ds-sticky-gallery .ds-sticky-inner{position:relative!important;top:auto!important;height:auto!important;min-height:0!important;overflow:visible!important;padding:34px 0 36px!important;gap:14px!important;display:flex;flex-direction:column;justify-content:flex-start}
  .ds-sticky-gallery .ds-rail{display:flex!important;position:relative;flex-direction:row;flex-wrap:nowrap;width:100%!important;max-width:100%!important;overflow-x:auto!important;overflow-y:hidden!important;transform:none!important;touch-action:pan-x pan-y;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;direction:ltr;scroll-padding-inline:20px;gap:12px;padding:0 20px 10px;scrollbar-width:none;box-sizing:border-box}
  .ds-sticky-gallery .ds-rail::-webkit-scrollbar,.luxe-movement .luxe-movement-track::-webkit-scrollbar{display:none}
  .ds-sticky-gallery .ds-rail .story-frame{width:min(84vw,490px)!important;min-width:min(84vw,490px)!important;height:clamp(210px,45vh,355px)!important;flex:none;scroll-snap-align:start}
  .ds-sticky-gallery .ds-rail .story-frame img{display:block;width:100%;height:100%;object-fit:cover}
  .ds-rail-top,.ds-rail-bottom{width:calc(100% - 40px)!important;flex-wrap:wrap;line-height:1.5}
  .ds-rail-bottom{margin-top:0}
  .luxe-movement{overflow:hidden}
  .luxe-movement .luxe-movement-track{width:100%!important;max-width:100%!important;display:flex!important;overflow-x:auto!important;overflow-y:hidden!important;transform:none!important;touch-action:pan-x pan-y;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;direction:ltr;scroll-padding-inline:20px;padding:0 20px 10px;scrollbar-width:none;box-sizing:border-box}
  .luxe-movement .luxe-movement-track>button,.luxe-movement .luxe-movement-track>a{width:min(80vw,420px)!important;flex:0 0 min(80vw,420px)!important;scroll-snap-align:start}
  .fidu-mobile-rail-nav{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:0 20px;direction:ltr}
  .fidu-mobile-rail-nav button{width:42px;height:42px;border:1px solid #cdb58b;background:#102329;color:#f1dab4;border-radius:50%;font-size:23px;line-height:1;cursor:pointer;display:grid;place-items:center;touch-action:manipulation}
  .fidu-mobile-rail-nav button:disabled{opacity:.25;cursor:default}
  .fidu-mobile-rail-count{min-width:49px;text-align:center;color:#e8d5b4;font:600 12px/1.5 sans-serif;font-variant-numeric:tabular-nums}
  .fidu-mobile-rail-nav button:focus-visible,.ds-sticky-gallery .story-frame img:focus-visible{outline:2px solid #e8c08b;outline-offset:3px}
  .ds-rail-top+ .ds-rail{margin-top:12px}
  .fidu-popup .fidu-popup-image{touch-action:pan-y pinch-zoom;user-select:none;-webkit-user-drag:none}
  .fidu-popup-nav{touch-action:manipulation}
  .fidu-popup-title{bottom:20px;max-width:calc(100vw - 100px);margin:auto}
}
@media (prefers-reduced-motion:reduce) and (max-width:780px){
  .ds-sticky-gallery .ds-rail,.luxe-movement .luxe-movement-track{scroll-behavior:auto!important}
}
