.keyboard-container {
    /*margin-left: auto;*/
    /*margin-right: auto;*/
    /*margin: 0px 0px 10px 20px;*/
    display: flex;
    align-items: flex-start;
    /*background-color: #fafafa;*/
    background-color: #f5f5f5;
    padding: 5px;
    border-radius: 5px;
    /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);*/
    /*width: 90%;*/
    justify-content: center;
    min-width: 325px;
    border: 5px double #dcdcdc;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.keys-left, .keys-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.middle-keys {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

.key-row {
    margin-bottom: 3px; /* 行间距 */
}

.key-wrapper {
    display: inline-block; /* 可以让 .action 文本在下方显示 */
    text-align: center;
    margin-bottom: 0px;
}

.key {
    display: block;
    margin-right: 3px;
    width: 28px;
    height: 25px;
    line-height: 25px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    font-size: 12px;
    font-weight: bold;
    color: #333;
    user-select: none;
}

.key2{
    /*width:50px;*/
    width:40px;
    user-select: none;
}


.action {
    margin-top: 0px; /* 动作文本与按键之间的间距 */
    font-size: 0px; /* 动作描述字体小一点 */
    color: #555;
    user-select: none;
}

.action2 {
    margin-top: 0px; /* 动作文本与按键之间的间距 */
    font-size: 13px; /* 动作描述字体小一点 */
    color: #555;
    user-select: none;
}

/* 悬停效果 */
.key:hover {
    background-color: #e9e9e9;
}