#joystick-area {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 140px;
  height: 140px;
  /* so it doesn't interfere with clicks outside */
  touch-action: none;
  z-index: 100000;
}

.vj-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.vj-base {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
}

.vj-stick {
  position: absolute;
  width: 45%;
  height: 45%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  touch-action: none;
}

/* Container for the 4 buttons */
.face-buttons {
  position: fixed;      /* change to absolute if you want it inside another element */
  right: 20px;
  bottom: 80px;
  width: 130px;
  height: 130px;
}

/* Base style for each button */
.face-buttons .btn {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;

  /* Black “special” gradient */
  background: radial-gradient(circle at 30% 30%, #333 0%, #050505 40%, #000 100%);
  border: 2px solid #111;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);

  /* Icon base style (color overridden per button below) */
  font-family: system-ui, sans-serif;
  font-size: 26px;
  font-weight: 600;
}

/* Use data-label for the symbol */
.face-buttons .btn::before {
  content: attr(data-label);
}

/* Diamond layout positions */
.face-buttons .btn-top {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.face-buttons .btn-right {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.face-buttons .btn-bottom {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.face-buttons .btn-left {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

/* Only icon colors (no colored borders/backgrounds) */
.face-buttons .btn-top::before {
  color: #00ff7f;  /* triangle green */
}

.face-buttons .btn-right::before {
  color: #ff4f6b;  /* circle pink/red */
}

.face-buttons .btn-bottom::before {
  color: #3fa8ff;  /* cross blue */
}

.face-buttons .btn-left::before {
  color: #ffb347;  /* square orange */
}
