.vto-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
}

.vto-modal.is-open {
  display: flex;
}

#output_canvas {
  display: block;
  max-width: 92vw;
  max-height: 82vh;
  background: #000;
  border-radius: 12px;
}

.vto-controls {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  gap: 12px;
  background: #fff;
  padding: 12px 16px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  z-index: 2001;
}

.vto-controls.is-open {
  display: flex;
}

.glass-selector {
  display: flex;
  gap: 8px;
  max-width: 62vw;
  overflow-x: auto;
}

.glass-item {
  width: 56px;
  height: 36px;
  object-fit: contain;
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  background: #fff;
}

.glass-item.active {
  border-color: #9c4fe7;
}

.loading-overlay {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  display: none;
  z-index: 2002;
}

.is-vto-hidden {
  display: none !important;
}
