/*
 * رفتار «اپ native» روی دستگاه لمسی (همهٔ صفحه‌های اصلی)
 * نگه‌داشتن روی متن/کارت/آیکون نباید انتخاب متن، ذره‌بین یا منوی Copy / Look Up / Find Selection مرورگر باز کند.
 * فقط جاهایی که کاربر واقعاً باید متن را انتخاب کند استثنا هستند:
 *   • فیلدهای تایپ (input / textarea / contenteditable)
 *   • گفتگوی دستیار هوشمند (#aiChatMessages)
 *   • هر المانی که عمداً .selectable یا [data-selectable] دارد (کد تخفیف، شماره، لینک دعوت …)
 *   • متن یک پیام در پیام‌رسان: از منوی پیام ← «انتخاب متن»
 * روی دسکتاپ (ماوس) هیچ تغییری نمی‌کند.
 */
@media (pointer: coarse) {
  html, body {
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
  }
  a, img, button, svg { -webkit-touch-callout: none; }
  img { -webkit-user-drag: none; user-drag: none; }
  input, textarea, select,
  [contenteditable=""], [contenteditable="true"],
  .selectable, .selectable *,
  [data-selectable], [data-selectable] *,
  #aiChatMessages, #aiChatMessages * {
    -webkit-user-select: text;
    user-select: text;
    -webkit-touch-callout: default;
  }
}
