canvas {
  background-color: white;
  cursor: crosshair;
  max-width:300px;
  max-height:300px;
}
#adv-image {
  image-rendering: pixelated;
  width: 50%;
  max-width:300px;
  aspect-ratio: 1 / 1;
  border: 1px solid #ccc;
  margin-top: 10px;
  float: left;
}
#preview28 {
  image-rendering: pixelated;
  width: 50%;
  max-width:300px;
  aspect-ratio: 1 / 1;
  border: 1px solid #ccc;
  margin-top: 10px;
  float: left;
}
.prob_display {
  float:left;
  margin-top:20px;
  padding-left:10px;
}
.prob-wrapper {
  display: flex;
  align-items: center;
  margin: 1px 0;
}

.prob-label {
  width: 12px;
}

.prob-active {
  font-weight: bold;
}
.prob-inactive {
  font-weight: normal;
}

.prob-bar-outer {
  width:100px;
  height: 12px;
  margin-left: 8px;
  background-color: #eee;
  border-radius: 4px;
  overflow: hidden;
}

.prob-bar-inner {
  height: 100%;
  background-color: #4A90E2;
  transition: width 0.3s ease;
}

.prob-percentage {
  margin-left: 8px;
  white-space: nowrap;
  font-size: 12px;
}

#epsilon-slider {
  flex-grow: 1;
}
#epsilon-value {
  min-width: 40px;
  text-align: right;
}