/* 3B görüntüleyici: hem sitede hem yönetim ekranında kullanılır. */
.vr-viewer { position: relative; width: 100%; aspect-ratio: 4 / 3; min-height: 320px; overflow: hidden; touch-action: pan-y; user-select: none;
  border: 1px solid #2d343c; direction: ltr;
  background: radial-gradient(ellipse at 50% 38%, #26303a 0%, #14181c 62%, #0d1013 100%); }
.vr-viewer canvas { display: block; width: 100%; height: 100%; cursor: grab; }
.vr-viewer canvas:active { cursor: grabbing; }
.vr-viewer-off { display: grid; place-items: center; color: #9aa4b1; padding: 24px; text-align: center; }
.vr-markers { position: absolute; inset: 0; pointer-events: none; }
.vr-marker { position: absolute; left: 0; top: 0; margin: -13px 0 0 -13px; padding: 0; border: 0; background: none; pointer-events: auto; cursor: pointer;
  display: flex; align-items: center; gap: 6px; color: #F1F2F6; transition: opacity .2s; }
.vr-marker b { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #00A8FF; color: #03141d;
  font: 700 12px/1 "JetBrains Mono", ui-monospace, Menlo, monospace; box-shadow: 0 0 0 3px rgba(0,168,255,.28), 0 2px 6px rgba(0,0,0,.5); }
.vr-marker span { display: none; white-space: nowrap; background: rgba(16,18,20,.92); border: 1px solid #00A8FF; padding: 4px 8px;
  font: 600 12px/1.2 "Inter", system-ui, sans-serif; }
.vr-marker:hover span, .vr-marker:focus-visible span, .vr-marker.sel span { display: block; }
.vr-marker:hover, .vr-marker.sel { z-index: 3; }
.vr-marker.sel b { background: #FF9F43; box-shadow: 0 0 0 4px rgba(255,159,67,.35), 0 2px 6px rgba(0,0,0,.5); }
.vr-marker.behind { opacity: .35; }
.vr-marker:focus-visible b { outline: 2px solid #fff; outline-offset: 2px; }
.vr-tools { position: absolute; right: 10px; bottom: 10px; display: flex; flex-direction: column; gap: 4px; }
.vr-tools button { width: 32px; height: 32px; border: 1px solid #2d343c; background: rgba(23,26,30,.9); color: #F1F2F6; font: 600 16px/1 system-ui, sans-serif; cursor: pointer; }
.vr-tools button:hover { border-color: #00A8FF; }
.vr-hint { position: absolute; left: 12px; bottom: 10px; font: 400 11px/1.3 "JetBrains Mono", ui-monospace, monospace; color: #9aa4b1; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .vr-marker { transition: none; } }

/* Uzay ortamı: koyu gökyüzü, yıldızlar sahnede çizilir. */
.vr-viewer.vr-space { background: radial-gradient(ellipse at 70% 20%, #1a2340 0%, #0a0d18 55%, #04050a 100%); border-color: #232b3d; }
.vr-viewer.vr-space-planetary { background: linear-gradient(180deg, #120c12 0%, #2a1610 70%, #3a1d12 100%); }
.vr-viewer.vr-sea { background: linear-gradient(180deg, #1c2a38 0%, #14202b 48%, #0b2a3c 52%, #061520 100%); }
