/* Homepage only: viewport-sized sticky chat, with independent history scrolling. */
body.bc-home-chat-fit .bc-shell,body.bc-home-chat-fit .bc-layout{overflow:visible}
body.bc-home-chat-fit #bc-chat-slot{position:sticky!important;align-self:start;top:var(--bc-home-chat-top,8px)!important;min-height:0;max-height:none!important}
body.bc-home-chat-fit #bc-chat-slot #ztv-chat-root{position:relative!important;inset:auto!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important}
body.bc-home-chat-fit #bc-chat-slot .ztv-chat-panel{position:relative!important;inset:auto!important;height:var(--bc-home-chat-height,60dvh)!important;min-height:0!important;max-height:none!important;width:100%!important;box-sizing:border-box;flex-direction:column;overflow:hidden}
body.bc-home-chat-fit #bc-chat-slot .ztv-chat-panel:not([hidden]){display:flex!important}
body.bc-home-chat-fit #bc-chat-slot .ztv-chat-panel>*{flex-shrink:0}
body.bc-home-chat-fit #bc-chat-slot .ztv-chat-messages{flex:1 1 0!important;min-height:0!important;overflow-y:auto!important;overscroll-behavior-y:contain}
body.bc-home-chat-fit #bc-chat-slot .ztv-chat-compose{flex:0 0 auto!important;margin-top:0}
body.bc-home-chat-fit #bc-chat-slot .ztv-chat-picker,body.bc-home-chat-fit #bc-chat-slot .ztv-chat-mention-menu,body.bc-home-chat-fit #bc-chat-slot .ztv-chat-gif-library{max-height:max(0px,calc(var(--bc-home-chat-height,60dvh) - 112px))!important}
body.bc-home-chat-fit.bc-home-chat-static #bc-chat-slot{position:static!important}
@media(max-width:700px){body.bc-home-chat-fit #bc-chat-slot{position:static!important}}
