/* Voro — Kamera rakurslari v2: sayt panel uslubiga mos, ixcham, yig'ilma */
.vct {
  --vct-accent: #2BD4FF;
  --vct-accent-2: #189bd1;
  --vct-glow: rgba(43, 212, 255, 0.4);
  --vct-soft: rgba(43, 212, 255, 0.10);
  --vct-bg: rgba(255, 255, 255, 0.05);
  --vct-border: rgba(255, 255, 255, 0.10);
  --vct-text: #F5F7FA;
  --vct-dim: rgba(236, 241, 248, 0.55);
  --vct-danger: #ff6b6b;
  color: var(--vct-text);
}

/* Yig'ilma sarlavha — saytdagi label qatorlari uslubida */
.vct-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 9px 2px;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  font-family: inherit;
}
.vct-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--vct-dim);
}
.vct-count {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--vct-dim);
}
.vct-chev {
  width: 14px;
  height: 14px;
  display: block;
  transition: transform 0.18s ease;
}
.vct-chev svg { width: 100%; height: 100%; display: block; }
.vct-head.is-open .vct-chev { transform: rotate(180deg); }
.vct-head.is-open .vct-title { color: var(--vct-accent); }

.vct-card {
  background: var(--vct-bg);
  border: 1px solid var(--vct-border);
  border-radius: 14px;
  padding: 12px;
}

.vct-hint {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--vct-dim);
}

/* ── Timeline ── */
.vct-track-wrap { padding: 22px 6px 2px; }
.vct-track {
  position: relative;
  height: 8px;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--vct-soft), rgba(43, 212, 255, 0.28));
  box-shadow: inset 0 0 0 1px var(--vct-border);
  cursor: copy;
}
.vct-tick {
  position: absolute;
  top: 2px;
  width: 2px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.16);
  transform: translateX(-1px);
  pointer-events: none;
}
.vct-marker {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #101822;
  border: 2px solid var(--vct-accent);
  box-shadow: 0 0 6px rgba(43, 212, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  touch-action: none;
  padding: 0;
  z-index: 2;
  transition: box-shadow 0.15s ease, background 0.15s ease;
}
.vct-marker:active { cursor: grabbing; }
.vct-marker.is-active {
  background: linear-gradient(180deg, var(--vct-accent), var(--vct-accent-2));
  box-shadow: 0 0 14px var(--vct-glow);
  z-index: 3;
}
.vct-marker-icon { width: 14px; height: 14px; display: block; color: var(--vct-accent); }
.vct-marker.is-active .vct-marker-icon { color: #04212f; }
.vct-marker-icon svg { width: 100%; height: 100%; display: block; }
.vct-marker-time {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 600;
  color: var(--vct-dim);
  white-space: nowrap;
  pointer-events: none;
}
.vct-marker.is-active .vct-marker-time { color: var(--vct-accent); }

.vct-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  padding: 0 6px;
  font-size: 11px;
  color: var(--vct-dim);
}

/* ── Rakurs paneli: bitta gorizontal scroll-qator ── */
.vct-panel {
  margin-top: 12px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(43, 212, 255, 0.05);
  border: 1px solid var(--vct-border);
}
.vct-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
  font-size: 12.5px;
  font-weight: 600;
}
.vct-del {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  color: var(--vct-danger);
  font-size: 12px;
  cursor: pointer;
  padding: 3px 7px;
  border-radius: 8px;
  font-family: inherit;
  transition: background 0.15s ease;
}
.vct-del:hover { background: rgba(255, 107, 107, 0.1); }
.vct-del svg { width: 14px; height: 14px; }

.vct-grid {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.vct-grid::-webkit-scrollbar { display: none; }
.vct-angle {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--vct-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--vct-text);
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s ease;
}
.vct-angle:hover { border-color: rgba(43, 212, 255, 0.5); }
.vct-angle.is-active {
  background: linear-gradient(180deg, var(--vct-accent), var(--vct-accent-2));
  border-color: var(--vct-accent);
  color: #04212f;
  font-weight: 700;
  box-shadow: 0 0 10px var(--vct-glow);
}
.vct-angle-icon { width: 15px; height: 15px; display: block; }
.vct-angle-icon svg { width: 100%; height: 100%; display: block; }

@media (prefers-reduced-motion: reduce) {
  .vct * { transition: none !important; }
}
