/* WebXtent v0.8.25 — manual gallery compact mode.
 * The tiny centre control hides/reveals only the thumbnail rail. Project/photo
 * navigation stays on-canvas in a compact lower dock and remains fully usable.
 * This manual state is intentionally independent from the existing 4s auto-dock.
 */

/* Centre the new visibility control between the existing project up/down controls. */
.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{
  -webkit-appearance:none!important;
  appearance:none!important;
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  z-index:13!important;
  display:grid!important;
  place-items:center!important;
  width:25px!important;
  height:25px!important;
  min-width:25px!important;
  min-height:25px!important;
  padding:0!important;
  margin:0!important;
  transform:translate(-50%,-50%)!important;
  border:1px solid rgba(255,255,255,.26)!important;
  border-radius:999px!important;
  background:
    radial-gradient(circle at 30% 18%,rgba(255,255,255,.16),transparent 43%),
    linear-gradient(145deg,rgba(255,255,255,.065),rgba(255,255,255,.018))!important;
  color:rgba(249,246,240,.70)!important;
  outline:0!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 7px 18px rgba(0,0,0,.13)!important;
  cursor:pointer!important;
  pointer-events:auto!important;
  backdrop-filter:blur(13px) saturate(114%)!important;
  -webkit-backdrop-filter:blur(13px) saturate(114%)!important;
  transition:border-color .18s ease,color .18s ease,background .18s ease,box-shadow .18s ease!important;
}
.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(220,184,118,.72)!important;
  color:#fff!important;
  background:
    radial-gradient(circle at 30% 18%,rgba(255,255,255,.20),transparent 43%),
    linear-gradient(145deg,rgba(220,184,118,.10),rgba(255,255,255,.025))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.13),0 9px 22px rgba(0,0,0,.16)!important;
}
.wxt-development-gallery-visibility-toggle svg{
  width:14px!important;
  height:14px!important;
  overflow:visible!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.55!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  transition:transform .28s cubic-bezier(.2,.72,.2,1)!important;
}
.wxt-development-showcase.is-gallery-manual-collapsed .wxt-development-gallery-visibility-toggle svg{
  transform:rotate(180deg)!important;
}

/* Give the thumbnail rail a real collapsible box so only the cards disappear. */
.wxt-development-showcase__project-track{
  max-height:360px;
  opacity:1;
  visibility:visible;
  transform:translate3d(0,0,0);
  transform-origin:center top;
  transition:max-height .42s cubic-bezier(.2,.72,.2,1),opacity .24s ease,transform .42s cubic-bezier(.2,.72,.2,1),margin .42s cubic-bezier(.2,.72,.2,1),padding .42s cubic-bezier(.2,.72,.2,1)!important;
}
.wxt-development-showcase.is-gallery-manual-collapsed .wxt-development-showcase__project-track,
.wxt-development-showcase.is-gallery-manual-collapsed.is-gallery-idle .wxt-development-showcase__project-track,
.wxt-development-showcase.is-gallery-manual-collapsed.is-gallery-active .wxt-development-showcase__project-track{
  max-height:0!important;
  margin-top:-12px!important;
  padding-top:0!important;
  padding-bottom:0!important;
  opacity:0!important;
  visibility:hidden!important;
  transform:translate3d(0,24px,0)!important;
  overflow:hidden!important;
  pointer-events:none!important;
}

/* Manual compact mode keeps the complete navigation bar on-canvas. It overrides
 * the automatic full off-screen dock while manual collapse is engaged. */
.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,clamp(18px,2.8vh,32px),0)!important;
  opacity:1!important;
  pointer-events:auto!important;
  filter:none!important;
  gap:0!important;
}
.wxt-development-showcase.is-gallery-manual-collapsed .wxt-development-showcase__project-carousel-bar{
  cursor:default!important;
}
.wxt-development-showcase.is-gallery-manual-collapsed .wxt-development-gallery-reveal-zone{
  opacity:0!important;
  pointer-events:none!important;
}

/* The compact dock remains calm and intentional instead of looking like an
 * orphaned toolbar after the image cards collapse. */
.wxt-development-showcase.is-gallery-manual-collapsed .wxt-development-showcase__project-carousel-bar{
  min-height:52px!important;
  padding-block:4px!important;
}
.wxt-development-showcase.is-gallery-manual-collapsed .wxt-development-showcase__project-carousel-line{
  opacity:.72!important;
}

@media(max-width:900px){
  .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{
    width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;
  }
  .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,20px,0)!important;
  }
}
@media(max-width:640px){
  .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,14px,0)!important;
  }
}
@media(prefers-reduced-motion:reduce){
  .wxt-development-showcase__project-track,
  .wxt-development-gallery-visibility-toggle svg{transition:none!important}
}
