/* V4.79 - Kamera Engel Yardımı + Titreşimli Navigasyon */
.camera-assist-overlay{
  position:fixed;inset:0;z-index:2100;background:#06141b;color:#fff;overflow:hidden;
  font-family:inherit
}
.camera-assist-overlay[hidden]{display:none!important}
.camera-assist-video{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#07151c
}
.camera-assist-dim{
  position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(to bottom,rgba(2,12,17,.7) 0%,rgba(2,12,17,.12) 24%,rgba(2,12,17,.08) 57%,rgba(2,12,17,.78) 100%)
}
.camera-assist-topbar{
  position:absolute;z-index:3;top:0;left:0;right:0;
  padding:calc(12px + env(safe-area-inset-top)) 12px 12px;
  display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:10px
}
.camera-assist-topbar button{
  width:44px;height:44px;border:1px solid rgba(255,255,255,.24);border-radius:14px;
  background:rgba(5,28,39,.72);color:#fff;font-size:24px;font-weight:900;
  backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)
}
.camera-assist-topbar div{text-align:center;min-width:0}
.camera-assist-topbar small{
  display:block;font-size:8px;letter-spacing:.11em;color:#9fe1cf;font-weight:900
}
.camera-assist-topbar strong{display:block;margin-top:2px;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.camera-assist-reticle{
  position:absolute;z-index:2;left:50%;top:45%;width:min(64vw,260px);height:min(42vw,170px);
  transform:translate(-50%,-50%);pointer-events:none
}
.camera-assist-reticle span{position:absolute;width:42px;height:42px;border-color:#ffe169;border-style:solid}
.camera-assist-reticle span:nth-child(1){left:0;top:0;border-width:4px 0 0 4px;border-radius:13px 0 0 0}
.camera-assist-reticle span:nth-child(2){right:0;top:0;border-width:4px 4px 0 0;border-radius:0 13px 0 0}
.camera-assist-reticle span:nth-child(3){left:0;bottom:0;border-width:0 0 4px 4px;border-radius:0 0 0 13px}
.camera-assist-reticle span:nth-child(4){right:0;bottom:0;border-width:0 4px 4px 0;border-radius:0 0 13px 0}

.camera-assist-guidance{
  position:absolute;z-index:3;left:12px;right:12px;bottom:calc(155px + env(safe-area-inset-bottom));
  padding:12px 13px;border:1px solid rgba(255,255,255,.18);border-radius:17px;
  background:rgba(5,30,40,.80);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)
}
.camera-assist-guidance.is-hazard{background:rgba(105,37,26,.88);border-color:rgba(255,203,100,.42)}
.camera-assist-guidance small{display:block;font-size:8px;letter-spacing:.09em;color:#9fded0;font-weight:900}
.camera-assist-guidance.is-hazard small{color:#ffd36d}
.camera-assist-guidance strong{display:block;margin-top:4px;font-size:17px;line-height:1.2}
.camera-assist-guidance p{margin:5px 0 0;color:#dce9ec;font-size:10px;line-height:1.45}
.camera-assist-badges{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}
.camera-assist-badges span{
  padding:5px 7px;border-radius:999px;background:rgba(255,255,255,.12);font-size:8px;font-weight:900
}

.camera-assist-bottom{
  position:absolute;z-index:3;left:12px;right:12px;bottom:calc(72px + env(safe-area-inset-bottom));
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px
}
.camera-assist-bottom button{
  min-height:57px;border:1px solid rgba(255,255,255,.18);border-radius:15px;
  background:rgba(5,30,40,.80);color:#fff;padding:6px 4px;
  display:grid;place-items:center;align-content:center;gap:2px;
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)
}
.camera-assist-bottom button span{font-size:18px}
.camera-assist-bottom button b{font-size:8px}
.camera-assist-bottom button[aria-pressed="true"]{background:#0b876d;border-color:#3ad1aa}
#cameraAssistReport{background:#7f3329;border-color:#bf6b5e}

.camera-assist-note{
  position:absolute;z-index:3;left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom));
  color:#d1dde0;background:rgba(3,20,28,.78);border-radius:11px;padding:7px 9px;
  font-size:7px;line-height:1.35;text-align:center
}

/* Safety menüde haptic açık durum */
#hapticNavToggleBtn[aria-pressed="true"] b{
  background:#0b876d!important;color:#fff!important
}
#hapticNavToggleBtn[aria-pressed="true"] small{color:#0b876d;font-weight:900}

@media(max-width:390px){
  .camera-assist-guidance{bottom:calc(150px + env(safe-area-inset-bottom))}
  .camera-assist-guidance strong{font-size:15px}
  .camera-assist-bottom{bottom:calc(70px + env(safe-area-inset-bottom))}
}
