
body {
  margin: 0;
  font-family: Rubik, sans-serif;
  background: linear-gradient(to bottom, #cceeff, #ffffff);
  overflow: hidden;
  height: 100vh;
}
.controls {
  position: absolute;
  top: 10px;
  left: 10px;
  background: white;
  padding: 12px;
  border-radius: 10px;
  z-index: 10;
}
.controls label {
  display: block;
  margin-bottom: 10px;
}
#canvas {
  position: relative;
  width: 100vw;
  height: 100vh;
}
.balloon {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffffff88, currentColor 80%);
  box-shadow: inset -5px -10px 15px rgba(255,255,255,0.6), 0 8px 15px rgba(0,0,0,0.2);
  color: black;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  cursor: grab;
  user-select: none;
  padding: 4px;
}
.balloon span {
  padding: 5px;
  text-align: center;
  word-break: break-word;
}
.string {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 40px;
  background-color: #444;
}
.hint {
  position: absolute;
  top: 105%;
  left: 50%;
  transform: translateX(-50%);
  background: #ff4081;
  color: white;
  padding: 2px 6px;
  font-size: 12px;
  border-radius: 6px;
  white-space: nowrap;
  z-index: 5;
}
