/* Social Media 2026-10-05 — Utah iframe recheck-2124 (dfc1d2a8 / 20261005r).
   1) select/select Δ6.56 @1920: circuit-phone-stack-fix grids .bl-circuit-projects only
      for 721–1366; at 1920 flex-wrap returns and Saved Circuit vs Source build lefts diverge
      by the preceding control widths. Extend the same full-row select grid above 1366.
   2) Gallery chrome inside product-frame: #templateCategory h=40, .template-action h=34.
   Not this pack: view-gallery / dialog.bl-circuit Δ7.81 @1080 — intentional centered dialog.
   Load: after more-camera-fit-fix (frame.css @import + /account links); account-align-fix last.
   Layout / tap size only — no colour changes. */

/* Wide desktop — continuum of phone-stack projects grid (721–1366 already covered there) */
@media (min-width:1367px){
  dialog.bl-circuit .bl-circuit-projects{
    display:grid!important;
    grid-template-columns:repeat(auto-fill,minmax(170px,1fr))!important;
    gap:12px!important;
  }
  dialog.bl-circuit .bl-circuit-projects > span,
  dialog.bl-circuit .bl-circuit-projects > select{grid-column:1/-1!important}
  dialog.bl-circuit .bl-circuit-projects > button,
  dialog.bl-circuit .bl-circuit-projects > details{
    margin:0!important;
    justify-self:stretch!important;
    min-width:0!important;
  }
}

/* Template gallery taps — studio + account embed iframe */
#templateCategory,
.gallery-controls select,
html[data-account-embed] #templateCategory,
html[data-account-embed] .gallery-controls select{
  min-height:44px!important;
  height:44px!important;
  box-sizing:border-box!important;
  padding:10px 12px!important;
  line-height:1.2!important;
}
.template-action,
html[data-account-embed] .template-action{
  min-height:44px!important;
  height:auto!important;
  box-sizing:border-box!important;
  padding:10px 12px!important;
}
