/* The streak wheel (client/src/streakWheel.ts, item 721): a dialog over the page. The streak pips are in rewards.css. */
/* The wheel: equal slices, the odds in the line under it; the server picks the slice before it turns. */
.wheel-back {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  background: rgba(20, 20, 30, 0.6);
}
.wheel-box {
  display: grid;
  justify-items: center;
  gap: 10px;
  width: min(92vw, 360px);
  padding: 18px;
  border: 3px solid var(--ink);
  border-radius: 18px;
  background: var(--paper);
  color: var(--ink);
  font: 800 13px/1.3 var(--head);
  text-align: center;
}
.wheel-title {
  font: 900 18px var(--head);
  letter-spacing: 0.08em;
}
.wheel {
  position: relative;
  width: min(72vw, 260px);
  aspect-ratio: 1;
}
.wheel-disc {
  position: absolute;
  inset: 0;
  border: 4px solid var(--ink);
  border-radius: 50%;
}
.wheel-slice {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  transform: rotate(var(--a)) translateY(-86px);
  white-space: nowrap;
  font: 900 11px var(--head);
}
.wheel-pointer {
  position: absolute;
  left: 50%;
  top: -10px;
  width: 0;
  height: 0;
  margin-left: -10px;
  border: 10px solid transparent;
  border-top: 20px solid var(--ink);
}
.wheel-result {
  margin: 0;
  min-height: 2.6em;
  font-size: 15px;
}
.wheel-result.jackpot {
  color: #d4380d;
}
.wheel-odds {
  margin: 0;
  font-size: 10px;
  font-weight: 700;
  opacity: 0.7;
}

/* A short window: the right column also holds the daily card and, in Haunted Week, the pass strip, and the room code card sits
   under it. The tips go and the streak card keeps only its track (the pips' tooltips say what a day pays). */
@media (max-height: 1000px) {
  #gear .tips-card,
  #gear .streak-pay {
    display: none;
  }
  #gear .streak {
    gap: 6px;
    padding: 8px 16px 10px;
  }
}
