/* Telefon uyumu — tüm ekranlar (giriş, akış, Gemma AI, kullanıcı paneli).
   1) iOS Safari 16px altı yazı alanına dokununca sayfayı yakınlaştırır ve sağa-sola kaydırılabilir bırakır.
   2) Hiçbir öğe sayfayı yatayda genişletemez. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
html,body{max-width:100%;overflow-x:hidden;overscroll-behavior:none}
#app,.ai-workspace{overflow-x:clip}
@media(max-width:900px),(pointer:coarse){
  input,textarea,select{font-size:16px!important}
  #app{overflow-x:hidden;overflow-y:auto;touch-action:pan-y}
}
@media(max-width:900px){
  .home,.home-window,.ai-window,.acct-window{overflow-x:clip}
  .ai-side{transition:transform .28s ease,visibility 0s linear .28s}
  .ai-side:not(.open){visibility:hidden}
  .ai-side.open{transition:transform .28s ease}
}
@media(max-width:360px){
  .topbar{left:14px;right:14px}
  .lang-switch button{min-width:26px;padding:0 6px}
  .topbar .brand{letter-spacing:.14em;font-size:14px}
}
.home-search{min-width:0}
@media(max-width:380px){
  .home-search{padding:0 14px}
  .home-actions{gap:6px}
  .home-actions .glass-icon{width:40px;height:40px}
}
