﻿/* B7 mobile bottom-chrome hotfix.
   Keep scoped to dark iOS Safari web: remove thread dead space while the composer
   still clears the browser toolbar. */
@media (max-width:1023px), (hover:none) {
  html.zero-chat-ios-safari-browser .zero-chat-app:not(.is-android-shell):not(.is-light-theme) .zero-chat-thread {
    padding-bottom:calc(68px + env(safe-area-inset-bottom,0px) + var(--zero-chat-keyboard-offset,0px))!important;
    scroll-padding-bottom:calc(90px + env(safe-area-inset-bottom,0px) + var(--zero-chat-keyboard-offset,0px))!important;
  }

  html.zero-chat-ios-safari-browser .zero-chat-app:not(.is-android-shell):not(.is-light-theme).has-reply-context .zero-chat-thread {
    padding-bottom:calc(110px + env(safe-area-inset-bottom,0px) + var(--zero-chat-keyboard-offset,0px))!important;
    scroll-padding-bottom:calc(136px + env(safe-area-inset-bottom,0px) + var(--zero-chat-keyboard-offset,0px))!important;
  }

  html.zero-chat-ios-safari-browser .zero-chat-app:not(.is-android-shell):not(.is-light-theme) .zero-chat-composer {
    padding-bottom:calc(38px + env(safe-area-inset-bottom,0px) + var(--zero-chat-browser-bottom-inset,0px))!important;
  }
}