/* V4.73 - AR modundan Sokak / 3B / Harita görünümüne anında dönüş */
@media (max-width:760px){
  .ar-guide-switcher{
    position:absolute;
    z-index:4;
    left:12px;
    right:12px;
    top:calc(76px + env(safe-area-inset-top));
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:4px;
    padding:5px;
    border:1px solid rgba(255,255,255,.24);
    border-radius:17px;
    background:rgba(5,34,50,.76);
    box-shadow:0 10px 28px rgba(0,0,0,.18);
    backdrop-filter:blur(15px);
    -webkit-backdrop-filter:blur(15px);
  }
  .ar-guide-switcher button{
    min-width:0;
    min-height:42px;
    border:0;
    border-radius:12px;
    background:transparent;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:5px;
    padding:0 6px;
    font-size:11px;
    font-weight:900;
  }
  .ar-guide-switcher button span{font-size:15px}
  .ar-guide-switcher button.is-active{
    background:#0b876d;
    box-shadow:0 4px 14px rgba(0,0,0,.18);
  }
  .ar-guide-switcher button:focus-visible{
    outline:3px solid #ffd04a;
    outline-offset:2px;
  }

  /* Yeni görünüm çubuğuna yer aç. */
  .ar-guide-center{top:52%!important}

  /* AR açıkken kullanıcı her zaman başka görünüme dönebilsin. */
  .ar-guide-overlay[hidden] .ar-guide-switcher{display:none!important}

  /* Ana görünüm çubuğundaki AR durumunu belirginleştir. */
  .street-nav-modebar #streetNavArBtn.is-ar-active{
    background:#0b876d!important;
    color:#fff!important;
  }
}

@media (max-width:390px){
  .ar-guide-switcher{
    left:9px;
    right:9px;
    gap:3px;
    padding:4px;
    top:calc(72px + env(safe-area-inset-top));
  }
  .ar-guide-switcher button{
    min-height:40px;
    font-size:10px;
    gap:3px;
    padding:0 4px;
  }
  .ar-guide-switcher button span{font-size:14px}
}

@media (orientation:landscape) and (min-width:620px){
  .ar-guide-switcher{
    left:50%;
    right:auto;
    width:460px;
    transform:translateX(-50%);
    top:74px;
  }
  .ar-guide-center{top:55%!important}
}
