/* Payam Mehr - iOS / notch fixes v1 (loaded last) */
@media (max-width:760px){
  body.premium-ui .chat #chatHead{height:calc(68px + env(safe-area-inset-top,0px))!important;padding-top:calc(8px + env(safe-area-inset-top,0px))!important;box-sizing:border-box}
  body.premium-ui aside>header{padding-top:calc(11px + env(safe-area-inset-top,0px))!important}
  body.premium-ui .chat #chatHead>#back{position:relative;z-index:2}
}
/* iOS zooms the page when a focused field is smaller than 16px */
@supports (-webkit-touch-callout:none){
  input,textarea,select,body.premium-ui #sendForm .composer-input-shell textarea#text{font-size:16px!important}
}
/* smoother scrolling and no grey flash on tap */
html.pm-ios #messages{-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
html.pm-ios button,html.pm-ios a,html.pm-ios .msg{-webkit-tap-highlight-color:transparent}
html.pm-ios-standalone body{overscroll-behavior-y:none}
