* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: #0a0a0f;
  color: #c8c8d0;
  font-family: 'SF Mono', 'Fira Code', monospace;
  overflow: hidden;
}

canvas {
  display: block;
  width: 100vw;
  height: 100vh;
  cursor: crosshair;
}

#hud {
  position: fixed;
  top: 16px;
  left: 16px;
  pointer-events: none;
  z-index: 10;
}

#zoom-label {
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #6a6a80;
  margin-bottom: 4px;
}

#stats {
  font-size: 11px;
  color: #4a4a5a;
}

#zoom-bar {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 2px;
  background: rgba(20, 20, 30, 0.85);
  border: 1px solid #2a2a3a;
  border-radius: 6px;
  padding: 4px;
  z-index: 10;
}

#zoom-bar button {
  background: transparent;
  border: none;
  color: #6a6a80;
  font-family: inherit;
  font-size: 11px;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

#zoom-bar button:hover {
  color: #a0a0b8;
  background: rgba(60, 60, 80, 0.4);
}

#zoom-bar button.active {
  color: #d0d0e0;
  background: rgba(80, 80, 120, 0.5);
}

#probe {
  position: fixed;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  width: 280px;
  max-height: 60vh;
  background: rgba(16, 16, 24, 0.95);
  border: 1px solid #2a2a3a;
  border-radius: 8px;
  padding: 16px;
  overflow-y: auto;
  z-index: 20;
  transition: opacity 0.3s;
}

#probe.hidden {
  opacity: 0;
  pointer-events: none;
}

#probe-title {
  font-size: 15px;
  font-weight: 600;
  color: #e0e0f0;
  margin-bottom: 10px;
  line-height: 1.3;
}

#probe-tags {
  font-size: 11px;
  color: #8888a0;
  margin-bottom: 10px;
  line-height: 1.6;
}

#probe-tags span {
  display: inline-block;
  background: rgba(60, 60, 100, 0.3);
  padding: 2px 6px;
  border-radius: 3px;
  margin: 1px 2px;
}

#probe-edges {
  font-size: 11px;
  color: #7070a0;
  line-height: 1.6;
}

#probe-edges div {
  padding: 2px 0;
  border-bottom: 1px solid rgba(40, 40, 60, 0.5);
}

#probe-close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  color: #6a6a80;
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
}
