/*
 * WebXtent v0.8.78 — Developments gallery usability dock.
 *
 * Presentation-only refinement over the existing canonical project/gallery
 * runtime. The gallery becomes a discoverable glass filmstrip with a visible
 * docked header and deliberate 4 / 3 / 2-card responsive composition.
 */

.wxt-development-showcase .wxt-development-showcase__project-carousel{
  left:var(--wxt-dev-gutter)!important;
  right:var(--wxt-dev-gutter)!important;
  bottom:clamp(14px,2.2vh,24px)!important;
  display:grid!important;
  gap:10px!important;
  padding:12px 14px 14px!important;
  border:1px solid rgba(255,255,255,.18)!important;
  border-radius:26px!important;
  background:
    radial-gradient(circle at 14% 0%,rgba(255,255,255,.13),transparent 34%),
    linear-gradient(145deg,rgba(10,17,24,.72),rgba(8,13,18,.56))!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    0 22px 54px rgba(0,0,0,.24)!important;
  backdrop-filter:blur(24px) saturate(122%)!important;
  -webkit-backdrop-filter:blur(24px) saturate(122%)!important;
  overflow:visible!important;
}

.wxt-development-showcase .wxt-development-showcase__project-carousel-contrast{
  display:none!important;
}

.wxt-development-showcase .wxt-development-showcase__project-carousel-bar{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:16px!important;
  min-height:48px!important;
  padding:0!important;
}

.wxt-development-showcase .wxt-development-showcase__project-carousel-label,
.wxt-development-showcase .wxt-development-showcase__project-carousel-label-core{
  display:flex!important;
  align-items:center!important;
  min-width:0!important;
}

.wxt-development-showcase .wxt-development-showcase__project-carousel-label{
  gap:10px!important;
}

.wxt-development-showcase .wxt-development-showcase__project-carousel-label-core{
  gap:12px!important;
}

.wxt-development-showcase .wxt-development-showcase__project-carousel-accent{
  width:38px!important;
  flex:0 0 38px!important;
}

.wxt-development-showcase .wxt-development-showcase__project-carousel-label-text{
  font-size:.72rem!important;
  font-weight:700!important;
  letter-spacing:.18em!important;
  white-space:nowrap!important;
}

.wxt-development-showcase .wxt-development-project-wheel__dock{
  position:relative!important;
  inset:auto!important;
  left:auto!important;
  top:auto!important;
  width:auto!important;
  height:36px!important;
  transform:none!important;
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  padding:3px!important;
  border:1px solid rgba(255,255,255,.10)!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.045)!important;
  pointer-events:auto!important;
}

.wxt-development-showcase .wxt-development-project-wheel__dock button.wxt-development-project-wheel__chevron,
.wxt-development-showcase .wxt-development-project-wheel__dock button.wxt-development-project-wheel__chevron:hover,
.wxt-development-showcase .wxt-development-project-wheel__dock button.wxt-development-project-wheel__chevron:active,
.wxt-development-showcase .wxt-development-project-wheel__dock button.wxt-development-project-wheel__chevron:focus,
.wxt-development-showcase .wxt-development-project-wheel__dock button.wxt-development-project-wheel__chevron:focus-visible,
.wxt-development-showcase .wxt-development-project-wheel__dock button.wxt-development-gallery-visibility-toggle,
.wxt-development-showcase .wxt-development-project-wheel__dock button.wxt-development-gallery-visibility-toggle:hover,
.wxt-development-showcase .wxt-development-project-wheel__dock button.wxt-development-gallery-visibility-toggle:active,
.wxt-development-showcase .wxt-development-project-wheel__dock button.wxt-development-gallery-visibility-toggle:focus,
.wxt-development-showcase .wxt-development-project-wheel__dock button.wxt-development-gallery-visibility-toggle:focus-visible{
  position:relative!important;
  inset:auto!important;
  left:auto!important;
  top:auto!important;
  width:28px!important;
  height:28px!important;
  min-width:28px!important;
  min-height:28px!important;
  margin:0!important;
  transform:none!important;
  border-color:transparent!important;
  background:transparent!important;
  box-shadow:none!important;
}

