.reading-card {
  margin-bottom: 24px;
}

.level-label {
  color: var(--muted);
  font-weight: 600;
  margin: 10px 0 0;
}

/* ── VexFlow stage (same look as rhythm-lab.css) ─────────────── */
.vex-stage {
  background: linear-gradient(180deg, #fffdf9 0%, var(--staff) 100%);
  border-radius: 16px;
  overflow-x: auto;
  display: flex;
  justify-content: center;
  margin-top: 14px;
  padding: 8px 4px;
}

/* ── Beat dots (same idiom as rhythm-lab.css) ────────────────── */
.beat-dots {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.beat-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.16);
  transition: background 90ms ease, transform 90ms ease, border-color 90ms ease;
}

.beat-dot.is-downbeat {
  width: 28px;
  height: 28px;
}

.beat-dot.is-active {
  background: var(--accent);
  border-color: var(--accent-strong);
  transform: scale(1.15);
}

.beat-dots.phase-count .beat-dot.is-active {
  background: #6facff;
  border-color: #4a8ef0;
}

.beat-dots.phase-go .beat-dot.is-active {
  background: var(--accent);
  border-color: var(--accent-strong);
}

/* ── Controls row ─────────────────────────────────────────────── */
.reading-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.reading-start-btn {
  border: none;
  cursor: pointer;
  font: inherit;
}

/* ── Answer buttons: keep them live during the performance window ── */
.reading-answer-buttons {
  margin-top: 20px;
}

.note-button.is-tapped {
  transform: scale(0.94);
}

/* ── Per-note result chips ───────────────────────────────────── */
.note-results {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
  min-height: 40px;
}

.note-result-chip {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}

.note-result-chip.is-hit {
  background: rgba(78, 204, 163, 0.18);
  color: #9df1d5;
}

.note-result-chip.is-partial {
  background: rgba(255, 176, 79, 0.18);
  color: #ffe2bd;
}

.note-result-chip.is-miss {
  background: rgba(233, 69, 96, 0.18);
  color: #ffb7c2;
}

@media (max-width: 760px) {
  .reading-controls {
    flex-direction: column;
  }
}
