/* V4.72 - Sade Canlı Navigasyon UI
   Yalnızca aktif navigasyon (.nav-live) sadeleştirilir.
   Planlama ekranı, rota motoru, Street View, AR, SOS ve güvenlik işlevleri korunur. */
@media (max-width:760px){
  /* ÜST BAR — Geri + rota adı + ses + uyarı. Canlı kullanımda merkez ikonu gereksiz tekrar. */
  .tesla-map-screen.nav-live .tesla-map-topbar{
    left:10px!important;right:10px!important;top:calc(8px + env(safe-area-inset-top))!important;
    min-height:50px!important;padding:5px 7px!important;border-radius:17px!important;
    grid-template-columns:40px minmax(0,1fr) auto!important;gap:7px!important;
    background:rgba(252,253,253,.95)!important;backdrop-filter:blur(18px)!important;
  }
  .tesla-map-screen.nav-live .tesla-back{width:38px!important;height:38px!important;border-radius:12px!important;font-size:25px!important}
  .tesla-map-screen.nav-live .tesla-top-title small{display:none!important}
  .tesla-map-screen.nav-live .tesla-top-title h2{font-size:16px!important;line-height:1.1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .tesla-map-screen.nav-live #teslaCenterBtn{display:none!important}
  .tesla-map-screen.nav-live .tesla-top-actions{gap:5px!important}
  .tesla-map-screen.nav-live .tesla-top-actions>button{width:38px!important;height:38px!important;min-width:38px!important;border-radius:12px!important;font-size:16px!important}

  /* ANA TALİMAT — tek güçlü bilgi. */
  .tesla-map-screen.nav-live .tesla-maneuver-hud{
    top:calc(65px + env(safe-area-inset-top))!important;left:10px!important;right:10px!important;
    min-height:70px!important;padding:8px 10px!important;border-radius:18px!important;
    grid-template-columns:48px minmax(0,1fr)!important;gap:10px!important;
    background:rgba(8,48,72,.94)!important;box-shadow:0 9px 26px rgba(8,31,48,.17)!important;
  }
  .tesla-map-screen.nav-live .tesla-maneuver-arrow{width:46px!important;height:46px!important;border-radius:14px!important;font-size:27px!important}
  .tesla-map-screen.nav-live .tesla-maneuver-hud small{font-size:10px!important;line-height:1!important}
  .tesla-map-screen.nav-live .tesla-maneuver-hud strong{font-size:20px!important;line-height:1.05!important}
  .tesla-map-screen.nav-live .tesla-maneuver-hud span{font-size:9px!important;opacity:.82!important}

  /* GÖRÜNÜM SEÇİMİ — kompakt, eşit 4 seçenek. */
  .tesla-map-screen.nav-live .street-nav-modebar{
    left:10px!important;right:10px!important;top:calc(143px + env(safe-area-inset-top))!important;
    min-height:40px!important;padding:4px!important;gap:3px!important;border-radius:15px!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    background:rgba(252,253,253,.95)!important;
  }
  .tesla-map-screen.nav-live .street-nav-modebar #streetNavRecenter{display:none!important}
  .tesla-map-screen.nav-live .street-nav-modebar button{height:36px!important;min-height:36px!important;border-radius:12px!important;gap:4px!important;font-size:10px!important;padding:0 5px!important}
  .tesla-map-screen.nav-live .street-nav-modebar button span{font-size:14px!important}

  /* Uzun Street View açıklaması yerine küçük durum çipi. Hata mesajları aynı alanda yine görünür. */
  .tesla-map-screen.nav-live .street-view-note{
    left:50%!important;right:auto!important;top:calc(190px + env(safe-area-inset-top))!important;
    transform:translateX(-50%)!important;width:auto!important;max-width:calc(100% - 36px)!important;
    min-height:24px!important;padding:5px 10px!important;border-radius:999px!important;
    font-size:8.5px!important;line-height:1.2!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
    background:rgba(8,39,58,.78)!important;box-shadow:0 5px 14px rgba(0,0,0,.12)!important;
  }

  /* Canlı GPS rozeti: yalnız nokta + doğruluk. */
  .tesla-map-screen.nav-live.is-google-street-live .street-live-gps:not([hidden]){
    bottom:calc(132px + env(safe-area-inset-bottom))!important;
    padding:5px 8px 5px 5px!important;gap:6px!important;max-width:150px!important;
    background:rgba(8,39,58,.78)!important;box-shadow:0 6px 18px rgba(0,0,0,.16)!important;
  }
  .tesla-map-screen.nav-live .street-live-gps-dot{width:27px!important;height:27px!important;flex-basis:27px!important;border-width:2px!important}
  .tesla-map-screen.nav-live .street-live-gps-dot:before{width:34px!important;height:34px!important}
  .tesla-map-screen.nav-live .street-live-gps-copy strong{display:none!important}
  .tesla-map-screen.nav-live .street-live-gps-copy small{font-size:8px!important;color:#fff!important;max-width:95px!important}

  /* ALT PANEL — sadece hedef, kalan mesafe, durdur ve iki temel araç. */
  .tesla-map-screen.nav-live .tesla-walk-panel{
    left:10px!important;right:10px!important;bottom:calc(9px + env(safe-area-inset-bottom))!important;
    display:grid!important;grid-template-columns:minmax(0,1fr) 44px!important;
    grid-template-rows:auto 44px 38px!important;gap:6px!important;padding:8px!important;
    border-radius:19px!important;background:rgba(252,253,253,.95)!important;
    box-shadow:0 10px 28px rgba(8,29,43,.16)!important;backdrop-filter:blur(18px)!important;
  }
  .tesla-map-screen.nav-live .tesla-walk-summary{grid-column:1/-1!important;grid-row:1!important;display:grid!important;grid-template-columns:minmax(0,1fr) 34px!important;gap:6px!important;padding:0 2px!important}
  .tesla-map-screen.nav-live .tesla-walk-summary>div{display:flex!important;align-items:center!important;gap:6px!important;min-width:0!important}
  .tesla-map-screen.nav-live .tesla-walk-mode{font-size:8px!important;line-height:1!important;white-space:nowrap!important;color:#12876f!important}
  .tesla-map-screen.nav-live .tesla-walk-destination{font-size:14px!important;line-height:1.1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .tesla-map-screen.nav-live .tesla-walk-overview{display:none!important}
  .tesla-map-screen.nav-live .tesla-walk-details-btn{width:34px!important;height:34px!important;min-width:34px!important;border-radius:11px!important;font-size:12px!important;letter-spacing:1px!important;color:#28495c!important;background:#edf3f5!important;border:0!important}

  .tesla-map-screen.nav-live .tesla-compact-stats{
    grid-column:1!important;grid-row:2!important;display:flex!important;align-items:center!important;
    min-height:44px!important;padding:0 13px!important;border-radius:14px!important;background:#0a405f!important;color:#fff!important;
  }
  .tesla-map-screen.nav-live .tesla-compact-stats>span:first-child{font-size:17px!important;font-weight:950!important;color:#fff!important}
  .tesla-map-screen.nav-live .tesla-compact-stats>span:nth-child(2){display:none!important}
  .tesla-map-screen.nav-live .tesla-walk-voice-btn{display:none!important}
  .tesla-map-screen.nav-live .tesla-nav-start-btn{
    grid-column:2!important;grid-row:2!important;width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;min-height:44px!important;
    margin:0!important;padding:0!important;border-radius:14px!important;font-size:0!important;
    background:#0a405f!important;color:#fff!important;
  }
  .tesla-map-screen.nav-live .tesla-nav-start-btn:before{content:'■';font-size:15px!important;line-height:1!important}

  .tesla-map-screen.nav-live .tesla-smart-actions{
    grid-column:1/-1!important;grid-row:3!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important;margin:0!important
  }
  .tesla-map-screen.nav-live .tesla-smart-actions button{min-height:38px!important;height:38px!important;border-radius:12px!important;font-size:10px!important;padding:0 8px!important;gap:5px!important}
  .tesla-map-screen.nav-live .tesla-smart-actions span{font-size:13px!important}

  /* Tekrarlanan yardımcı balon/zoom canlı navigasyonda yok. */
  .tesla-map-screen.nav-live .live-go-mini,
  .tesla-map-screen.nav-live .tesla-map-fab-stack{display:none!important}
}

@media (max-width:390px){
  .tesla-map-screen.nav-live .tesla-map-topbar{left:8px!important;right:8px!important}
  .tesla-map-screen.nav-live .tesla-maneuver-hud{left:8px!important;right:8px!important}
  .tesla-map-screen.nav-live .street-nav-modebar{left:8px!important;right:8px!important}
  .tesla-map-screen.nav-live .tesla-walk-panel{left:8px!important;right:8px!important;padding:7px!important}
  .tesla-map-screen.nav-live .tesla-smart-actions button{font-size:9.5px!important}
}

@media (orientation:landscape) and (min-width:620px){
  .tesla-map-screen.nav-live .street-nav-modebar{left:12px!important;right:auto!important;width:430px!important;top:145px!important}
  .tesla-map-screen.nav-live .street-view-note{top:190px!important}
  .tesla-map-screen.nav-live .tesla-walk-panel{left:12px!important;right:auto!important;width:350px!important}
}