.wxt-development-showcase .wxt-development-project-wheel__dock button.wxt-development-project-wheel__chevron:hover,
.wxt-development-showcase .wxt-development-project-wheel__dock button.wxt-development-project-wheel__chevron:focus-visible,
.wxt-development-showcase .wxt-development-project-wheel__dock button.wxt-development-gallery-visibility-toggle:hover,
.wxt-development-showcase .wxt-development-project-wheel__dock button.wxt-development-gallery-visibility-toggle:focus-visible{
  border-color:rgba(217,173,89,.42)!important;
  background:rgba(255,255,255,.075)!important;
}

.wxt-development-showcase .wxt-development-showcase__project-carousel-nav{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  width:auto!important;
  min-width:0!important;
}

.wxt-development-showcase .wxt-development-showcase__project-carousel-line{
  width:clamp(28px,4vw,64px)!important;
  min-width:28px!important;
  opacity:.58!important;
}

.wxt-development-showcase .wxt-development-showcase__project-status{
  display:inline-flex!important;
  align-items:center!important;
  min-height:28px!important;
  max-width:18ch!important;
  padding:0 10px!important;
  overflow:hidden!important;
  border:1px solid rgba(255,255,255,.10)!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.045)!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

.wxt-development-showcase .wxt-development-showcase__project-status:before{
  width:5px!important;
  height:5px!important;
  margin-right:7px!important;
  border-radius:999px!important;
}

.wxt-development-showcase button.wxt-development-carousel-toggle,
.wxt-development-showcase button.wxt-development-carousel-toggle:hover,
.wxt-development-showcase button.wxt-development-carousel-toggle:active,
.wxt-development-showcase button.wxt-development-carousel-toggle:focus,
.wxt-development-showcase button.wxt-development-carousel-toggle:focus-visible{
  width:36px!important;
  height:36px!important;
  min-width:36px!important;
  min-height:36px!important;
  border:1px solid rgba(255,255,255,.16)!important;
  background:rgba(255,255,255,.055)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08)!important;
}

.wxt-development-showcase button.wxt-development-carousel-toggle:hover,
.wxt-development-showcase button.wxt-development-carousel-toggle:focus-visible{
  border-color:rgba(217,173,89,.62)!important;
  background:rgba(255,255,255,.09)!important;
}

.wxt-development-showcase .wxt-development-showcase__project-position{
  min-width:64px!important;
  margin:0 2px!important;
  font-size:1.12rem!important;
  font-variant-numeric:tabular-nums!important;
  letter-spacing:.03em!important;
}

.wxt-development-showcase .wxt-development-showcase__project-track{
  display:flex!important;
  gap:12px!important;
  min-height:0!important;
  padding:0 1px 1px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scroll-snap-type:x mandatory!important;
  scroll-padding-inline:1px!important;
  scrollbar-width:none!important;
  overscroll-behavior-x:contain!important;
  -webkit-overflow-scrolling:touch!important;
}

.wxt-development-showcase .wxt-development-showcase__project-track::-webkit-scrollbar{
  display:none!important;
}

.wxt-development-showcase button.wxt-development-stack-card,
.wxt-development-showcase button.wxt-development-stack-card:hover,
.wxt-development-showcase button.wxt-development-stack-card:active,
.wxt-development-showcase button.wxt-development-stack-card:focus,
.wxt-development-showcase button.wxt-development-stack-card:focus-visible{
  flex:0 0 calc((100% - 36px) / 4)!important;
  width:calc((100% - 36px) / 4)!important;
  min-height:clamp(142px,14vw,184px)!important;
  height:clamp(142px,14vw,184px)!important;
  scroll-snap-align:start!important;
  scroll-snap-stop:always!important;
  border:1px solid rgba(255,255,255,.13)!important;
  border-radius:16px!important;
  opacity:.76!important;
  box-shadow:0 10px 24px rgba(0,0,0,.16)!important;
  transition:opacity .22s ease,border-color .22s ease,box-shadow .22s ease,filter .22s ease!important;
}

.wxt-development-showcase button.wxt-development-stack-card:hover,
.wxt-development-showcase button.wxt-development-stack-card:focus-visible{
  opacity:1!important;
  border-color:rgba(255,255,255,.34)!important;
  box-shadow:0 14px 32px rgba(0,0,0,.23)!important;
}

