/* Guess the split: stage on top, one fixed-height hero card in the bottom third. Streak + best live in the HUD panel's second row. */
.guess { gap: 8px; }
.guess-stat { gap: 12px; white-space: nowrap; }
.guess-streak { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-s); font-weight: 800; font-variant-numeric: tabular-nums; color: var(--text); }
.guess-best { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--quiet); }
.guess .play-stage-wrap { min-height: 150px; }
.guess-panel { min-height: 216px; display: flex; }
.guess-card { flex: 1; display: grid; gap: 8px; text-align: center; padding: 14px 16px; align-content: center; justify-items: center; overflow: hidden; }
.guess-card > .pill-action.wide, .guess-card > .guess-slider, .guess-card > .btn-quiet { width: 100%; }
.guess-card > .btn-quiet { min-height: 44px; }
.guess-card p { margin: 0; }
.guess-ask { font-size: var(--fs-l); font-weight: 800; line-height: 1.15; }
.guess-pct { font-size: var(--fs-xl); }
.guess-lr { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; }
.guess-tile { display: grid; gap: 2px; padding: 8px 8px; text-align: center; }
.guess-tile .label { margin: 0; }
.guess-goal { color: var(--mint); font-size: var(--fs-s); }
.guess-card .end-wave { width: calc(100% + 32px); margin: 0 -16px; }
/* tier-coloured glass chip for the verdict */
.chip.guess-verdict {
  min-height: 32px; padding: 0 16px; font-size: var(--fs-s);
  background: color-mix(in srgb, var(--tier) 20%, rgba(20, 14, 56, .7)); color: var(--tier);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--tier) 75%, transparent), 0 0 18px color-mix(in srgb, var(--tier) 40%, transparent);
  animation: play-pop 320ms cubic-bezier(.34, 1.56, .64, 1);
}

.guess-slider { --v: 50%; -webkit-appearance: none; appearance: none; height: 48px; background: transparent; margin: 0; touch-action: pan-y; }
.guess-slider::-webkit-slider-runnable-track { height: 12px; border-radius: 6px; background: linear-gradient(90deg, #FF9A5C, #FF4F7B var(--v), rgba(255, 255, 255, .16) var(--v)); box-shadow: 0 0 12px rgba(255, 79, 123, .25); }
.guess-slider::-moz-range-track { height: 12px; border-radius: 6px; background: rgba(255, 255, 255, .16); }
.guess-slider::-moz-range-progress { height: 12px; border-radius: 6px; background: linear-gradient(90deg, #FF9A5C, #FF4F7B); }
.guess-slider::-webkit-slider-thumb {
  -webkit-appearance: none; width: 40px; height: 40px; margin-top: -14px; border-radius: 50%; border: 0;
  background: radial-gradient(circle at 38% 30%, #fff, #E6D9FF 70%);
  box-shadow: 0 0 0 4px rgba(178, 140, 255, .5), 0 0 18px rgba(255, 106, 213, .55), 0 2px 10px rgba(0, 0, 0, .4);
}
.guess-slider::-moz-range-thumb {
  width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: radial-gradient(circle at 38% 30%, #fff, #E6D9FF 70%);
  box-shadow: 0 0 0 4px rgba(178, 140, 255, .5), 0 0 18px rgba(255, 106, 213, .55), 0 2px 10px rgba(0, 0, 0, .4);
}
.guess-slider:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; border-radius: 24px; }
@media (max-height: 700px) {
  .guess-panel { min-height: 186px; }
  .guess-card { gap: 4px; padding: 10px 16px; }
  .guess-ask { font-size: var(--fs-m); }
  .guess-pct { font-size: var(--fs-xl); }
  .guess-tile { padding: 4px 8px; }
}
.guess-valrow { display: flex; align-items: baseline; justify-content: center; gap: 10px; }
.guess-valrow .guess-rest { font-size: var(--fs-s); }
