 .carddivs{
    border:1px solid #eee;
    margin-top: 0.75rem;
    padding: 0.5rem;
    border-radius: 4px;
 }

 .night .carddivs{
    border:1px solid #444;
}

 .carddivs h5{
    margin-bottom: 0.5rem;
    font-size: 0.6rem;
 }

 .night  .carddivs h5{
    color: #aaa;
 }

 .keyboard { 
    user-select: none;
    border: 1px solid #eee;
    color: rgba(0, 0, 0, .85);
    width: 100%;
    padding: 0.5rem;
    font-size: 0.65rem;
    display: block;
    line-height: 1.2rem;
}

.night  .keyboard { 
    border: 1px solid #444;
}

.kb-row {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 6px;
}

.kb-key {
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: 1px solid #eee;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-family: ui-monospace, monospace;
    transition: all .18s;
    position: relative;
}

.night .kb-key{
    background: #334155;
    border: 1px solid #475569;
    color: #cbd5e1;
}

.kb-key.src {

    border-color: #38bdf8;
}

.kb-key.dst {
    border-color: #f59e0b;
}

.kb-key.src::after {
    content: '源';
    position: absolute;
    top: 1px;
    right: 2px;
    height: 0.5rem;
    line-height: 0.5rem;
    font-size: 0.35rem;
}

.kb-key.dst::after {
    content: '目标';
    position: absolute;
    top: 1px;
    right: 2px;
    height: 0.5rem;
    line-height: 0.5rem;
    font-size: 0.35rem;
}

.kb-legend {
    margin-top: 10px;
    font-size: 12px;
    color: #64748b;
    display: flex;
    gap: 16px;
    justify-content: center;
}

.legend-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 3px;
    margin-right: 4px;
    vertical-align: middle;
}

.legend-dot.src {
    background: #38bdf8;
}

.legend-dot.dst {
    background: #f59e0b;
}