.limbowrap {
  width: min(100%, 620px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 44px 34px 34px;
  border-radius: var(--r-lg);
  background: var(--panel);
}

.dial { text-align: center; }
.dial b {
  display: block;
  font-size: clamp(52px, 10vw, 104px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  transition: color .2s var(--ease);
}
.dial b span { font-size: .48em; opacity: .5; margin-left: 3px; }
.dial > span { display: block; margin-top: 12px; font-size: 13.5px; color: var(--faint); }

.dial.win  b, .dial.win  > span { color: var(--green); }
.dial.lose b, .dial.lose > span { color: var(--red); }
.dial.rolling b { color: var(--text); }

/* ---------- the reach bar ---------- */

.bar {
  position: relative;
  height: 10px;
  border-radius: 100px;
  background: var(--bg);
  overflow: hidden;
}
.bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: 100px;
  background: var(--panel-3);
  transition: width .45s var(--ease), background .2s var(--ease);
}
.bar-fill.win  { background: var(--green); }
.bar-fill.lose { background: var(--red); }

.bar-target {
  position: absolute;
  top: -4px; bottom: -4px;
  width: 3px;
  border-radius: 2px;
  background: #fff;
  transition: left .2s var(--ease);
}

.barlabels {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}
#targetlabel { color: var(--muted); font-weight: 600; }

#bet { width: 100%; }
