/* WebXtent v0.8.19 — Developments gallery carousel acceptance correction.
 * Desktop contract: exactly four project-photo cards are visible at once.
 * Extra photos remain in the same rail and advance one image per click/swipe.
 * Gallery and project navigation use isolated Indalo neutral/light-glass material.
 */

/* The public project-detail CTA and its old route are retired in v0.8.19. */
.wxt-development-showcase__hero-cta,
.wxt-development-showcase__cta[data-wxt-showcase-detail]{display:none!important}

.wxt-development-showcase__hero-image{
  transition:opacity .24s ease,transform .42s cubic-bezier(.2,.7,.2,1);
  will-change:opacity,transform;
}
.wxt-development-showcase__hero-image.is-switching{opacity:.78;transform:scale(1.008)}

/* Photos heading + compact photo navigation. */
.wxt-development-showcase__project-carousel-label{
  display:flex;
  align-items:center;
  gap:10px;
}
.wxt-development-showcase__gallery-nav{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-left:4px;
}
.wxt-development-showcase button.wxt-development-gallery-toggle,
.wxt-development-showcase button.wxt-development-gallery-toggle:hover,
.wxt-development-showcase button.wxt-development-gallery-toggle:active,
.wxt-development-showcase button.wxt-development-gallery-toggle:focus,
.wxt-development-showcase button.wxt-development-gallery-toggle:focus-visible{
  -webkit-appearance:none!important;
  appearance:none!important;
  display:grid!important;
  place-items:center!important;
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  min-height:34px!important;
  padding:0!important;
  margin:0!important;
  border:1px solid rgba(255,255,255,.48)!important;
  border-radius:999px!important;
  background:
    radial-gradient(circle at 30% 16%,rgba(255,255,255,.22),transparent 42%),
    linear-gradient(145deg,rgba(255,255,255,.12),rgba(255,255,255,.045))!important;
  color:#f8f4ed!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 8px 22px rgba(0,0,0,.14)!important;
  outline:0!important;
  text-shadow:none!important;
  backdrop-filter:blur(16px) saturate(120%)!important;
  -webkit-backdrop-filter:blur(16px) saturate(120%)!important;
  transition:transform .18s ease,border-color .18s ease,background .18s ease!important;
}
.wxt-development-showcase button.wxt-development-gallery-toggle span{font-size:14px!important;line-height:1!important;color:inherit!important}
.wxt-development-showcase button.wxt-development-gallery-toggle:hover,
.wxt-development-showcase button.wxt-development-gallery-toggle:focus-visible{
  transform:translateY(-1px)!important;
  border-color:rgba(220,184,118,.84)!important;
  background:
    radial-gradient(circle at 30% 16%,rgba(255,255,255,.25),transparent 42%),
    linear-gradient(145deg,rgba(220,184,118,.16),rgba(255,255,255,.06))!important;
}
.wxt-development-showcase button.wxt-development-gallery-toggle:disabled,
.wxt-development-showcase button.wxt-development-gallery-toggle[aria-disabled="true"]{
  opacity:.30!important;
  cursor:default!important;
  transform:none!important;
  border-color:rgba(255,255,255,.26)!important;
}
.wxt-development-showcase button.wxt-development-gallery-toggle::before,
.wxt-development-showcase button.wxt-development-gallery-toggle::after{content:none!important;display:none!important}

/* Four-card viewport. No fifth card or partial pink-edged card is exposed. */
.wxt-development-showcase__project-track{
  --wxt-gallery-gap:12px;
  display:flex!important;
  align-items:flex-end!important;
  gap:var(--wxt-gallery-gap)!important;
  width:100%!important;
  min-height:220px!important;
  padding:10px 0 12px!important;
  margin:0!important;
  overflow-x:hidden!important;
  overflow-y:visible!important;
  scroll-behavior:smooth;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
  cursor:grab;
  touch-action:pan-y;
  outline:none!important;
}
.wxt-development-showcase__project-track::-webkit-scrollbar{display:none}
.wxt-development-showcase__project-track:active{cursor:grabbing}
.wxt-development-showcase__project-track:focus-visible{
  outline:1px solid rgba(220,184,118,.54)!important;
  outline-offset:6px!important;
  border-radius:16px;
}

