/* ... existing code ... */

/* 软键盘样式 - 可拖动版本 */
.keyboard-container {
  position: fixed;
  width: 600px;
  background: linear-gradient(180deg, #b3e0ee 0%, #8dd3e7 5.45%, #57c0dc 6.92%, #56bfdc 100%);
  border-radius: 8px;
  border: 2px solid #a1e3f3;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  cursor: default;
}

.keyboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background: #0066cc;
  color: white;
  border-radius: 8px 8px 0 0;
  font-weight: bold;
  cursor: move;
  user-select: none;
}

.keyboard-header:hover {
  background: #0052a3;
}

.keyboard-close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.keyboard-close-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.keyboard-body {
  padding: 15px;
}

.keyboard-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.keyboard-row {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.keyboard-key {
  width: 50px;
  height: 50px;
  border: 1px solid #262e34;
  border-radius: 4px;
  background: #fffffb;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    inset -1px -1px 2px 0px #8b959d,
    inset 1px 1px 2px 0px rgba(0, 0, 0, 0.5);
  transition: all 0.1s;
}

.keyboard-key:hover {
  background-color: #f0f0f0;
  transform: translateY(-1px);
}

.keyboard-key:active {
  transform: translateY(1px);
  box-shadow: 
    inset 1px 1px 2px 0px #8b959d,
    inset -1px -1px 2px 0px rgba(0, 0, 0, 0.5);
}

.key-special {
  width: 100px;
  background: #ff9800;
  color: white;
}

.key-backspace {
  background: #f44336;
  color: white;
}

.key-clear {
  background: #ff5722;
  color: white;
}

.key-ok {
  background: #4caf50;
  color: white;
  width: 150px;
}

/* 移除遮罩层样式 */
.keyboard-overlay {
  display: none;
}