.wxt-development-showcase button.wxt-development-stack-card.is-active,
.wxt-development-showcase button.wxt-development-stack-card[aria-current="true"]{
  opacity:1!important;
  border-color:rgba(217,173,89,.88)!important;
  box-shadow:
    0 0 0 2px rgba(217,173,89,.20),
    0 16px 34px rgba(0,0,0,.26)!important;
  filter:saturate(1.04) contrast(1.02)!important;
}

.wxt-development-showcase .wxt-development-stack-card__overlay{
  background:linear-gradient(180deg,rgba(4,8,12,.02) 20%,rgba(4,8,12,.22) 58%,rgba(4,8,12,.78) 100%)!important;
}

.wxt-development-showcase .wxt-development-stack-card__copy{
  left:14px!important;
  right:14px!important;
  bottom:12px!important;
  gap:4px!important;
}

.wxt-development-showcase .wxt-development-stack-card__copy small{
  font-size:.55rem!important;
  letter-spacing:.13em!important;
  opacity:.72!important;
}

.wxt-development-showcase .wxt-development-stack-card__copy strong{
  display:-webkit-box!important;
  overflow:hidden!important;
  font-size:.79rem!important;
  line-height:1.18!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
}

/* Docking remains owned by the established v0.8.23 JS state. The visual
 * consequence changes: keep the complete header exposed instead of making the
 * gallery undiscoverable below the viewport. */
.wxt-development-showcase.is-gallery-idle .wxt-development-showcase__project-carousel{
  transform:translate3d(0,calc(100% - 62px),0)!important;
  opacity:1!important;
  pointer-events:auto!important;
}

.wxt-development-showcase.is-gallery-idle .wxt-development-showcase__project-carousel-bar{
  cursor:n-resize!important;
}

.wxt-development-showcase.is-gallery-idle .wxt-development-showcase__project-track{
  opacity:.18!important;
  pointer-events:none!important;
}

.wxt-development-showcase.is-gallery-active .wxt-development-showcase__project-track{
  opacity:1!important;
  pointer-events:auto!important;
}

.wxt-development-showcase .wxt-development-gallery-reveal-zone{
  display:none!important;
}

/* Manual collapse is still a distinct explicit user state. Keep its surviving
 * control header on canvas rather than reapplying automatic docking. */
.wxt-development-showcase.is-gallery-manual-collapsed .wxt-development-showcase__project-carousel,
.wxt-development-showcase.is-gallery-manual-collapsed.is-gallery-idle .wxt-development-showcase__project-carousel,
.wxt-development-showcase.is-gallery-manual-collapsed.is-gallery-active .wxt-development-showcase__project-carousel{
  transform:translate3d(0,0,0)!important;
  opacity:1!important;
  pointer-events:auto!important;
}

@media (min-width:768px) and (max-width:1024px){
  .wxt-development-showcase .wxt-development-showcase__project-carousel{
    left:var(--wxt-dev-gutter)!important;
    right:var(--wxt-dev-gutter)!important;
    padding:10px 12px 12px!important;
    border-radius:22px!important;
  }

  .wxt-development-showcase .wxt-development-showcase__project-carousel-bar{
    gap:12px!important;
  }

  .wxt-development-showcase .wxt-development-showcase__project-status{
    max-width:13ch!important;
  }

  .wxt-development-showcase .wxt-development-showcase__project-carousel-line{
    display:none!important;
  }

  .wxt-development-showcase button.wxt-development-stack-card,
  .wxt-development-showcase button.wxt-development-stack-card:hover,
  .wxt-development-showcase button.wxt-development-stack-card:active,
  .wxt-development-showcase button.wxt-development-stack-card:focus,
  .wxt-development-showcase button.wxt-development-stack-card:focus-visible{
    flex:0 0 calc((100% - 20px) / 3)!important;
    width:calc((100% - 20px) / 3)!important;
    min-height:154px!important;
    height:154px!important;
  }
}

