/* Telefon duzeni (web sitesi + uygulama ortak). 22.10.2026: uygulama-uyum.css'ten tasindi;
   yalniz <=760px ekranlarda etkili, masaustu degismez. */
/* Mobil harita alt araclari: tek sira + harita atfi butonlarin ustunde, kucuk */
@media (max-width:760px){
  html:root body.ps-map-v6 .wrapper .psv6-map-stage>.ps-mobile-tool-dock{display:flex!important;flex-direction:column!important}
  html:root body.ps-map-v6 .wrapper .ps-mobile-tool-dock>.leaflet-control-attribution{position:absolute!important;right:4px!important;bottom:100%!important;left:auto!important;width:auto!important;max-width:calc(100% - 8px)!important;min-height:0!important;margin:0 0 4px!important;padding:0 5px!important;border:0!important;border-radius:4px!important;background:rgba(255,255,255,.75)!important;color:#5f6f75!important;font-size:8px!important;line-height:12px!important;text-align:right!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  html:root body.ps-map-v6 .wrapper .ps-mobile-tool-dock>.leaflet-control-attribution a{font-size:8px!important}
  html:root body.ps-map-v6 .wrapper .ps-mobile-tool-dock>.psv6-tool-rail{grid-auto-flow:row!important;grid-template-columns:repeat(var(--ps-mobile-tool-count,11),minmax(0,1fr))!important;grid-auto-rows:48px!important;min-height:48px!important;height:48px!important}
  html:root body.ps-map-v6 .wrapper .ps-mobile-tool-dock .psv6-tool-rail button,
  html:root body.ps-map-v6 .wrapper .ps-mobile-tool-dock .psv6-tool-rail a{height:48px!important;min-height:48px!important;min-width:0!important;padding:0!important}
  html:root body.ps-map-v6 .wrapper .ps-mobile-tool-dock .psv6-tool-rail button i,
  html:root body.ps-map-v6 .wrapper .ps-mobile-tool-dock .psv6-tool-rail a i{font-size:18px!important}
  html:root body.ps-map-v6 .wrapper .ps-mobile-tool-dock .psv6-tool-rail small{font-size:7.5px!important;line-height:1.1!important}
  html:root body.ps-map-v6.ps-mobile-keyboard .wrapper .psv6-map-stage>.ps-mobile-tool-dock,
  html:root body.ps-map-v6.ps-mobile-profile-open .wrapper .psv6-map-stage>.ps-mobile-tool-dock{display:none!important}
}
@media(max-width:340px){
  html:root body.ps-map-v6 .psv6-header.ps-shell-header .psv6-brand strong{font-size:12px!important}
}

/* Listem (panel.php) telefonda: ozet kutulari gizli, sayfa yana tasmasin (beyaz alan olmasin) */
@media (max-width:760px){
  html:root body:has(#govde) .stat-grid{display:none!important}
  html:root:has(#govde), html:root body:has(#govde){max-width:100%!important;overflow-x:hidden!important}
}

/* Son Tikladiginiz Parseller: telefonda arama kutusu gizli */
@media (max-width:760px){
  html:root input[placeholder="Ada, parsel veya not ara"]{display:none!important}
}

/* Harita filtre paneli (telefon): arama kutusuna yapisik, kompakt 3 satir, haritayi kapatmaz */
@media (max-width:760px){
  html:root body.ps-map-v6 #v6RightStack{left:10px!important;right:10px!important;width:auto!important;top:calc(var(--ps-stack-top,76px) - 8px)!important}
  html:root body.ps-map-v6 #v6RightStack .psv6-quick-filter{padding:8px 10px!important;border-top:0!important;border-radius:0 0 10px 10px!important;box-shadow:0 10px 18px rgba(16,43,67,.16)!important}
  html:root body.ps-map-v6 #v6RightStack .psv6-filter-grid{grid-template-columns:1fr 1fr!important;gap:6px 8px!important;align-items:end!important}
  html:root body.ps-map-v6 #v6RightStack .psv6-filter-field{gap:2px!important}
  html:root body.ps-map-v6 #v6RightStack [hidden]{display:none!important}
  html:root body.ps-map-v6 #v6RightStack .psv6-filter-field>label{font-size:9px!important;line-height:1.2!important}
  html:root body.ps-map-v6 #v6RightStack .psv6-filter-field select,
  html:root body.ps-map-v6 #v6RightStack .psv6-filter-field input{height:34px!important;min-height:34px!important;font-size:13px!important;padding:0 8px!important}
  html:root body.ps-map-v6 #v6RightStack .psv6-filter-urgent{height:34px!important;min-height:34px!important;font-size:12px!important;padding:0 2px!important}
  html:root body.ps-map-v6 #v6RightStack .psv6-filter-end{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important;width:auto!important;max-width:none!important;justify-self:stretch!important}
  html:root body.ps-map-v6 #v6RightStack .psv6-filter-end output{font-size:11px!important;text-align:right!important}
  html:root body.ps-map-v6 #v6RightStack .psv6-filter-actions{position:static!important;height:30px!important}
  html:root body.ps-map-v6 #v6RightStack .psv6-filter-actions button{width:30px!important;height:30px!important}
}

/* Listem (telefon): siralama kutusu Filtreler / Filtreleri Temizle ile ayni satirda */
@media (max-width:760px){
  html:root body:has(#govde) .fk-baslik{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px!important}
  html:root body:has(#govde) .fk-baslik .list-search{flex:1 1 100%!important}
  html:root body:has(#govde) .portfolio-sort{width:auto!important;flex:1 1 90px!important;min-width:0!important;margin:0!important;font-size:0!important;gap:0!important}
  html:root body:has(#govde) .portfolio-sort select{width:100%!important;min-width:0!important;height:40px!important;font-size:13px!important}
}

/* Harita filtre dugmesi: panel acikken yukari ok; temizle dugmesi silgi + "Temizle" yazisi */
html:root body.ps-map-v6 .psv6-filter-trigger[aria-expanded="true"] i.fa-filter::before{content:"\f077"}
html:root body.ps-map-v6 #v6RightStack button[onclick*="v6BasitFiltreTemizle"]{display:inline-flex!important;align-items:center!important;gap:4px!important;width:auto!important;padding:0 8px!important;border:1px solid #d5e0e6!important;border-radius:6px!important;color:#b23b3b!important;font:700 11px system-ui,sans-serif!important}
html:root body.ps-map-v6 #v6RightStack button[onclick*="v6BasitFiltreTemizle"] i.fa-rotate-left::before{content:"\f12d"}
html:root body.ps-map-v6 #v6RightStack button[onclick*="v6BasitFiltreTemizle"]::after{content:"Temizle"}
