html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  background: #000;
  touch-action: none;
}

#viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

#panzoom {
  transform-origin: top left;
  will-change: transform;
  position: absolute;
  top: 0;
  left: 0;
}

#floorplan {
  display: block;
  max-width: none;
  user-select: none;
  -webkit-user-drag: none;
}

.overlay {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 20px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 16px;
  border-radius: 10px;
  z-index: 10;
  animation: fadeOut 3s ease 2s forwards;
}

@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}