/* ======================================================================
   BLACK.STUDIO — STYLES (viewer)
   ====================================================================== */

black-viewer {
  display: block;
  position: relative;
  width: 100%;
  /* fallback height; viewer.js pode sobrescrever via project.height */
 height: 528px;
}

/* Container que receberá o WebGL */
.viewer-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  touch-action: none; /* importante para gestos touch no mobile */
}

/* Loading básico */
.viewer-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: sans-serif;
  color: #fff;
  opacity: 0.9;
  pointer-events: none;
  z-index: 20;
}
