/* HTNS Events heading + chat edge handle · v170
   Intentionally limited to the Events heading and the global chat handle. */

#mainApp #view-events .events-section-title{
  display:block!important;
  width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:18px!important;
  text-align:left!important;
  justify-self:start!important;
  box-sizing:border-box!important;
}

#mainApp #view-events .events-section-title::before{
  left:2px!important;
  width:4px!important;
}

/* Keep only a slim pull tab visible above the bottom navigation. */
#htnsChatHandle,
#htnsChatHandle.chat-visible,
#htnsChatHandle:hover,
#htnsChatHandle:focus-visible{
  right:calc(-46px + env(safe-area-inset-right))!important;
  top:auto!important;
  bottom:max(92px,calc(76px + env(safe-area-inset-bottom)))!important;
  width:64px!important;
  height:64px!important;
  border-radius:18px 0 0 18px!important;
}

#htnsChatHandle .chat-handle-arrow{
  left:1px!important;
  width:16px!important;
  height:22px!important;
}

#htnsChatHandle svg{
  margin-left:-5px!important;
}

@media (min-width:720px){
  #htnsChatHandle,
  #htnsChatHandle.chat-visible,
  #htnsChatHandle:hover,
  #htnsChatHandle:focus-visible{
    right:-46px!important;
    top:auto!important;
    bottom:108px!important;
  }
}
