a-scene {
  height: 640px;        /* Fixed height or use viewport units like 50vh */
  margin: 0 auto;
  display: block;
  position: relative;
}

#sharedVRScene {
  width: 100%;
  height: 50vh;
  transition: opacity 0.3s ease;
}