.wheelwrap {
  position: relative;
  width: min(100%, min(70vh, 560px));
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

#wheel { display: block; width: 100%; height: 100%; }

/* the marker the wheel comes to rest under */
.pointer {
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 13px solid transparent;
  border-right: 13px solid transparent;
  border-top: 26px solid #FFFFFF;
  z-index: 3;
}

/* centre cap showing the result */
.hub {
  position: absolute;
  width: 30%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: var(--panel);
  border: 3px solid var(--panel-3);
  z-index: 2;
}
.hub .label { font-size: 11px; color: var(--faint); }
.hub b {
  font-size: clamp(20px, 4.2vw, 36px);
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--faint);
  transition: color .25s var(--ease);
}
.hub.win b  { color: var(--green); }
.hub.zero b { color: var(--red); }

#spin { width: 100%; }
