/* Guitar fretboard visualization */
.guitar-fretboard {
  display: flex;
  justify-content: center;
  margin: 10px auto;
  user-select: none;
}

.guitar-diagram {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.guitar-fret-label {
  position: absolute;
  left: -22px;
  top: 20px;
  font-size: 0.7rem;
  color: var(--text);
  opacity: 0.6;
  font-weight: 600;
}

/* String header indicators (open/muted) */
.guitar-header-row {
  display: flex;
  gap: 0;
}

.guitar-string-indicator {
  width: 24px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--text);
  opacity: 0.6;
}

.guitar-string-indicator.muted {
  opacity: 0.4;
}

/* Nut (thick bar at top when in open position) */
.guitar-nut {
  width: 144px;
  height: 4px;
  background: var(--text);
  opacity: 0.8;
  border-radius: 2px;
}

/* Fret grid */
.guitar-grid {
  border: 1px solid var(--surface-border);
}

.guitar-fret-row {
  display: flex;
  border-bottom: 1px solid var(--surface-border);
}

.guitar-fret-row:last-child {
  border-bottom: none;
}

.guitar-cell {
  width: 24px;
  height: 22px;
  border-right: 1px solid var(--surface-border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.guitar-cell:last-child {
  border-right: none;
}

/* Finger dot */
.guitar-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
}

/* Unavailable overlay */
.guitar-unavailable {
  font-size: 0.8rem;
  color: var(--text);
  opacity: 0.5;
  font-style: italic;
  padding: 15px 20px;
  text-align: center;
}

/* Container in practice screens */
.guitar-display {
  display: flex;
  justify-content: center;
  min-height: 0;
}

.guitar-display.hidden {
  display: none;
}
