/* Brintage — chat layout polish (Web R397 / Android V6.145).
   Keep the image queue inside its composer. Older post.css rules applied
   negative side margins, which moved uploaded photos outside the card. */
body.bt-chat #window .w-bottom.br-static-chat-compose > .cp-imgs:not(:empty){
    position:relative!important;
    left:auto!important;
    right:auto!important;
    transform:none!important;
    display:flex!important;
    flex-wrap:nowrap!important;
    align-items:flex-start!important;
    gap:10px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0 0 8px!important;
    padding:8px 12px 7px!important;
    box-sizing:border-box!important;
    float:none!important;
    clear:both!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
}
body.bt-chat #window .w-bottom.br-static-chat-compose > .cp-imgs:not(:empty)::-webkit-scrollbar{
    display:none;
}
body.bt-chat #window .w-bottom.br-static-chat-compose > .cp-imgs:not(:empty) > .ig{
    position:relative!important;
    flex:0 0 80px!important;
    width:80px!important;
    min-width:80px!important;
    height:80px!important;
    margin:0!important;
    box-sizing:border-box!important;
    float:none!important;
    border-radius:12px!important;
    overflow:hidden!important;
}
body.bt-chat #window .w-bottom.br-static-chat-compose > .cp-imgs:not(:empty) > .ig a{
    top:5px!important;
    right:5px!important;
}

/* R398 / V6.146: approved blue-to-cyan Brintage image logo.
   The previous revision accidentally rendered a cursive font in place
   of the image. Reuse the existing banner-small.webp asset. */
body.bt-messages #bop.bar-top.messages-top .banner {
    display:block!important;
    position:absolute!important;
    left:30px!important;
    top:20px!important;
    right:auto!important;
    width:146px!important;
    min-width:146px!important;
    max-width:146px!important;
    height:38px!important;
    min-height:38px!important;
    margin:0!important;
    padding:0!important;
    background:transparent url('../assets/img/branding/banner-small.webp?v=20261022-chat-brand-r398') left center / contain no-repeat!important;
    color:transparent!important;
    font-size:0!important;
    line-height:0!important;
    text-indent:-9999px!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-shadow:none!important;
    filter:drop-shadow(0 4px 10px rgba(47,125,246,.14))!important;
    z-index:2!important;
}
/* The chat's wordmark is a separate link (.chat-brand). Keep its
   original position and click behavior, replacing only its appearance. */
@media (min-width:769px) {
    body.bt-chat #window .chat-top .chat-brand,
    body.bt-chat .chat-top .chat-brand {
        display:block!important;
        width:146px!important;
        min-width:146px!important;
        max-width:146px!important;
        height:38px!important;
        min-height:38px!important;
        margin:0!important;
        padding:0!important;
        left:30px!important;
        top:50%!important;
        transform:translateY(-50%)!important;
        background:transparent url('../assets/img/branding/banner-small.webp?v=20261022-chat-brand-r398') left center / contain no-repeat!important;
        color:transparent!important;
        font-size:0!important;
        line-height:0!important;
        text-indent:-9999px!important;
        white-space:nowrap!important;
        overflow:hidden!important;
        text-shadow:none!important;
        filter:drop-shadow(0 4px 10px rgba(47,125,246,.14))!important;
        z-index:3!important;
    }
}
