* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000000;
  user-select: none;
}

#glCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
}

#glCanvas:active {
  cursor: grabbing;
}

.corner-tools {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 5;
  display: flex;
  gap: 8px;
  opacity: 0.18;
  transition: opacity 0.25s ease;
}

.corner-tools:hover {
  opacity: 0.92;
}

.corner-tools button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(12, 12, 16, 0.72);
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.corner-tools button:hover {
  transform: scale(1.08);
  border-color: rgba(255, 255, 255, 0.45);
}
