/* ---- Scales and Modes Viewer ---- */
.ls-controls { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 0.8rem; min-height: 40px; align-items: center; }
.ls-select-wrap { position: relative; }
.ls-select { background: #1a1d27; color: #ccc; border: 1.5px solid #2a2d3a; border-radius: 10px; padding: 8px 32px 8px 12px; font-size: 0.8rem; font-weight: 600; cursor: pointer; appearance: none; -webkit-appearance: none; outline: none; transition: border-color 0.15s; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23888' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 12px; }
.ls-select:hover, .ls-select:focus { border-color: #3a3d4a; color: #fff; }
.ls-diagram-area { text-align: center; min-width: 420px; }
.ls-scale-name { font-size: 1.3rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.ls-formula { font-size: 0.9rem; color: #7cb8ff; margin-bottom: 12px; }
/* Ascending / Descending play buttons */
.ls-play-btn {
  padding: 7px 14px;
  border: 1.5px solid #2a2d3a;
  border-radius: 10px;
  background: #1a1d27;
  color: #ccc;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background 0.15s, border-color 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  justify-content: center;
  white-space: nowrap;
}
.ls-play-btn:hover { background: #252836; border-color: #555; color: #fff; }
.ls-play-btn svg { width: 14px; height: 14px; fill: currentColor; }
.ls-degree-chip { display: inline-flex; align-items: center; justify-content: center; padding: 4px 10px; border-radius: 10px; font-size: 0.8rem; font-weight: 600; margin: 3px; }
.ls-degree-chip.root { background: #1c3a5a; color: #7cb8ff; }
.ls-degree-chip.note { background: #2a1a4a; color: #c88aff; }
#ls-songs, #lm-songs { margin-top: 12px; padding-top: 10px; border-top: 2px solid #2a2d3a; }
.ls-harm-card { display: inline-flex; flex-direction: column; align-items: center; background: #1a1d2e; border: 1.5px solid #2a2d3a; border-radius: 10px; padding: 4px 10px 5px; text-align: center; margin: 2px; }
.ls-harm-degree { font-size: 0.58rem; font-weight: 600; opacity: 0.7; letter-spacing: 0.02em; margin-bottom: 1px; color: #ccc; }
.ls-harm-name { font-size: 0.82rem; font-weight: 700; color: #b0b8d0; }
.ls-description { font-size: 0.85rem; color: #a0a8c0; line-height: 1.5; }
.ls-demo-btn.playing { border-color: #555; color: #fff; }
.ls-song-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: #1a1d2e; border: 1.5px solid #2a2d3a; margin-bottom: 6px; }
.ls-song-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.ls-song-title { font-size: 0.85rem; font-weight: 600; color: #e0e0e0; }
.ls-song-artist { font-size: 0.75rem; color: #7cb8ff; margin-top: 2px; }
.ls-song-note { font-size: 0.72rem; color: #6a7090; margin-top: 3px; font-style: italic; }
.ls-song-chords-btn { background: #1a2a1e; color: #7cff8a; border: 1px solid #2a5a3a; border-radius: 10px; padding: 4px 10px; font-size: 0.72rem; text-decoration: none; white-space: nowrap; transition: all 0.15s; }
.ls-song-chords-btn:hover { background: #2a4a3a; }

/* Jazz Standards section header in modes viewer */
.ls-jazz-header {
  font-size: 0.68rem; color: #7cb8ff; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  margin: 12px 0 8px; padding-top: 8px;
  border-top: 2px solid #2a2d3a;
}

/* Responsive */
@media (max-width: 600px) {
  .ls-diagram-area { min-width: 0; }
  .ls-demo-btn { font-size: 0.72rem; padding: 6px 12px; }
  .ls-select { font-size: 0.75rem; padding: 6px 28px 6px 10px; }
  .ls-controls { gap: 6px; }
}
