/* Performance view: chords below, settings above, room for the performer. */
header { padding: 24px 28px; }
.wordmark { font-size: 13px; }
.header-actions .icon { width: 44px; height: 44px; }
.invitation { inset: auto auto 125px 28px; width: auto; display: flex; align-items: center; gap: 18px; padding: 0; background: none; backdrop-filter: none; }
.invitation .primary { min-height: 44px; }
.invitation .text-button { margin: 0; }
.chord-dock { bottom: 28px; width: min(650px, calc(100% - 56px)); gap: 8px; }
.chord { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 14px 16px; }
.chord-top { display: block; min-height: 0; margin: 0; }
.gesture { display: block; width: auto; margin: 0; font: 400 18px/1 system-ui, sans-serif; opacity: .7; }
.chord-label { min-height: 0; margin: 0; font-size: 15px; }
.variant, .key-hint, .chord-notes { display: none; }
.playback-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.playback-actions button { padding: 10px 12px; min-height: 42px; font-size: 12px; }
.drawer .mode-pill { position: static; width: fit-content; margin-top: 16px; }
.drawer .hand-readouts { position: static; display: block; width: 100%; pointer-events: auto; }
.drawer .hand-readouts small { display: none; }
.drawer .hand-readouts strong { font-size: 12px; }
.drawer .hand-readouts p { display: block; font-size: 11px; }
.drawer #concepts-button { margin-top: 20px; padding: 12px 0; background: none; }
.drawer #concepts-button svg { width: 14px; height: 14px; display: inline-block; }
@media (width <= 760px) {
  header { padding: 16px; }
  .wordmark { font-size: 11px; }
  .invitation { inset: auto 16px 110px; flex-wrap: wrap; gap: 12px; }
  .invitation .primary, .invitation .text-button { font-size: 12px; }
  .chord-dock { bottom: 20px; width: calc(100% - 32px); gap: 5px; }
  .chord { flex-direction: column; justify-content: center; gap: 8px; padding: 10px 4px; min-height: 68px; }
  .chord-label { font-size: 12px; white-space: nowrap; }
  .gesture { font-size: 14px; }
}
@media (height <= 500px) and (orientation: landscape) {
  .invitation { inset: auto auto 100px 20px; }
  .chord-dock { bottom: 16px; }
  .chord { min-height: 54px; }
}
.all-chords fieldset { margin: 0 0 16px; padding: 12px; border: 1px solid var(--line); border-radius: 6px; min-width: 0; }
.all-chords legend { padding: 0 6px; font-size: 12px; color: #d8cbae; }
.chord-fields { display: grid; grid-template-columns: 65px minmax(0,1fr) 65px; gap: 8px; }
.all-chords .chord-fields label { margin: 0; }
.all-chords .chord-fields select { margin-top: 8px; padding: 8px 5px; }
.all-chords details { margin-top: 12px; font-size: 11px; color: var(--muted); }
.all-chords summary { cursor: pointer; }

/* Leave the legacy performance stage free of branding. */
.wordmark { display:none !important; }
header { justify-content:flex-end; }
