.shortcut-badge { margin-left: 6px; opacity: .5; }
.shortcut-then { font-size: 11px; color: var(--text-2); }

.shortcuts-fab {
  position: fixed; bottom: 24px; left: 24px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--bg-2); border: 1px solid var(--border);
  color: var(--text-2); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 50; transition: background .15s, border-color .15s, color .15s;
}
.shortcuts-fab:hover { background: var(--bg-3); border-color: var(--text-2); color: var(--text-0); }

.chord-indicator {
  position: fixed; bottom: 66px; left: 24px;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 3px 10px;
  font-size: 13px; font-family: var(--mono); color: var(--text-1); z-index: 50;
}

#shortcuts-dialog {
  background: var(--bg-1); border: 1px solid var(--border);
  border-radius: var(--radius-lg); color: var(--text-1);
  padding: 0; max-width: 460px; width: calc(100% - 32px); outline: none;
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); margin: 0;
}
#shortcuts-dialog::backdrop { background: rgba(0,0,0,.6); backdrop-filter: blur(2px); }
.shortcuts-dialog-inner { padding: 20px 24px 24px; }
.shortcuts-dialog-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px;
}
.shortcuts-dialog-header h2 { font-size: 15px; font-weight: 600; color: var(--text-0); }
.shortcuts-group { margin-bottom: 16px; }
.shortcuts-group:last-child { margin-bottom: 0; }
.shortcuts-cat {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .5px; color: var(--text-2); margin-bottom: 6px;
}
.shortcuts-table { width: 100%; border-collapse: collapse; }
.shortcuts-table td { padding: 5px 0; vertical-align: middle; font-size: 13px; }
.shortcuts-table tr + tr td { border-top: 1px solid var(--bg-2); }
.shortcuts-desc { color: var(--text-1); }
.shortcuts-keys { text-align: right; white-space: nowrap; padding-left: 16px; }
