/* ── Virtual Keyboard (Pi Kiosk Only) ── */

.vk-overlay {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: #1a1d27;
  border-top: 1px solid #252833;
  padding: 8px 6px 12px;
  transform: translateY(100%);
  transition: transform 0.2s ease-out;
  touch-action: none;
}

.vk-overlay.vk-visible {
  transform: translateY(0);
}

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

.vk-key {
  min-width: 36px;
  height: 48px;
  border: none;
  border-radius: 6px;
  background: #252833;
  color: #f0f0f0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
  flex: 1;
  max-width: 52px;
}

.vk-key:active {
  background: #3a3d4a;
}

.vk-key-wide {
  flex: 1.5;
  max-width: 80px;
  font-size: 0.85rem;
  font-weight: 600;
}

.vk-key-space {
  flex: 5;
  max-width: none;
}

.vk-key-shift.vk-shift-active {
  background: #2ECC71;
  color: #0f1117;
}

body.vk-active {
  padding-bottom: 280px !important;
}
