/* Opus Takip telefon alt menüsü (2026-11-05): Ana Sayfa · yuva · + Araç Girişi · yuva · Menü
   Ana uygulama (paket yaması 27-28) ve hızlı giriş sayfaları ortak kullanır.
   Zemin yarı saydam + bulanık. Zemin ve üst çizgi ::before'da: nav'ın kendisinde backdrop-filter olsaydı
   + düğmesinin çevresindeki yayın (nav dışına taşan) bulanıklığı çalışmazdı.
   Üst çizgi ortada yayın kirişi kadar (±33 px) boş; yay oradan devam eder. */
.opus-altmenu { height: calc(56px + env(safe-area-inset-bottom)); padding-bottom: calc(5px + env(safe-area-inset-bottom));
  box-sizing: border-box; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; }
.opus-altmenu::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to right, #334155 calc(50% - 33px), transparent calc(50% - 33px), transparent calc(50% + 33px), #334155 calc(50% + 33px)) top / 100% 1.5px no-repeat,
    rgba(5, 10, 22, .80);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.opus-altmenu > * { min-width: 0; }
.opus-altmenu > a, .opus-altmenu > button { gap: 2px !important; }
/* + çevresindeki halka: yalnız çizginin üstünde kalan yay görünür */
.opus-arti-yay { position: absolute; left: 50%; top: -18px; margin-left: -40px; width: 80px; height: 18px; overflow: hidden; pointer-events: none; }
.opus-arti-yay > span { position: absolute; left: 0; top: 0; width: 80px; height: 80px; border-radius: 999px; box-sizing: border-box;
  background: rgba(5, 10, 22, .80); border: 1.5px solid #334155; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.opus-arti-ortu { display: none; }
.opus-arti { position: absolute; left: 50%; top: -10px; margin-left: -32px; width: 64px; height: 64px; border-radius: 999px;
  background: linear-gradient(160deg, #F6C35A 0%, #F09C14 70%, #D9860C 100%); box-shadow: 0 6px 18px rgba(240,156,20,.35), inset 0 1px 0 rgba(255,255,255,.35);
  color: #0C131D; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: transform .12s; }
.opus-arti svg { width: 34px; height: 34px; }
.opus-arti:active { transform: scale(.95); }
/* düzenleme panelindeki önizleme */
.opus-altmenu-onizleme { position: relative; height: 84px; border-radius: 16px; background: #050a16; border: 1px solid #1e293b; display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; padding-bottom: 12px; font-size: 10px; font-weight: 800; color: #94a3b8; text-align: center; }
.opus-altmenu-onizleme .opus-yuva { color: #fcd34d; outline: 1.5px dashed #F09C14; outline-offset: 3px; border-radius: 6px; }
.opus-onizleme-arti { justify-self: center; width: 56px; height: 56px; border-radius: 999px; background: linear-gradient(160deg, #F6C35A, #F09C14 70%, #D9860C);
  color: #0C131D; display: flex; align-items: center; justify-content: center; margin-bottom: -2px; box-shadow: 0 0 0 5px #050a16, 0 0 0 6.5px #334155; }
/* index.html'deki eski "nav.fixed.bottom-0 { display:flex !important }" kuralını ez (klavye açıkken gizleme kuralı daha özel, o kazanır) */
@media (max-width: 767px) {
  nav.opus-altmenu.fixed.bottom-0 { display: grid !important; justify-content: initial !important; align-items: end !important; }
  /* ince başlık: 36 px logo, üstte ve altta 4 px */
  header.sticky.top-0.h-16 { height: 44px; }
}

/* 2026-11-05: tanıtım üst çubuğu "Opus Takip Oto" adıyla uzadı; menü 1024px altında kompakt düzende (paket CSS'inde lg:hidden yok) */
@media (min-width: 1024px) { .lg\:hidden { display: none !important; } }

/* Sayfa içi pencere (2026-11-06): telefonda/tablette .opus-sayfa-ici pencere üst çubuk ile alt menü arasında açılır, içi kayar.
   --opus-ust / --opus-alt opus-modul.js ölçer. Sınıf tekrarı bilerek: uygulama kuralı :not() zinciriyle yüksek özgüllükte. Uygulamanın telefon kuralı (.fixed.inset-0.z-50 tam ekran + overflow:hidden) burada geçersiz. */
@media (max-width: 1023.98px) {
  html body .opus-sayfa-ici.opus-sayfa-ici.opus-sayfa-ici.opus-sayfa-ici.opus-sayfa-ici.opus-sayfa-ici.fixed.inset-0 {
    position: fixed !important; top: var(--opus-ust, 56px) !important; bottom: var(--opus-alt, 60px) !important;
    left: 0 !important; right: 0 !important; width: auto !important; height: auto !important; min-height: 0 !important; max-height: none !important;
    z-index: 45 !important; display: block !important; padding: 0 !important; margin: 0 !important; border-radius: 0 !important;
    overflow-x: hidden !important; overflow-y: auto !important; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
    background: #020617 !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  }
  html body .opus-sayfa-ici.opus-sayfa-ici.opus-sayfa-ici.opus-sayfa-ici.opus-sayfa-ici.opus-sayfa-ici.fixed.inset-0 > form {
    width: 100% !important; max-width: none !important; min-height: 100%; height: auto !important; max-height: none !important;
    margin: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; animation: none !important;
    overflow: visible !important; padding-bottom: 28px !important;
  }
}

/* 2026-11-12 (denetim 6.3.7): telefonda çekmece alt menünün ve ortadaki + düğmesinin altında kalmasın; son öğe (Ayarlar/Profilim)
   doğrudan dokunulabilir olsun. Çekmece alt menünün üstünde biter, içi kayar. */
@media (max-width: 1023px) {
  [data-opus-nav] { bottom: calc(var(--opus-alt, 76px) + 6px) !important; overflow-y: auto !important; overscroll-behavior: contain; padding-bottom: 18px !important; }
}
/* Klavye açıkken (opus-klavye.js) form alt çubuğu yapışkan kalmasın: ekranın tepesine fırlayıp yazılan alanı kapatıyordu (6.3.3) */
html.opus-klavye-acik [data-opus-ayak] { position: static !important; box-shadow: none !important; }
/* 2026-11-12 (denetim taraması): iPad/dar masaüstünde iş emri süzgeç satırı ve paket kategori şeridi sayfayı yatay taşırıyordu */
@media (max-width: 1279px) { .flex > .w-full { min-width: 0; } .flex-wrap.justify-between.w-full { min-width: 0; max-width: 100%; } }
.flex > .w-full:has(> .overflow-x-auto) { min-width: 0; max-width: 100%; }
