/* HakanFM V30 - sadece sohbet mesajinda gonderilen GIPHY giflerinin boyutu.
   GIPHY sonuc paneli, yerel GIF ve diger paylasilan resimlere dokunmaz.
   Eklenti giphy_main.php: uploadProcess('tumb', $origin, $chat)
   -> <a href="https://media*.giphy.com/..." data-fancybox><img class="chat_image" ...></a>
*/
#show_chat a[href*="giphy.com/"] > img.chat_image,
#show_chat a[href*="giphy.com/"] img.chat_image,
.private_logs a[href*="giphy.com/"] > img.chat_image,
.private_logs a[href*="giphy.com/"] img.chat_image,
.chat_message a[href*="giphy.com/"] > img.chat_image,
.chat_message a[href*="giphy.com/"] img.chat_image {
  display: inline-block !important;
  width: auto !important;
  height: auto !important;
  max-width: min(220px, 100%) !important;
  max-height: 120px !important;
  object-fit: contain !important;
  vertical-align: bottom !important;
}
@media (max-width: 600px) {
  #show_chat a[href*="giphy.com/"] img.chat_image,
  .private_logs a[href*="giphy.com/"] img.chat_image,
  .chat_message a[href*="giphy.com/"] img.chat_image {
    max-width: min(180px, 100%) !important;
    max-height: 110px !important;
  }
}
