#velchat-quick-media {
  display: block !important;
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.velchat_quick_upload_text {
  display: none;
}

@media (max-width: 768px) {
  .tag_pub_box_bg .tag_pub_box_bg_text {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .tag_pub_box_bg .tag_pub_box_bg_camlve.camera.velchat_quick_upload {
    width: auto;
    min-width: 86px;
    height: 42px;
    line-height: 42px;
    border-radius: 999px;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-weight: 700;
    color: #4CAF50;
    flex: 0 0 auto;
  }

  .tag_pub_box_bg .tag_pub_box_bg_camlve.camera.velchat_quick_upload:before {
    border-radius: 999px;
    opacity: 0.16;
  }

  .tag_pub_box_bg .tag_pub_box_bg_camlve.camera.velchat_quick_upload svg {
    width: 22px;
    height: 22px;
    margin: 0;
  }

  .tag_pub_box_bg .tag_pub_box_bg_camlve.camera.velchat_quick_upload .velchat_quick_upload_text {
    display: inline-block;
    font-size: 13px;
    line-height: 1;
    letter-spacing: 0.1px;
  }

  .publisher-box .publisher-box-footer .pub-footer-upper {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom)) !important;
    overflow: visible !important;
    white-space: normal !important;
    text-align: initial !important;
  }

  .publisher-box .publisher-box-footer .pub-footer-upper:before {
    content: 'Add media';
    display: block;
    flex: 0 0 100%;
    margin: 0 0 2px;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 700;
    color: rgba(255,255,255,0.68);
  }

  body.light .publisher-box .publisher-box-footer .pub-footer-upper:before,
  body.white .publisher-box .publisher-box-footer .pub-footer-upper:before {
    color: rgba(0,0,0,0.58);
  }

  .publisher-box .publisher-box-footer .pub-footer-upper .tag_pub_box_btns.tag_pub_upload_primary,
  .publisher-box .publisher-box-footer .pub-footer-upper.tag_pub_btns_smal .tag_pub_box_btns.tag_pub_upload_primary,
  .publisher-box .publisher-box-footer .pub-footer-upper.tag_pub_btns_col_smal .tag_pub_box_btns.tag_pub_upload_primary {
    flex: 1 1 calc(33.333% - 8px) !important;
    width: auto !important;
    min-width: 92px !important;
    max-width: none !important;
    height: 64px !important;
    min-height: 64px !important;
    line-height: 1.1 !important;
    padding: 9px 8px !important;
    margin: 0 !important;
    border-radius: 16px !important;
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    text-align: center !important;
    font-weight: 700 !important;
    background: rgba(255,255,255,0.08) !important;
  }

  body.light .publisher-box .publisher-box-footer .pub-footer-upper .tag_pub_box_btns.tag_pub_upload_primary,
  body.white .publisher-box .publisher-box-footer .pub-footer-upper .tag_pub_box_btns.tag_pub_upload_primary {
    background: rgba(0,0,0,0.055) !important;
  }

  .publisher-box .publisher-box-footer .pub-footer-upper .tag_pub_box_btns.tag_pub_upload_primary svg,
  .publisher-box .publisher-box-footer .pub-footer-upper.tag_pub_btns_smal .tag_pub_box_btns.tag_pub_upload_primary svg,
  .publisher-box .publisher-box-footer .pub-footer-upper.tag_pub_btns_col_smal .tag_pub_box_btns.tag_pub_upload_primary svg {
    width: 24px !important;
    height: 24px !important;
    margin: 0 !important;
    color: var(--main) !important;
  }

  .publisher-box .publisher-box-footer .pub-footer-upper .tag_pub_box_btns.tag_pub_upload_primary > span,
  .publisher-box .publisher-box-footer .pub-footer-upper.tag_pub_btns_smal .tag_pub_box_btns.tag_pub_upload_primary > span,
  .publisher-box .publisher-box-footer .pub-footer-upper.tag_pub_btns_col_smal .tag_pub_box_btns.tag_pub_upload_primary > span {
    display: block !important;
    font-size: 12px !important;
    line-height: 1.1 !important;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .publisher-box .publisher-box-footer .pub-footer-upper .tag_pub_box_btns:not(.tag_pub_upload_primary) {
    flex: 0 0 40px !important;
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 13px !important;
    text-align: center !important;
  }

  .publisher-box .publisher-box-footer .pub-footer-upper .tag_pub_box_btns:not(.tag_pub_upload_primary) > span {
    display: none !important;
  }

  .publisher-box .publisher-box-footer .pub-footer-upper .tag_pub_box_btns:not(.tag_pub_upload_primary) svg {
    margin: 0 !important;
  }
}

@media (max-width: 380px) {
  .tag_pub_box_bg .tag_pub_box_bg_camlve.camera.velchat_quick_upload {
    min-width: 42px;
    width: 42px;
    padding: 0;
  }
  .tag_pub_box_bg .tag_pub_box_bg_camlve.camera.velchat_quick_upload .velchat_quick_upload_text {
    display: none;
  }
}

@media (max-width: 768px) {
  .publisher-box .publisher-box-footer .pub-footer-upper:before { order: 0; }
  .publisher-box .publisher-box-footer .pub-footer-upper .tag_pub_upload_photo { order: 1; }
  .publisher-box .publisher-box-footer .pub-footer-upper .tag_pub_upload_video { order: 2; }
  .publisher-box .publisher-box-footer .pub-footer-upper .tag_pub_upload_reels { order: 3; }
  .publisher-box .publisher-box-footer .pub-footer-upper .tag_pub_upload_file { order: 4; }
  .publisher-box .publisher-box-footer .pub-footer-upper .tag_pub_box_btns:not(.tag_pub_upload_primary) { order: 10; }
}