@media (max-width:767px){
  .wxt-development-showcase .wxt-development-showcase__project-carousel{
    left:var(--wxt-dev-mobile-gutter,16px)!important;
    right:var(--wxt-dev-mobile-gutter,16px)!important;
    bottom:var(--wxt-dev-mobile-gallery-bottom,14px)!important;
    gap:8px!important;
    padding:10px!important;
    border-radius:20px!important;
    background:
      radial-gradient(circle at 12% 0%,rgba(255,255,255,.14),transparent 32%),
      linear-gradient(150deg,rgba(10,17,24,.80),rgba(8,13,18,.66))!important;
  }

  .wxt-development-showcase .wxt-development-showcase__project-carousel-bar{
    grid-template-columns:1fr!important;
    gap:8px!important;
    min-height:0!important;
  }

  .wxt-development-showcase .wxt-development-showcase__project-carousel-label{
    justify-content:space-between!important;
  }

  .wxt-development-showcase .wxt-development-showcase__project-carousel-label-core{
    flex:1 1 auto!important;
    justify-content:space-between!important;
    gap:8px!important;
  }

  .wxt-development-showcase .wxt-development-showcase__project-carousel-accent{
    width:24px!important;
    flex-basis:24px!important;
  }

  .wxt-development-showcase .wxt-development-showcase__project-carousel-label-text{
    font-size:.64rem!important;
    letter-spacing:.16em!important;
  }

  .wxt-development-showcase .wxt-development-project-wheel__dock{
    height:34px!important;
    gap:4px!important;
  }

  .wxt-development-showcase .wxt-development-showcase__project-carousel-nav{
    width:100%!important;
    justify-content:space-between!important;
    gap:6px!important;
  }

  .wxt-development-showcase .wxt-development-showcase__project-carousel-line,
  .wxt-development-showcase .wxt-development-showcase__project-status{
    display:none!important;
  }

  .wxt-development-showcase button.wxt-development-carousel-toggle,
  .wxt-development-showcase button.wxt-development-carousel-toggle:hover,
  .wxt-development-showcase button.wxt-development-carousel-toggle:active,
  .wxt-development-showcase button.wxt-development-carousel-toggle:focus,
  .wxt-development-showcase button.wxt-development-carousel-toggle:focus-visible{
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    min-height:34px!important;
  }

  .wxt-development-showcase .wxt-development-showcase__project-position{
    min-width:58px!important;
    font-size:1rem!important;
  }

  .wxt-development-showcase .wxt-development-files-toggle__label{
    display:none!important;
  }

  .wxt-development-showcase .wxt-development-showcase__project-track{
    gap:var(--wxt-dev-mobile-gallery-gap,8px)!important;
  }

  .wxt-development-showcase button.wxt-development-stack-card,
  .wxt-development-showcase button.wxt-development-stack-card:hover,
  .wxt-development-showcase button.wxt-development-stack-card:active,
  .wxt-development-showcase button.wxt-development-stack-card:focus,
  .wxt-development-showcase button.wxt-development-stack-card:focus-visible{
    flex:0 0 calc((100% - var(--wxt-dev-mobile-gallery-gap,8px)) / 2)!important;
    width:calc((100% - var(--wxt-dev-mobile-gallery-gap,8px)) / 2)!important;
    min-height:var(--wxt-dev-mobile-gallery-card-height,148px)!important;
    height:var(--wxt-dev-mobile-gallery-card-height,148px)!important;
    border-radius:14px!important;
  }

  /* Touch-first phone layouts never lose the gallery to an idle timer. */
  .wxt-development-showcase.is-gallery-idle .wxt-development-showcase__project-carousel{
    transform:translate3d(0,0,0)!important;
    opacity:1!important;
    pointer-events:auto!important;
  }

  .wxt-development-showcase.is-gallery-idle .wxt-development-showcase__project-track{
    opacity:1!important;
    pointer-events:auto!important;
  }
}

@media (max-width:380px){
  .wxt-development-showcase .wxt-development-showcase__project-carousel-label-text{
    font-size:.59rem!important;
  }

  .wxt-development-showcase .wxt-development-project-wheel__dock{
    gap:2px!important;
    padding:2px!important;
  }

  .wxt-development-showcase .wxt-development-project-wheel__dock button.wxt-development-project-wheel__chevron,
  .wxt-development-showcase .wxt-development-project-wheel__dock button.wxt-development-gallery-visibility-toggle{
    width:26px!important;
    height:26px!important;
    min-width:26px!important;
    min-height:26px!important;
  }
}

@media (prefers-reduced-motion:reduce){
  .wxt-development-showcase .wxt-development-showcase__project-carousel,
  .wxt-development-showcase button.wxt-development-stack-card{
    transition:none!important;
  }
}

@media (prefers-reduced-transparency:reduce){
  .wxt-development-showcase .wxt-development-showcase__project-carousel{
    background:rgba(8,13,18,.92)!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }
}
