/* -----------------------------------------------------------
   GLOBAL RESET (keeps things consistent across browsers)
----------------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* -----------------------------------------------------------
   BASE BODY STYLES
----------------------------------------------------------- */
body {
  font-family: system-ui, sans-serif;
  background: #ffffff;
}

/* -----------------------------------------------------------
   TONE SLIDER WRAPPER
   - Horizontal scroll
   - Smooth scrolling
   - Hidden scrollbar
----------------------------------------------------------- */
.tone-slider {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 8px 4px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;
}

/* Hide scrollbar (Chrome, Safari, Edge) */
.tone-slider::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar (Firefox) */
.tone-slider {
  scrollbar-width: none;
}

/* -----------------------------------------------------------
   TONE CHIP (rounded pill)
----------------------------------------------------------- */
.tone-chip {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px; /* FULL pill shape */
  background-color: #f1f1f1;
  color: #333;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
  border: 1px solid #ddd;
  transition: all 0.2s ease;
  white-space: nowrap;
}

/* Hover effect */
.tone-chip:hover {
  background-color: #e5e5e5;
}

/* -----------------------------------------------------------
   SELECTED TONE CHIP
----------------------------------------------------------- */
.tone-chip.selected {
  background-color: #2563eb; /* Blue highlight */
  color: white;
  border-color: #1d4ed8;
  font-weight: 600;
  transform: scale(1.05);
}

/* -----------------------------------------------------------
   RESPONSIVE TWEAKS
----------------------------------------------------------- */
@media (max-width: 600px) {
  .tone-chip {
    padding: 6px 14px;
    font-size: 13px;
  }
}
