/* G4.1 Telefonda çekim rehberi (tam ekran kamera + kılavuz) */
body.cr-acik { overflow: hidden; }
.cr-kok { position: fixed; inset: 0; z-index: 1000; background: #000; color: #fff; display: flex; flex-direction: column;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
.cr-ust { display: flex; align-items: center; gap: 0.6rem; padding: 0.5rem 0.75rem; background: rgba(0, 0, 0, 0.6); }
.cr-baslik { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.1rem; }
.cr-baslik strong { font-size: 0.95rem; }
.cr-baslik span { font-size: 0.78rem; color: #cbd5e1; line-height: 1.3; }
.cr-dugme { width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.14); color: #fff;
  display: grid; place-items: center; font-size: 1.1rem; cursor: pointer; flex: none; }
.cr-dugme:disabled { opacity: 0.3; }
.cr-dugme svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; }
.cr-sahne { flex: 1; min-height: 0; display: grid; place-items: center; overflow: hidden; }
.cr-cerceve { position: relative; max-width: 100%; max-height: 100%; aspect-ratio: 4 / 3; width: 100%; }
@supports (height: 1dvh) { .cr-cerceve { max-height: 100%; } }
.cr-cerceve video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; background: #111; }
.cr-cerceve.flas::after { content: ''; position: absolute; inset: 0; background: #fff; animation: cr-flas 0.25s ease-out forwards; }
@keyframes cr-flas { from { opacity: 0.8; } to { opacity: 0; } }
.cr-kilavuz { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cr-kilavuz *, .cr-yedek-svg * { fill: none; vector-effect: non-scaling-stroke; }
.cr-izgara { stroke: rgba(255, 255, 255, 0.25); stroke-width: 1; }
.cr-ana { stroke: #facc15; stroke-width: 2; }
.cr-ufuk { stroke: rgba(56, 189, 248, 0.9); stroke-width: 1.5; stroke-dasharray: 6 4; }
.cr-kutu { stroke: rgba(255, 255, 255, 0.85); stroke-width: 1.5; stroke-dasharray: 10 6; }
.cr-plaka { stroke: #facc15; stroke-width: 2; }
.cr-teker { stroke: rgba(255, 255, 255, 0.7); stroke-width: 1.5; }
.cr-yazi { fill: #facc15 !important; font-size: 3.2px; text-anchor: middle; font-family: var(--font); }
.cr-dikey-uyari { display: none; position: absolute; left: 50%; top: 12px; transform: translateX(-50%); background: rgba(220, 38, 38, 0.9);
  padding: 0.35rem 0.75rem; border-radius: 999px; font-size: 0.85rem; font-weight: 600; white-space: nowrap; }
@media (orientation: portrait) { .cr-dikey-uyari { display: block; } }
.cr-yedek { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; padding: 1rem; text-align: center; color: #cbd5e1; max-width: 520px; }
.cr-yedek-svg, .cr-onizleme { width: min(90vw, 480px); aspect-ratio: 4 / 3; border-radius: 8px; background: #111; object-fit: cover; }
.cr-alt { background: rgba(0, 0, 0, 0.6); padding: 0.5rem 0.75rem 0.75rem; display: flex; flex-direction: column; gap: 0.5rem; }
.cr-serit { display: flex; gap: 0.35rem; overflow-x: auto; scrollbar-width: none; }
.cr-adim { flex: none; width: 44px; height: 33px; border-radius: 5px; border: 2px solid rgba(255, 255, 255, 0.25); background: #1f2937;
  color: #e5e7eb; font-size: 0.8rem; padding: 0; overflow: hidden; cursor: pointer; }
.cr-adim img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cr-adim.cekildi { border-color: #22c55e; }
.cr-adim.secili { border-color: #facc15; }
.cr-kontrol { display: flex; align-items: center; justify-content: center; gap: 2.25rem; }
.cr-deklansor { width: 68px; height: 68px; border-radius: 50%; border: 4px solid #fff; background: rgba(255, 255, 255, 0.85);
  box-shadow: inset 0 0 0 3px #000; cursor: pointer; display: grid; place-items: center; color: #000; }
.cr-deklansor:disabled, .cr-deklansor.pasif { opacity: 0.35; pointer-events: none; }
.cr-deklansor svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 2; }
.cr-uyari { text-align: center; font-size: 0.8rem; color: #fca5a5; }
/* Yatay telefonda: üst ve alt çubuk ince, kontroller sağda */
@media (orientation: landscape) and (max-height: 560px) {
  .cr-kok { flex-direction: row; flex-wrap: wrap; }
  .cr-ust { width: 100%; padding: 0.3rem 0.6rem; }
  .cr-baslik span { display: none; }
  .cr-sahne { height: calc(100% - 52px); }
  .cr-alt { width: 120px; height: calc(100% - 52px); justify-content: center; }
  .cr-serit { display: none; }
  .cr-kontrol { flex-direction: column; gap: 1rem; }
}
