.tool-keyboard-tester .kbt-bar { display: flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 8px; }
.tool-keyboard-tester .kbt-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--line); flex: none; }
.tool-keyboard-tester .kbt-wrap.is-focus .kbt-dot { background: var(--accent); }
.tool-keyboard-tester .kbt-area { width: 100%; max-width: 100%; overflow: hidden; padding: 10px; border-radius: var(--radius-sm); border: 2px solid var(--line); background: var(--cream); cursor: pointer; outline: none; }
.tool-keyboard-tester .kbt-area:focus { border-color: var(--accent); background: var(--lavender-soft); }
.tool-keyboard-tester .kbt-board { position: relative; margin: 0 auto; }
.tool-keyboard-tester .kbt-key { position: absolute; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; white-space: nowrap; line-height: 1.05; border-radius: 6px; border: 1px solid var(--line); border-bottom-width: 3px; background: var(--white); color: var(--plum); font-weight: 700; user-select: none; -webkit-user-select: none; }
.tool-keyboard-tester .kbt-key.is-done { background: var(--mint); border-color: var(--ok); }
.tool-keyboard-tester .kbt-key.is-down { background: var(--accent); border-color: var(--plum); color: var(--white); transform: translateY(1px); }
.tool-keyboard-tester .kbt-tiles b { font-family: var(--mono); font-size: 1.2rem; }
.tool-keyboard-tester .kbt-held { font-family: var(--mono); font-weight: 700; font-size: 1.05rem; margin-top: 4px; word-break: break-word; }
@media (min-width: 700px) { .tool-keyboard-tester .kbt-tiles { grid-template-columns: repeat(4, 1fr); } }
