/**
 * keyboard-shortcuts.css — 快捷键提示面板样式
 */

/* 面板容器 */
.kb-shortcut-panel {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.85);
    color: #e0e0e0;
    border-radius: 6px;
    min-width: 180px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    font-size: 12px;
    transition: opacity 0.15s ease, transform 0.15s ease;
    opacity: 1;
    transform: translateY(0);
}

.kb-shortcut-panel.kb-hidden {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
}

/* 标题 */
.kb-panel-header {
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #aaa;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    letter-spacing: 0.5px;
}

/* 内容区 */
.kb-panel-body {
    padding: 6px 0;
}

/* 每行快捷键 */
.kb-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 14px;
    gap: 16px;
}

/* 按键标签 */
.kb-key {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    padding: 1px 6px;
    font-family: inherit;
    font-size: 11px;
    color: #fff;
    white-space: nowrap;
    min-width: 50px;
    text-align: center;
}

/* 功能描述 */
.kb-desc {
    color: #ccc;
    text-align: right;
    flex-shrink: 0;
}

/* 移动端隐藏面板 */
@media (max-width: 767px) {
    .kb-shortcut-panel {
        display: none;
    }
}
