body, html {
  margin: 0;
  padding: 0;
  overflow: hidden;
  font-family: sans-serif;
  background: #CE0F69;
}

canvas {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.ui-container {
  position: absolute;
  top: 200px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
}

.ui-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: auto;
  height: auto%;
  border-radius: 200px;
  border: 0px solid #fff;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 56px 8px 56px 8px;
  flex-direction: column;
}

.drag-handle {
  position: absolute;
  top: -32px;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 16px;
  width: 16px;
  cursor: grab;
  color: white;
  user-select: none;
  touch-action: none;
  z-index: 15;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  border: none;
}

.drag-handle:active {
  cursor: grabbing;
}

.drag-handle.dragging {
  cursor: grabbing;
}

.drag-handle:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 2px;
}
.control {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 24px 0 24px 0;
}

.control-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.control-group-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0px;
}

.control-group label {
  font-size: 14px;
}

.control-group input[type=number] {
  font-size: 14px;
  text-align: right;
  width: 60px;
  padding: 4px;
  background: transparent;
  color: white;
  border: none;
  border-bottom: 0px solid white;
}

.control-group input[type=range] {
  width: 120px;
  margin-top: 4px;
  -webkit-appearance: none;
  height: 4px;
  border-radius: 6px;
  background: #ffffff;
  outline: none;
}


input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  margin-top: -2px;
}

input[type="color"].pill {
  width: 35px;                 /* Width of the pill */
  height: 62px;                /* Height of the pill */
  transform: rotate(0deg);    /* Rotate the pill */
  border-radius: 50px;         /* Rounded edges to make it pill-shaped */
  border: 0px solid #fff;      /* White border */
  background: transparent;     /* Transparent background */
  padding: 0;                  /* Remove default padding */
  cursor: pointer;            /* Change cursor to indicate it's clickable */
  -webkit-appearance: none;    /* Remove default styles in Webkit browsers */
  appearance: none;            /* Remove default styles in other browsers */
}

input[type="color"].pill::-webkit-color-swatch {
  border-radius: 50px;         /* Ensure the swatch is fully rounded */
  border: none;                /* Remove any border on the swatch itself */
  background: transparent;     /* Allow the background to show through */
}

input[type="color"].pill::-webkit-color-swatch-wrapper {
  border-radius: 50px;         /* Ensure the background is also rounded */
}

input[type="color"]:focus {
  outline: none;               /* Remove the focus outline */
}


input[type=text] {
  width: 80px;
  background: transparent;
  color: white;
  border: none;
  border-bottom: 0px solid white;
  font-size: 18px;
  text-align: center;
}

.control.color {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.control.color label {
  margin-bottom: 4px;
  text-align: left;
}

.control.color .hex-input-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
