.statRow {
  --stat-color: #c589ff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 4.2rem;
  align-items: center;
  gap: 2px 14px;
  margin: 10px 0;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.035);
}
.statRow:has(#s_grooveAgility) { --stat-color: #55e7ff; }
.statRow:has(#s_vibeEnergy) { --stat-color: #ff77dc; }
.statRow:has(#s_raverBond) { --stat-color: #7cffb2; }
.statRow:has(#s_lightShow) { --stat-color: #ffcd75; }
.statRow:has(#s_mindMelt) { --stat-color: #a6b8ff; }
.statRow label { grid-column: 1; margin: 0; color: var(--stat-color); }
.statRow input[type="range"] {
  appearance: none;
  grid-column: 1;
  min-width: 0;
  width: 100%;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.statRow input[type="range"]::-webkit-slider-runnable-track {
  height: 10px;
  border-radius: 10px;
  background: linear-gradient(to right, var(--stat-color) var(--stat-fill, 0%), #342b47 var(--stat-fill, 0%));
}
.statRow input[type="range"]::-moz-range-track {
  height: 10px;
  border-radius: 10px;
  background: linear-gradient(to right, var(--stat-color) var(--stat-fill, 0%), #342b47 var(--stat-fill, 0%));
}
.statRow input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -4px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--stat-color);
  box-shadow: 0 0 10px var(--stat-color);
}
.statRow input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--stat-color);
  box-shadow: 0 0 10px var(--stat-color);
}
.statRow input[type="range"]:focus-visible { outline: 2px solid var(--stat-color); }
.statRow input[type="range"]:disabled { cursor: default; }
.statRow input[type="number"] { grid-column: 2; grid-row: 1 / span 2; width: 100%; }