.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{
  -webkit-appearance:none!important;
  appearance:none!important;
  position:relative!important;
  flex:0 0 calc((100% - (var(--wxt-gallery-gap) * 3)) / 4)!important;
  width:calc((100% - (var(--wxt-gallery-gap) * 3)) / 4)!important;
  min-width:0!important;
  min-height:210px!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  border:1px solid rgba(255,255,255,.42)!important;
  border-radius:14px!important;
  outline:0!important;
  background:rgba(239,244,244,.07)!important;
  color:#fff!important;
  box-shadow:
    0 16px 36px rgba(0,0,0,.26),
    inset 0 1px 0 rgba(255,255,255,.16)!important;
  text-shadow:none!important;
  transform:none!important;
  filter:none!important;
  scroll-snap-align:start;
  isolation:isolate;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease!important;
}
.wxt-development-showcase button.wxt-development-stack-card:nth-child(n){transform:none!important;margin-left:0!important}
.wxt-development-showcase button.wxt-development-stack-card:hover,
.wxt-development-showcase button.wxt-development-stack-card:focus-visible{
  transform:translateY(-3px)!important;
  border-color:rgba(255,255,255,.72)!important;
  box-shadow:0 20px 44px rgba(0,0,0,.31),inset 0 1px 0 rgba(255,255,255,.20)!important;
  z-index:4!important;
}
.wxt-development-showcase button.wxt-development-stack-card.is-active,
.wxt-development-showcase button.wxt-development-stack-card.is-active:hover,
.wxt-development-showcase button.wxt-development-stack-card.is-active:focus-visible,
.wxt-development-showcase button.wxt-development-stack-card[aria-current="true"]{
  transform:translateY(-5px)!important;
  border-color:rgba(220,184,118,.96)!important;
  box-shadow:
    0 22px 48px rgba(0,0,0,.34),
    0 0 0 1px rgba(220,184,118,.18),
    inset 0 1px 0 rgba(255,255,255,.18)!important;
  z-index:5!important;
}
.wxt-development-showcase button.wxt-development-stack-card::before,
.wxt-development-showcase button.wxt-development-stack-card::after{content:none!important;display:none!important}

/* Ensure no host/theme button fill or accent border can leak through the photo surface. */
.wxt-development-showcase .wxt-development-stack-card__media,
.wxt-development-showcase .wxt-development-stack-card__media img,
.wxt-development-showcase .wxt-development-stack-card__empty{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  outline:0!important;
}
.wxt-development-showcase .wxt-development-stack-card__media{z-index:0!important;background:#20252a!important}
.wxt-development-showcase .wxt-development-stack-card__media img{object-fit:cover!important;object-position:center!important}
.wxt-development-showcase .wxt-development-stack-card__empty{background:linear-gradient(145deg,#4a535b,#1c2227)!important}
.wxt-development-showcase .wxt-development-stack-card__overlay{z-index:1!important}
.wxt-development-showcase .wxt-development-stack-card__copy{z-index:2!important}
.wxt-development-showcase .wxt-development-stack-card__copy strong{font-size:.82rem!important;line-height:1.18!important}
.wxt-development-showcase .wxt-development-stack-card__copy small{font-size:.60rem!important;letter-spacing:.13em!important}
.wxt-development-showcase .wxt-development-stack-card__underline{background:#dcb876!important}

/* Keep project navigation materially separate from the photo rail. */
.wxt-development-showcase__project-nav-label{margin-left:4px}
.wxt-development-showcase__project-position{min-width:88px}

@media(max-width:1180px){
  .wxt-development-showcase__project-track{min-height:205px!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{min-height:192px!important}
}
@media(max-width:760px){
  .wxt-development-showcase__project-track{--wxt-gallery-gap:10px;min-height:190px!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-basis:calc((100% - var(--wxt-gallery-gap)) / 2)!important;
    width:calc((100% - var(--wxt-gallery-gap)) / 2)!important;
    min-height:178px!important;
  }
  .wxt-development-showcase__gallery-nav{gap:5px}
  .wxt-development-showcase button.wxt-development-gallery-toggle,
  .wxt-development-showcase button.wxt-development-gallery-toggle:hover,
  .wxt-development-showcase button.wxt-development-gallery-toggle:active,
  .wxt-development-showcase button.wxt-development-gallery-toggle:focus,
  .wxt-development-showcase button.wxt-development-gallery-toggle:focus-visible{
    width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  .wxt-development-showcase__hero-image,
  .wxt-development-showcase button.wxt-development-stack-card,
  .wxt-development-showcase button.wxt-development-gallery-toggle{transition:none!important}
  .wxt-development-showcase__project-track{scroll-behavior:auto}
}


/* v0.8.156 — slow-network project/photo transition feedback.
 * The pill is delayed in JS so cached/fast images do not flash a loader. */
.wxt-development-loading-status{
  position:absolute;
  left:50%;
  right:auto;
  bottom:clamp(92px,12vh,132px);
  z-index:12;
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:30px;
  padding:0 11px 0 9px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:999px;
  background:rgba(9,31,47,.54);
  color:rgba(255,255,255,.88);
  box-shadow:0 8px 24px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.12);
  backdrop-filter:blur(16px) saturate(125%);
  -webkit-backdrop-filter:blur(16px) saturate(125%);
  font:650 10px/1 var(--wxt-font-ui);
  letter-spacing:.035em;
  white-space:nowrap;
  pointer-events:none;
  opacity:0;
  transform:translate(-50%,4px);
  transition:opacity .16s ease,transform .16s ease;
}

.wxt-development-loading-status.is-visible{
  opacity:1;
  transform:translate(-50%,0);
}

.wxt-development-loading-status__spinner{
  width:10px;
  height:10px;
  flex:0 0 10px;
  border:1.5px solid rgba(255,255,255,.28);
  border-top-color:rgba(220,184,118,.95);
  border-radius:50%;
  animation:wxt-development-loading-spin .8s linear infinite;
}

@keyframes wxt-development-loading-spin{
  to{transform:rotate(360deg)}
}

@media(max-width:767px){
  .wxt-development-loading-status{
    left:50%;
    right:auto;
    bottom:92px;
  }
}

@media(prefers-reduced-motion:reduce){
  .wxt-development-loading-status{transition:none}
  .wxt-development-loading-status__spinner{animation:none}
}
