/* ═══════════════════════════════════════════════════════════════
   GUITAR PLAYER  guitar-player.css  v1.0
   Theme: Rosewood & Steel — warm amber on deep mahogany
═══════════════════════════════════════════════════════════════ */

body.inst-guitar,
body.inst-nylon_guitar,
body.inst-steel_guitar {
  --player-accent:      #c8922a;
  --player-accent-dim:  rgba(200,146,42,.13);
  --player-accent-glow: rgba(200,146,42,.22);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -8%, rgba(200,146,42,.06) 0%, transparent 65%),
    radial-gradient(ellipse 40% 35% at 8% 75%, rgba(139,31,47,.04) 0%, transparent 55%);
}

body.inst-guitar #loading-overlay::before,
body.inst-steel_guitar #loading-overlay::before { content: '🎸'; }
body.inst-nylon_guitar #loading-overlay::before { content: '🎸'; }

/* Visualizer container */
#staff-visualizer {
  background: linear-gradient(160deg, #0d0a06 0%, #1a1208 60%, #0f0c08 100%);
  border: 1px solid rgba(200,146,42,.16);
  border-radius: 14px; margin: 16px 0;
  overflow: hidden; height: 260px; position: relative;
  box-shadow:
    inset 0 2px 8px rgba(0,0,0,.6),
    0 4px 20px rgba(0,0,0,.5),
    0 0 0 1px rgba(200,146,42,.06);
}
#keyboard-container {
  display: block; width: 100%; height: 100%; position: relative; overflow: hidden;
}
#fret-canvas {
  display: block; width: 100%; height: 100%;
  position: absolute; inset: 0; border-radius: 13px;
}

/* Player accent overrides */
body.inst-guitar .now-info .now-title,
body.inst-nylon_guitar .now-info .now-title,
body.inst-steel_guitar .now-info .now-title {
  background: linear-gradient(135deg, #b07820, #e8b84b);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
body.inst-guitar .ctrl-btn.primary,
body.inst-nylon_guitar .ctrl-btn.primary,
body.inst-steel_guitar .ctrl-btn.primary {
  background: linear-gradient(135deg, #b07820, #e8b84b); color: #08060a;
}
body.inst-guitar .seek-fill,
body.inst-nylon_guitar .seek-fill,
body.inst-steel_guitar .seek-fill { background: linear-gradient(90deg, #b07820, #e8b84b); }

/* Scale selector row (injected by guitar-visualizer.js) */
.scale-toggle-row {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 22px 4px; flex-wrap: wrap;
}
.scale-label {
  font-size: .68rem; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 1.5px;
}
.scale-pill {
  padding: 4px 12px; border: 1px solid rgba(200,146,42,.22); border-radius: 22px;
  background: rgba(4,6,8,.9); color: rgba(240,220,180,.6);
  font-family: var(--font-body); font-size: .72rem; cursor: pointer;
  transition: all .2s;
}
.scale-pill:hover { border-color: #c8922a; color: #f5cc7a; background: rgba(200,146,42,.07); }
.scale-pill.active {
  background: linear-gradient(135deg, #c8922a, #7a5010);
  color: #04060a; border-color: #c8922a; font-weight: 700;
}
select.scale-pill {
  -webkit-appearance: none; appearance: none; background-color: rgba(4,6,8,.9);
  padding-right: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='rgba(200,146,42,0.5)'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 7px center; background-size: 8px;
  max-width: 200px; cursor: pointer;
}
select.scale-pill option, select.scale-pill optgroup {
  background: #0a0804; color: #c8b080; font-size: .68rem;
}

@media (max-width: 768px) {
  #staff-visualizer { height: 200px; border-radius: 10px; }
  .scale-toggle-row { padding: 6px 14px 3px; gap: 5px; }
  .scale-pill { font-size: .62rem; padding: 3px 8px; }
}
