/* VELVET ROOM POST COMPOSER INPUT + SUBMIT FIX V1
   Scope: live post-edit.html only. Preserve the existing publish engine. */

/* The canonical app dock is fixed at the bottom and is 76px tall. The original
   post composer footer was also fixed at bottom:0, so the dock covered Publish. */
.footerBar{
  bottom:calc(var(--vr-shell-h, 76px) + env(safe-area-inset-bottom, 0px)) !important;
  z-index:8990 !important;
  padding:8px 10px !important;
  visibility:visible !important;
  opacity:1 !important;
  pointer-events:auto !important;
}

.footerBar #publishBtn,
.footerBar #draftBtn{
  display:flex !important;
  visibility:visible !important;
  opacity:1 !important;
  pointer-events:auto !important;
}

/* Reserve space for both the composer footer and the persistent Velvet Room dock. */
.page{
  padding-bottom:calc(var(--vr-shell-h, 76px) + 92px + env(safe-area-inset-bottom, 0px)) !important;
}

@media (max-width:720px){
  .page{
    padding-bottom:calc(var(--vr-shell-h, 76px) + 92px + env(safe-area-inset-bottom, 0px)) !important;
  }
}
