/* v0.1.99: mobile-only carousel for the v0.1.93+ homepage showcases.
   Card renderers, thumbnails, settings and desktop layout are untouched. */
.uw3d192-home .uw3d199-mobile-controls{display:none}
@media (max-width:760px) {
 .uw3d192-home .uw3d192-showcase.uw3d2-shell{width:calc(100% - 24px)!important;max-width:100%!important;grid-template-columns:minmax(0,1fr)!important;gap:14px!important;margin:0!important}
 .uw3d192-home .uw3d192-showcase__panel{height:auto!important;min-height:0!important;min-width:0!important;padding:13px 12px 15px!important}
 .uw3d192-home .uw3d192-showcase .uw3d193-collection{min-width:0!important;width:100%!important;max-width:100%!important;overflow:visible!important}
 .uw3d192-home .uw3d192-showcase .uw3d193-collection__header{min-height:34px!important;gap:8px!important;flex-wrap:wrap!important;margin-bottom:12px!important}
 .uw3d192-home .uw3d192-showcase .uw3d193-collection__header h2{font-size:var(--uw192-section-heading-mobile,17px)!important;max-width:100%}
 .uw3d192-home .uw3d192-showcase #featured-scans .uw3d195-dice{order:unset!important;width:auto!important;max-width:100%!important;margin:0!important;justify-content:center!important;gap:5px!important;padding:3px!important}
 .uw3d192-home .uw3d192-showcase #featured-scans .uw3d195-dice__shape{width:29px;height:29px}
 .uw3d192-home .uw3d192-showcase #featured-scans .uw3d195-dice__text{font-size:9px}
 .uw3d192-home .uw3d192-showcase .uw3d193-collection__viewport{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;flex:none!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x mandatory!important;scroll-padding-left:1px;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scrollbar-width:none!important;touch-action:pan-x pan-y;position:relative!important;padding:1px 0 4px!important;margin:0!important}
 .uw3d192-home .uw3d192-showcase .uw3d193-collection__viewport::-webkit-scrollbar{display:none}
 .uw3d192-home .uw3d192-showcase .uw3d193-collection__grid,
 .uw3d192-home .uw3d192-showcase #featured-scans .uw3d193-collection__grid,
 .uw3d192-home .uw3d192-showcase #featured-sites .uw3d193-collection__grid{
    display:flex!important;flex-flow:row nowrap!important;grid-template:none!important;grid-template-columns:none!important;grid-template-rows:none!important;
    gap:var(--uw3d199-gap,12px)!important;align-items:stretch!important;
    width:100%!important;min-width:100%!important;max-width:none!important;margin:0!important;padding:0!important;
 }
 .uw3d192-home .uw3d192-showcase .uw3d193-collection__grid>article,
 .uw3d192-home .uw3d192-showcase .uw3d193-collection__grid>article:first-child,
 .uw3d192-home .uw3d192-showcase .uw3d193-collection__grid>article:nth-child(2),
 .uw3d192-home .uw3d192-showcase .uw3d193-collection__grid>article:nth-child(3){
    display:flex!important;flex-direction:column!important;grid-column:auto!important;grid-row:auto!important;
    flex:0 0 var(--uw3d199-card-width,100%)!important;width:var(--uw3d199-card-width,100%)!important;
    max-width:var(--uw3d199-card-width,100%)!important;height:auto!important;min-height:0!important;max-height:none!important;
    margin:0!important;scroll-snap-align:start!important;scroll-snap-stop:always;overflow:hidden!important;
 }
 .uw3d192-home .uw3d192-showcase .uw3d193-collection__grid>article[hidden]{display:none!important}
 .uw3d192-home .uw3d192-showcase .uw3d193-collection__grid>article .uw3d2-card__media,
 .uw3d192-home .uw3d192-showcase .uw3d193-collection__grid>article .uw3d2-site-card__image{
    position:relative!important;display:block!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;
    aspect-ratio:16/9!important;flex:0 0 auto!important;border-right:0!important;border-bottom:1px solid #185469!important;
    border-radius:5px 5px 0 0!important;background:radial-gradient(ellipse at center,#0a3a49,#03131d 85%)!important;overflow:hidden!important;
 }
 .uw3d192-home .uw3d192-showcase .uw3d193-collection__grid>article .uw3d2-card__media-link{display:block!important;width:100%!important;height:100%!important;position:absolute!important;inset:0!important}
 .uw3d192-home .uw3d192-showcase .uw3d193-collection__grid>article .uw3d2-card__media img,
 .uw3d192-home .uw3d192-showcase .uw3d193-collection__grid>article .uw3d2-card__media-link img,
 .uw3d192-home .uw3d192-showcase .uw3d193-collection__grid>article .uw3d2-site-card__image img{
    position:absolute!important;inset:0!important;top:0!important;left:0!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;
    object-fit:contain!important;object-position:center!important;transform:none!important;
 }
 .uw3d192-home .uw3d192-showcase .uw3d193-collection__grid>article .uw3d2-card__body,
 .uw3d192-home .uw3d192-showcase .uw3d193-collection__grid>article .uw3d2-site-card__body{
    display:flex!important;flex-direction:column!important;justify-content:flex-start!important;gap:8px!important;flex:1 1 auto!important;
    min-height:0!important;max-height:none!important;overflow:visible!important;width:100%!important;padding:14px!important;
 }
 .uw3d192-home .uw3d192-showcase .uw3d193-collection__grid>article h3{font-size:clamp(15px,4.5vw,19px)!important;line-height:1.28!important;margin:0!important;hyphens:auto}
 .uw3d192-home .uw3d192-showcase .uw3d193-collection__grid>article .uw3d2-card__location,
 .uw3d192-home .uw3d192-showcase .uw3d193-collection__grid>article .uw3d2-site-card__location{font-size:12px!important;line-height:1.4!important;min-height:0!important;margin:0!important;overflow-wrap:anywhere}
 /* Keep only the depth statistic for scan cards on MOBILE.
    The source DOM always contains Photos, Bottom Time / Dives, Depth in that order.
    Custom icon, value, approximate-prefix and location are retained. */
 .uw3d192-home .uw3d192-showcase #featured-scans .uw3d2-card__metrics{
    display:flex!important;flex-flow:row nowrap!important;grid-template-columns:none!important;order:0!important;
    margin:4px 0 9px!important;padding:10px 0!important;min-height:0!important;border-top:1px solid #194e62!important;border-bottom:0!important;
 }
 .uw3d192-home .uw3d192-showcase #featured-scans .uw3d2-card__metrics>.uw3d2-card__metric:nth-child(-n+2){display:none!important}
 .uw3d192-home .uw3d192-showcase #featured-scans .uw3d2-card__metrics>.uw3d2-card__metric:nth-child(3){display:flex!important;flex-direction:row!important;align-items:center!important;gap:12px!important;order:0!important;width:100%!important;max-width:100%!important;flex-wrap:wrap!important;border:0!important;padding:0!important;margin:0!important}
 .uw3d192-home .uw3d192-showcase #featured-scans .uw3d2-card__metric:nth-child(3) small{font-size:11px!important;font-weight:700;line-height:1.3!important}
 .uw3d192-home .uw3d192-showcase #featured-scans .uw3d2-card__metric:nth-child(3) b{font-size:14px!important;line-height:1.3!important;white-space:normal}
 .uw3d192-home .uw3d192-showcase #featured-scans .uw3d2-card__metric:nth-child(3) svg{width:17px!important;height:17px!important;max-width:17px!important;max-height:17px!important}
 .uw3d192-home .uw3d192-showcase #featured-scans .uw3d2-card__actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;margin-top:auto!important;min-width:0!important}
 .uw3d192-home .uw3d192-showcase #featured-scans .uw3d2-card__button{display:flex!important;min-height:42px!important;align-items:center!important;justify-content:center!important;font-size:11px!important;padding:10px 8px!important}
 .uw3d192-home .uw3d192-showcase #featured-sites .uw3d2-site-card__stats{display:flex!important;flex-wrap:wrap!important;flex-direction:row!important;gap:10px 12px!important;margin:4px 0 9px!important;min-height:0!important;padding:10px 0!important}
 .uw3d192-home .uw3d192-showcase #featured-sites .uw3d2-site-card__stat,
 .uw3d192-home .uw3d192-showcase #featured-sites .uw3d2-site-card__stat small{font-size:11px!important;line-height:1.35!important}
 .uw3d192-home .uw3d192-showcase #featured-sites .uw3d2-site-card__cta{width:100%!important;min-height:43px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;margin-top:auto!important;padding:9px 11px!important;font-size:11px!important}
 /* Swipe controls are responsive, keyboard-focusable and visible only on mobile. */
 .uw3d192-home .uw3d199-mobile-controls{display:flex!important;justify-content:space-between;align-items:center;gap:14px;min-height:44px;margin:11px 0 4px}
 .uw3d192-home .uw3d199-mobile-controls[hidden]{display:none!important}
 .uw3d192-home .uw3d199-arrow{border:1px solid #168ca1!important;background:#062b38!important;color:#00edfa!important;border-radius:5px!important;width:42px;height:40px;padding:8px;display:grid;place-items:center;cursor:pointer;transition:background .18s,border-color .18s}
 .uw3d192-home .uw3d199-arrow svg{width:21px;height:21px;stroke:currentColor;stroke-width:2;fill:none}
 .uw3d192-home .uw3d199-arrow:hover,.uw3d192-home .uw3d199-arrow:focus-visible{background:#094456!important;border-color:#00eaff!important;outline-offset:2px}
 .uw3d192-home .uw3d199-arrow:disabled{opacity:.3;cursor:default}
 .uw3d192-home .uw3d199-dots{display:flex;align-items:center;justify-content:center;gap:9px;flex:1;min-height:18px}
 .uw3d192-home .uw3d199-dot{width:10px;height:10px;flex:none;padding:0;border-radius:50%;background:#062a38;border:1px solid #14bacc;cursor:pointer}
 .uw3d192-home .uw3d199-dot[aria-current="true"]{background:#00f1fe;box-shadow:0 0 9px #00f1fe99}
 .uw3d192-home .uw3d199-mobile-controls--no-arrows .uw3d199-arrow{display:none!important}
 .uw3d192-home .uw3d199-mobile-controls--no-dots .uw3d199-dots{display:none!important}
 .uw3d192-home .uw3d193-collection__top-cta.uw3d199-cta-mobile{display:flex!important;justify-content:center!important;align-items:center!important;margin:8px 0 0!important;width:100%!important}
 .uw3d192-home .uw3d193-collection__top-cta.uw3d199-cta-mobile:empty{display:none!important}
 .uw3d192-home .uw3d193-collection__top-cta.uw3d199-cta-mobile .uw3d193-button{width:auto!important;min-width:155px!important;min-height:42px!important;font-size:var(--uw193-font-mobile,11px)!important}
 /* Avoid horizontal overflow from any inherited large-screen card controls. */
 .uw3d192-home .uw3d193-collection__grid>article .uw3d2-card__category{left:9px!important;top:9px!important;max-width:calc(100% - 18px)!important}
 .uw3d192-home .uw3d193-collection__grid>article .uw3d2-site-card__badges{left:9px!important;right:9px!important;top:9px!important}
}
@media (max-width:380px){
 .uw3d192-home .uw3d192-showcase .uw3d193-collection__grid>article .uw3d2-card__body,
 .uw3d192-home .uw3d192-showcase .uw3d193-collection__grid>article .uw3d2-site-card__body{padding:12px!important}
 .uw3d192-home .uw3d192-showcase #featured-scans .uw3d2-card__actions{gap:6px!important}
}
@media (prefers-reduced-motion:reduce){.uw3d192-home .uw3d199-arrow{transition:none!important}}

/* v0.1.100 — mobile order: scans first, sites second; desktop unchanged. */
@media(max-width:760px){
 .uw3d192-home .uw3d192-showcase__panel:has(#featured-scans){order:-1}
 .uw3d192-home .uw3d192-showcase__panel:has(#featured-sites){order:0}
}
