/* ==========================================================================
   SETTINGS SCREEN STYLES
   ========================================================================== */

.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: rgba(0, 40, 25, 0.4);
  border: 1px solid #006644;
  border-radius: 4px;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 10px;
}

.setting-row label {
  color: #88ccaa;
  font-size: 0.9em;
  min-width: 140px;
  flex: 1;
}

.setting-row input[type="range"] {
  flex: 2;
  min-width: 120px;
  max-width: 200px;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(0, 50, 30, 0.6);
  border: 1px solid #00aa66;
  border-radius: 3px;
  outline: none;
}

.setting-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  background: #00ff88;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(0, 255, 136, 0.5);
}

.setting-row input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: #00ff88;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(0, 255, 136, 0.5);
  border: none;
}

.setting-row span {
  color: #66aaff;
  font-size: 0.85em;
  min-width: 40px;
  text-align: right;
}

/* A muted note shown under setting sections whose gameplay effects are
   not yet wired in. Keeps the player informed without clutter. */
.setting-note {
  color: #5a7a6a;
  font-size: 0.76em;
  font-style: italic;
  padding: 4px 4px 2px;
  letter-spacing: 0.3px;
}

/* Add a little breathing room between sections so the longer settings
   panel stays readable when scrolled. */
#mainDisplay .section + .section {
  margin-top: 14px;
}
