/*
 * WebXtent v0.8.84 — Developments mobile stage trim + gallery material parity.
 *
 * Phone-only visual refinement over the v0.8.83 locked explorer.
 * The hero is trimmed from the viewport by an authorable value (default 20px),
 * and the mobile gallery adopts the accepted desktop/tablet glass language.
 */

@media (max-width:767px){

  html.wxt-developments-mobile-viewport body.wxt-scene-developments .wxt-development-showcase__hero{
    height:calc(100dvh - var(--wxt-dev-mobile-viewport-trim,20px))!important;
    min-height:calc(100dvh - var(--wxt-dev-mobile-viewport-trim,20px))!important;
    max-height:calc(100dvh - var(--wxt-dev-mobile-viewport-trim,20px))!important;
    border-radius:0 0 22px 22px!important;
  }

  html.wxt-developments-mobile-viewport body.wxt-scene-developments .wxt-development-showcase__project-carousel{
    left:10px!important;
    right:10px!important;
    bottom:max(10px,env(safe-area-inset-bottom,0px))!important;
    gap:7px!important;
    padding:9px 10px 10px!important;
    overflow:visible!important;
    border:1px solid rgba(255,255,255,.18)!important;
    border-radius:20px!important;
    background:
      radial-gradient(circle at 14% 0%,rgba(255,255,255,.13),transparent 34%),
      linear-gradient(145deg,rgba(10,17,24,.74),rgba(8,13,18,.58))!important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.10),
      0 20px 48px rgba(0,0,0,.24)!important;
    backdrop-filter:blur(24px) saturate(122%)!important;
    -webkit-backdrop-filter:blur(24px) saturate(122%)!important;
  }

  html.wxt-developments-mobile-viewport body.wxt-scene-developments .wxt-development-showcase__project-carousel-contrast{
    display:none!important;
  }

  html.wxt-developments-mobile-viewport body.wxt-scene-developments .wxt-development-showcase__project-carousel-bar{
    gap:6px!important;
    min-height:34px!important;
  }

  html.wxt-developments-mobile-viewport body.wxt-scene-developments .wxt-development-showcase__project-carousel-label{
    min-height:32px!important;
    gap:8px!important;
  }

  html.wxt-developments-mobile-viewport body.wxt-scene-developments .wxt-development-showcase__project-carousel-label-core{
    gap:8px!important;
  }

  html.wxt-developments-mobile-viewport body.wxt-scene-developments .wxt-development-showcase__project-carousel-accent{
    width:24px!important;
    flex:0 0 24px!important;
    opacity:.88!important;
  }

  html.wxt-developments-mobile-viewport body.wxt-scene-developments .wxt-development-showcase__project-carousel-label-text{
    font-size:.61rem!important;
    font-weight:700!important;
    letter-spacing:.17em!important;
  }

  html.wxt-developments-mobile-viewport body.wxt-scene-developments .wxt-development-project-wheel__dock{
    width:auto!important;
    min-width:30px!important;
    height:32px!important;
    padding:2px!important;
    gap:3px!important;
    border:1px solid rgba(255,255,255,.10)!important;
    border-radius:999px!important;
    background:rgba(255,255,255,.045)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.04)!important;
  }

  html.wxt-developments-mobile-viewport body.wxt-scene-developments .wxt-development-project-wheel__dock button.wxt-development-gallery-visibility-toggle,
  html.wxt-developments-mobile-viewport body.wxt-scene-developments .wxt-development-project-wheel__dock button.wxt-development-gallery-visibility-toggle:hover,
  html.wxt-developments-mobile-viewport body.wxt-scene-developments .wxt-development-project-wheel__dock button.wxt-development-gallery-visibility-toggle:active,
  html.wxt-developments-mobile-viewport body.wxt-scene-developments .wxt-development-project-wheel__dock button.wxt-development-gallery-visibility-toggle:focus,
  html.wxt-developments-mobile-viewport body.wxt-scene-developments .wxt-development-project-wheel__dock button.wxt-development-gallery-visibility-toggle:focus-visible{
    width:26px!important;
    height:26px!important;
    min-width:26px!important;
    min-height:26px!important;
    border:1px solid transparent!important;
    border-radius:999px!important;
    background:transparent!important;
    box-shadow:none!important;
  }

  html.wxt-developments-mobile-viewport body.wxt-scene-developments .wxt-development-showcase__project-carousel-nav{
    display:grid!important;
    grid-template-columns:34px 34px auto auto!important;
    justify-content:end!important;
    align-items:center!important;
    width:100%!important;
    gap:6px!important;
  }

  html.wxt-developments-mobile-viewport body.wxt-scene-developments .wxt-development-showcase button.wxt-development-carousel-toggle,
  html.wxt-developments-mobile-viewport body.wxt-scene-developments .wxt-development-showcase button.wxt-development-carousel-toggle:hover,
  html.wxt-developments-mobile-viewport body.wxt-scene-developments .wxt-development-showcase button.wxt-development-carousel-toggle:active,
  html.wxt-developments-mobile-viewport body.wxt-scene-developments .wxt-development-showcase button.wxt-development-carousel-toggle:focus,
  html.wxt-developments-mobile-viewport body.wxt-scene-developments .wxt-development-showcase button.wxt-development-carousel-toggle:focus-visible{
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    min-height:34px!important;
    border:1px solid rgba(255,255,255,.16)!important;
    border-radius:12px!important;
    background:rgba(255,255,255,.055)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.08)!important;
    color:#fff!important;
  }

  html.wxt-developments-mobile-viewport body.wxt-scene-developments .wxt-development-showcase button.wxt-development-carousel-toggle:active{
    background:rgba(255,255,255,.09)!important;
    border-color:rgba(217,173,89,.42)!important;
  }

  html.wxt-developments-mobile-viewport body.wxt-scene-developments .wxt-development-showcase__project-position{
    width:auto!important;
    min-width:68px!important;
    min-height:34px!important;
    margin:0!important;
    padding:0 5px!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    color:rgba(255,255,255,.93)!important;
    font-size:1rem!important;
    font-weight:500!important;
    letter-spacing:.025em!important;
    font-variant-numeric:tabular-nums!important;
  }

  html.wxt-developments-mobile-viewport body.wxt-scene-developments .wxt-development-files-toggle,
  html.wxt-developments-mobile-viewport body.wxt-scene-developments .wxt-development-files-toggle:hover,
  html.wxt-developments-mobile-viewport body.wxt-scene-developments .wxt-development-files-toggle:active,
  html.wxt-developments-mobile-viewport body.wxt-scene-developments .wxt-development-files-toggle:focus{
    min-height:34px!important;
    height:34px!important;
    padding:0 8px!important;
    border:1px solid rgba(255,255,255,.12)!important;
    border-radius:12px!important;
    background:rgba(255,255,255,.045)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.06)!important;
  }

  html.wxt-developments-mobile-viewport body.wxt-scene-developments .wxt-development-showcase__project-track{
    gap:7px!important;
    padding:1px!important;
  }

  html.wxt-developments-mobile-viewport body.wxt-scene-developments .wxt-development-showcase button.wxt-development-stack-card,
  html.wxt-developments-mobile-viewport body.wxt-scene-developments .wxt-development-showcase button.wxt-development-stack-card:hover,
  html.wxt-developments-mobile-viewport body.wxt-scene-developments .wxt-development-showcase button.wxt-development-stack-card:active,
  html.wxt-developments-mobile-viewport body.wxt-scene-developments .wxt-development-showcase button.wxt-development-stack-card:focus,
  html.wxt-developments-mobile-viewport body.wxt-scene-developments .wxt-development-showcase button.wxt-development-stack-card:focus-visible{
    flex:0 0 calc((100% - 7px) / 2)!important;
    width:calc((100% - 7px) / 2)!important;
    border:1px solid rgba(255,255,255,.13)!important;
    border-radius:13px!important;
    background:linear-gradient(145deg,rgba(10,17,24,.72),rgba(8,13,18,.58))!important;
    opacity:.80!important;
    box-shadow:0 10px 24px rgba(0,0,0,.16)!important;
    filter:saturate(.96)!important;
  }

  html.wxt-developments-mobile-viewport body.wxt-scene-developments .wxt-development-showcase button.wxt-development-stack-card.is-active,
  html.wxt-developments-mobile-viewport body.wxt-scene-developments .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,.18),
      0 14px 28px rgba(0,0,0,.24)!important;
    filter:saturate(1.04) contrast(1.02)!important;
  }

  html.wxt-developments-mobile-viewport body.wxt-scene-developments .wxt-development-stack-card__overlay{
    background:linear-gradient(180deg,rgba(4,8,12,.02) 20%,rgba(4,8,12,.18) 58%,rgba(4,8,12,.68) 100%)!important;
  }

  html.wxt-developments-mobile-viewport body.wxt-scene-developments .wxt-development-stack-card__copy small{
    border:1px solid rgba(255,255,255,.13)!important;
    background:rgba(5,11,16,.48)!important;
    color:rgba(255,255,255,.82)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.05)!important;
    backdrop-filter:blur(8px)!important;
    -webkit-backdrop-filter:blur(8px)!important;
  }
}

@media (max-width:767px) and (prefers-reduced-transparency:reduce){
  html.wxt-developments-mobile-viewport body.wxt-scene-developments .wxt-development-showcase__project-carousel{
    background:#0a1118!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }
}
