/* Game kit (game review K0-K4). Tokens and rem only; motion is CSS transforms only and every
   animation has a still twin under prefers-reduced-motion (final state at once). */

/* Result screen: one calm card, read top to bottom. */
.round-result {
  max-width: 28rem; margin: var(--sp-5) auto; padding: var(--sp-5) var(--sp-4);
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-1);
  display: grid; gap: var(--sp-3); text-align: center;
}
.round-result > * { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.rr-h { font-size: var(--fs-2xl); line-height: 1.2; }
.rr-h:focus { outline: none; }
.rr-h:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: var(--r-sm); }

.rr-stars { display: flex; justify-content: center; gap: var(--sp-2); color: var(--accent); }
.rr-star .icon { width: 2.25rem; height: 2.25rem; display: block; }
.rr-star.is-on .icon { fill: currentColor; animation: rr-pop 240ms var(--ease) both; animation-delay: calc(var(--i, 0) * 150ms); }
.rr-star.is-off { color: var(--border-strong); }   /* outline only: the shape says it, the line below says it in words */
.rr-firsttry { color: var(--muted); }

.rr-points { font-size: var(--fs-xl); font-weight: 700; margin-top: var(--sp-2); }
.rr-points-max { font-size: var(--fs-md); font-weight: 500; color: var(--muted); }

.rr-meter-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--sp-2) var(--sp-3); }
.rr-meter-label { font-weight: 600; }
.rr-bar { flex: 1 1 6rem; max-width: 12rem; height: 0.625rem; border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--border-strong); overflow: hidden; }
.rr-bar-fill { display: block; height: 100%; background: var(--accent); transform-origin: left center; animation: rr-grow 400ms var(--ease) both; }
.rr-meter-count { font-variant-numeric: tabular-nums; }

.rr-day { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-2) var(--sp-5); }
.rr-day-part { display: inline-flex; align-items: center; gap: var(--sp-2); margin: 0; }
.rr-ring { width: 1.5rem; height: 1.5rem; flex: none; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.rr-ring-track { stroke: var(--border-strong); }
.rr-ring-arc { stroke: var(--accent); }
.rr-ring-tick { stroke: var(--accent); stroke-width: 2; }
.rr-flame { color: var(--accent); width: 1.5rem; height: 1.5rem; }
.rr-flame.is-off { color: var(--muted); }

.rr-actions { display: grid; gap: var(--sp-3); margin-top: var(--sp-3); }
.rr-next { width: 100%; min-height: max(48px, 3rem); font-size: var(--fs-lg); font-weight: 700; }
.rr-quiet { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-1) var(--sp-5); margin: 0; }
.rr-link, button.rr-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: max(48px, 3rem) !important; min-width: 3rem; padding: 0 var(--sp-2);
  color: var(--accent); background: none; font: inherit; font-weight: 500; text-decoration: underline;
}
.rr-answers { list-style: none; padding: 0; text-align: left; display: grid; gap: var(--sp-2); }
.rr-answers[hidden] { display: none; }
.rr-answers li { display: flex; flex-wrap: wrap; gap: var(--sp-1) var(--sp-2); align-items: baseline; padding: var(--sp-2) var(--sp-3); border-radius: var(--r-sm); background: var(--surface-2); }
.rr-answer-mark { font-weight: 700; width: 1.25rem; flex: none; }
.rr-answer-text { font-weight: 600; }

@keyframes rr-pop { from { transform: scale(0.4); } to { transform: none; } }
@keyframes rr-grow { from { transform: scaleX(0); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .rr-star.is-on .icon, .rr-bar-fill { animation: none; }
}

/* Today: One more round (done card and the list's finished box) is a full-size target. */
.today-done .today-onemore, .start-card .today-onemore { min-height: max(48px, 3rem) !important; padding: 0 var(--sp-2); }
/* "Done for today" as a line, not a headline, while Next round is still the main button (t118). */
.start-status { color: var(--muted); font-weight: 600; margin: 0; }

/* Start card (moved here from today.css by the player card: the shared kit card, R34) */
.start-card {
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--sp-4);
  display: grid; gap: var(--sp-2);
}
.start-card h2 { font-size: var(--fs-lg); margin: 0; }
.start-meta { color: var(--muted); margin: 0; }
.start-play { display: block; width: 100%; min-height: 48px; margin-top: var(--sp-3); text-align: center; box-sizing: border-box; }
.start-quiet, .start-more { justify-self: start; min-height: 44px; display: inline-flex; align-items: center; }
.start-more { font-size: var(--fs-md); }
