/* ---------- 快捷键面板 (右下角 ⌨ 按钮) ---------- */
#shortcut-panel {
  position: fixed; right: 16px; bottom: 120px; z-index: 60;
  width: 340px; max-height: 70vh; display: flex; flex-direction: column;
  background: rgba(25,29,39,.96); backdrop-filter: blur(10px);
  border: 1px solid var(--panel-line); border-radius: 14px;
  box-shadow: 0 10px 34px rgba(3,6,14,.55);
  animation: sc-pop .14s ease-out;
}
@keyframes sc-pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
#shortcut-panel .sc-head {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; border-bottom: 1px solid var(--panel-line);
}
#shortcut-panel .sc-title { font-size: 13px; font-weight: 700; color: var(--tx); flex: 1; }
#shortcut-panel .sc-reset-all {
  border: 1px solid rgba(120,130,150,.4); border-radius: 7px;
  padding: 3px 9px; font-size: 11px;
  background: rgba(28,32,42,.8); color: #cfd6e4; cursor: pointer;
}
#shortcut-panel .sc-reset-all:hover { background: rgba(44,50,64,.95); color: #fff; }
#shortcut-panel .sc-close {
  border: none; border-radius: 7px; width: 24px; height: 24px;
  background: transparent; color: var(--tx-3); cursor: pointer; font-size: 13px;
}
#shortcut-panel .sc-close:hover { background: rgba(255,255,255,.1); color: var(--tx); }
#shortcut-panel .sc-rows { overflow-y: auto; padding: 6px 8px; }
#shortcut-panel .sc-rows::-webkit-scrollbar { width: 8px; }
#shortcut-panel .sc-rows::-webkit-scrollbar-thumb { background: #2c3348; border-radius: 4px; }
#shortcut-panel .sc-row {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 6px; border-radius: 8px;
}
#shortcut-panel .sc-row:hover { background: rgba(255,255,255,.05); }
#shortcut-panel .sc-desc { flex: 1; font-size: 12.5px; color: var(--tx-2); }
#shortcut-panel .sc-key {
  min-width: 66px; text-align: center;
  border: 1px solid rgba(120,130,150,.45); border-radius: 7px;
  padding: 3px 8px; font-size: 11.5px; font-weight: 600;
  background: rgba(28,32,42,.85); color: #d5dcf0; cursor: pointer;
  transition: border-color .12s, background .12s;
}
#shortcut-panel .sc-key:hover { border-color: rgba(var(--c-accent-rgb), .7); }
#shortcut-panel .sc-key.sc-custom { border-color: rgba(251,191,36,.6); color: #fcd34d; }
#shortcut-panel .sc-key.sc-blank { border-style: dashed; color: var(--tx-3); font-weight: 400; }
#shortcut-panel .sc-row:hover .sc-key { background: rgba(44,50,64,.95); }
#shortcut-panel .sc-blank-btn,
#shortcut-panel .sc-reset-one {
  border: none; border-radius: 6px; width: 22px; height: 22px;
  background: transparent; color: var(--tx-3); cursor: pointer; font-size: 12px;
  flex: 0 0 auto;
}
#shortcut-panel .sc-blank-btn:hover { background: rgba(255,255,255,.1); color: #fff; }
#shortcut-panel .sc-reset-one:hover { background: rgba(255,255,255,.1); color: #ffd9a0; }
#shortcut-panel .sc-foot {
  padding: 8px 12px; border-top: 1px solid var(--panel-line);
  font-size: 10.5px; color: var(--tx-3); line-height: 1.5;
}

