/* Fleet Hub card photos (FP1): the photo area of each yacht card holds four photographs of that yacht (the card cover first),
   built by the Fleet Hub page script from scripts/ui-system/fp1/card-photos.json. Loaded after the other Fleet Hub layers by the
   four Fleet Hubs only; every rule starts from the page root. The photo box keeps the card's 4:3 proportion, its corners and its
   stable height: each photograph fills one full-width slide of a horizontal scroller that snaps to one photo at rest. A photo that
   has not loaded yet keeps the slide's size and the existing navy surface; one that fails keeps the card usable. Four dots under the
   photo (44 px tall tap targets) mark the position; wider screens add previous and next photo buttons (44 px). Without JavaScript
   none of this exists and the card shows its cover exactly as before. Reduced motion is honoured by the script (no smooth
   scrolling) and here (no transitions). The retired List view / Swipe view switch and its yacht-to-yacht navigation are not
   rendered any more; phones always show the vertical list. */
#fh-root.uirh-fleet .fh-photo-track{display:flex;width:100%;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch}
#fh-root.uirh-fleet .fh-photo-track::-webkit-scrollbar{display:none}
#fh-root.uirh-fleet .fh-photo-track > .fh-img-link{flex:0 0 100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always}
#fh-root.uirh-fleet .fh-photo-track .fh-img{-webkit-user-drag:none;user-select:none;-webkit-touch-callout:none}
#fh-root.uirh-fleet .fh-photo-track .fh-img:not([src]),
#fh-root.uirh-fleet .fh-photo-error .fh-img{visibility:hidden}
#fh-root.uirh-fleet .fh-photo-wait::before{opacity:1;background-image:linear-gradient(100deg,transparent 35%,rgba(201,169,110,.12) 50%,transparent 65%);background-size:220% 100%;animation:fhShimmer 1.1s linear infinite}
#fh-root.uirh-fleet .fh-photo-gallery .fh-img-link:hover .fh-img{transform:none}
#fh-root.uirh-fleet .fh-photo-dots{position:absolute;left:50%;bottom:0;z-index:3;display:flex;transform:translateX(-50%);isolation:isolate}
#fh-root.uirh-fleet .fh-photo-dots::before{content:'';position:absolute;z-index:-1;inset:13px 6px;border-radius:999px;background:rgba(8,21,32,.62);pointer-events:none}
#fh-root.uirh-fleet .fh-photo-dot{display:grid;place-items:center;width:30px;min-width:30px;height:44px;margin:0;padding:0;border:0;border-radius:0;background:transparent;cursor:pointer;-webkit-tap-highlight-color:transparent}
#fh-root.uirh-fleet .fh-photo-dot::after{content:'';width:7px;height:7px;border-radius:999px;background:rgba(255,255,255,.78);transition:width .2s ease,background-color .2s ease}
#fh-root.uirh-fleet .fh-photo-dot[aria-current="true"]::after{width:18px;background:#e5bf84}
#fh-root.uirh-fleet .fh-photo-dot:focus-visible{outline:2px solid #fff;outline-offset:-6px;border-radius:8px}
#fh-root.uirh-fleet .fh-photo-gallery .fh-prev,
#fh-root.uirh-fleet .fh-photo-gallery .fh-next{z-index:3;width:44px;height:44px;opacity:1;color:#fff;background:rgba(8,21,32,.66);border-color:rgba(255,255,255,.55)}
#fh-root.uirh-fleet .fh-photo-gallery .fh-prev svg,
#fh-root.uirh-fleet .fh-photo-gallery .fh-next svg{width:18px;height:18px;stroke-width:2}
#fh-root.uirh-fleet .fh-photo-gallery .fh-prev:hover,
#fh-root.uirh-fleet .fh-photo-gallery .fh-next:hover{color:#e5bf84;border-color:#e5bf84;background:rgba(8,21,32,.82)}
#fh-root.uirh-fleet .fh-photo-gallery .fh-prev:focus-visible,
#fh-root.uirh-fleet .fh-photo-gallery .fh-next:focus-visible{opacity:1;outline:2px solid #fff;outline-offset:2px}
@media(max-width:780px){
#fh-root.uirh-fleet .fh-photo-gallery .fh-prev,
#fh-root.uirh-fleet .fh-photo-gallery .fh-next{display:none}
}
@media(prefers-reduced-motion:reduce){
#fh-root.uirh-fleet .fh-photo-dot::after{transition:none}
#fh-root.uirh-fleet .fh-photo-wait::before{animation:none}
}
