.rhythm-bootcamp__panel {
  background: var(--jm-glass-bg, var(--bs-tertiary-bg));
  border: 1px solid var(--jm-border-soft, var(--bs-border-color));
  border-radius: .5rem;
}

.rhythm-bootcamp__score {
  width: 100%;
  min-width: 0;
  min-height: 360px;
  overflow-x: auto;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--jm-border-soft, var(--bs-border-color));
  border-radius: .5rem;
  background: var(--bs-body-bg);
}

.rhythm-bootcamp__score svg {
  max-width: 100%;
  height: auto;
}

.rhythm-bootcamp__score > div {
  width: 100%;
  min-width: 0;
}

.rhythm-bootcamp__inline-action {
  padding-inline: .85rem;
  border-radius: 999px;
}

.rhythm-bootcamp__tap-button {
  min-height: 3rem;
  border-radius: 999px;
  touch-action: manipulation;
}

.rhythm-bootcamp__stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
}

.rhythm-bootcamp__reproduce {
  border: 1px dashed var(--jm-border-soft, var(--bs-border-color));
  border-radius: .5rem;
}

.rhythm-bootcamp__chart {
  height: 190px;
}

.rhythm-bootcamp__metronome-led {
  flex: 0 0 .85rem;
  width: .85rem;
  height: .85rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--bs-secondary) 55%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bs-body-color) 18%, transparent);
  transition: background-color 80ms ease, box-shadow 80ms ease, transform 80ms ease;
}

.rhythm-bootcamp__metronome-led.is-active {
  background: var(--bs-success);
  box-shadow: 0 0 0 .18rem color-mix(in srgb, var(--bs-success) 24%, transparent), 0 0 .85rem color-mix(in srgb, var(--bs-success) 80%, transparent);
  transform: scale(1.15);
}

.rhythm-bootcamp__metronome-led.is-downbeat {
  background: var(--bs-warning);
  box-shadow: 0 0 0 .18rem color-mix(in srgb, var(--bs-warning) 28%, transparent), 0 0 .95rem color-mix(in srgb, var(--bs-warning) 82%, transparent);
}

@media (max-width: 575.98px) {
  .rhythm-bootcamp__score {
    min-height: 280px;
    padding: .75rem;
  }

  .rhythm-bootcamp__stats-grid {
    grid-template-columns: 1fr;
  }
}
