/*
 * WebXtent v0.8.66 — Developments touch project navigation.
 *
 * Touch widths use the project-name wheel itself as the primary project switcher.
 * Existing v0.8.20 vertical swipe logic remains canonical. This layer improves
 * discoverability/tap affordance and removes the detached project chevrons from
 * tablet/phone only when that touch wheel is available.
 */

@media (max-width:1024px){
  .wxt-development-showcase.has-touch-project-nav .wxt-development-project-wheel{
    position:relative!important;
    cursor:ns-resize!important;
    touch-action:pan-x!important;
    overscroll-behavior:contain!important;
    -webkit-user-select:none!important;
    user-select:none!important;
  }

  .wxt-development-showcase.has-touch-project-nav .wxt-development-project-wheel__item--previous,
  .wxt-development-showcase.has-touch-project-nav .wxt-development-project-wheel__item--next{
    position:relative!important;
    z-index:5!important;
    cursor:pointer!important;
    pointer-events:auto!important;
    -webkit-tap-highlight-color:transparent;
  }

  .wxt-development-showcase.has-touch-project-nav .wxt-development-project-wheel__item--previous:focus-visible,
  .wxt-development-showcase.has-touch-project-nav .wxt-development-project-wheel__item--next:focus-visible{
    outline:1px solid rgba(222,181,94,.78)!important;
    outline-offset:5px!important;
    border-radius:6px!important;
  }

  /* The project arrows are redundant on touch widths once heading tap/swipe is
   * active. Keep the middle gallery-visibility control, but move it beside PHOTOS. */
  .wxt-development-showcase.has-touch-project-nav .wxt-development-showcase__project-carousel-label-core{
    padding-right:44px!important;
  }

  .wxt-development-showcase.has-touch-project-nav .wxt-development-project-wheel__dock{
    left:calc(100% + 8px)!important;
    top:50%!important;
    width:34px!important;
    height:34px!important;
    transform:translateY(-50%)!important;
    overflow:visible!important;
  }

  .wxt-development-showcase.has-touch-project-nav .wxt-development-project-wheel__dock .wxt-development-project-wheel__chevron{
    display:none!important;
  }

  .wxt-development-showcase.has-touch-project-nav .wxt-development-project-wheel__dock button.wxt-development-gallery-visibility-toggle,
  .wxt-development-showcase.has-touch-project-nav .wxt-development-project-wheel__dock button.wxt-development-gallery-visibility-toggle:hover,
  .wxt-development-showcase.has-touch-project-nav .wxt-development-project-wheel__dock button.wxt-development-gallery-visibility-toggle:active,
  .wxt-development-showcase.has-touch-project-nav .wxt-development-project-wheel__dock button.wxt-development-gallery-visibility-toggle:focus,
  .wxt-development-showcase.has-touch-project-nav .wxt-development-project-wheel__dock button.wxt-development-gallery-visibility-toggle:focus-visible{
    width:30px!important;
    height:30px!important;
    min-width:30px!important;
    min-height:30px!important;
  }

  .wxt-development-project-wheel__gesture-hint{
    position:absolute;
    left:0;
    top:2px;
    z-index:6;
    display:inline-flex;
    align-items:center;
    gap:7px;
    padding:5px 9px 5px 7px;
    border:1px solid rgba(255,255,255,.12);
    border-radius:999px;
    background:rgba(8,13,18,.24);
    color:rgba(248,244,237,.62);
    font:650 .58rem/1 var(--wxt-font-ui);
    letter-spacing:.12em;
    text-transform:uppercase;
    white-space:nowrap;
    pointer-events:none;
    opacity:0;
    transform:translate3d(0,5px,0);
    backdrop-filter:blur(10px) saturate(112%);
    -webkit-backdrop-filter:blur(10px) saturate(112%);
  }

  .wxt-development-project-wheel__gesture-hint-icon{
    display:inline-grid;
    place-items:center;
    width:16px;
    height:16px;
    border-radius:999px;
    background:rgba(222,181,94,.12);
    color:#e3b85f;
    font-size:.82rem;
    line-height:1;
  }

  .wxt-development-showcase.has-touch-project-nav.has-project-swipe-hint .wxt-development-project-wheel__gesture-hint{
    animation:wxt-development-project-swipe-hint 1.12s cubic-bezier(.22,.7,.2,1) 0s 3 both;
  }
}

@keyframes wxt-development-project-swipe-hint{
  0%{opacity:0;transform:translate3d(0,6px,0)}
  18%{opacity:.72}
  50%{opacity:.72;transform:translate3d(0,-4px,0)}
  82%{opacity:.72}
  100%{opacity:0;transform:translate3d(0,6px,0)}
}

@media (prefers-reduced-motion:reduce){
  .wxt-development-project-wheel__gesture-hint{display:none!important;animation:none!important}
}
