/* mobile.css — توافق آمن مع أجهزة الجوال (يُحمَّل آخر شيء)
   v2: أُزيلت القواعد العامة التي كانت تكسر لوحة الإدارة على الجوال
   وتغيّر أحجام الأيقونات والعناوين وأشرطة التبويب. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
img,video,iframe,embed,object{max-width:100%}
img,video{height:auto}
iframe{border:0}
button,a,input,select,textarea,summary,[role=button]{-webkit-tap-highlight-color:transparent}

@media (max-width:640px){
  /* منع تكبير iOS التلقائي عند التركيز على الحقول */
  input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea{font-size:16px;max-width:100%}
  pre{white-space:pre-wrap;word-break:break-word}
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}
