[v-cloak] { display: none; }

.letter-btn {
  transition: all 0.2s ease;
  position: relative;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
}

.letter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.letter-btn.active {
  background-color: #000;
  color: #ffd700;
}

.letter-btn.accent-active {
  background-color: #333;
  color: #ffd700;
}

.word-card {
  transition: all 0.2s ease;
}

.word-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.search-highlight {
  background-color: rgba(255, 215, 0, 0.3);
}

.fade-enter-active, .fade-leave-active {
  transition: opacity 0.3s ease;
}

.fade-enter-from, .fade-leave-to {
  opacity: 0;
}

.tab-button {
  transition: all 0.2s ease;
}

.tab-button.active {
  border-bottom: 3px solid #ffd700;
  font-weight: 600;
}

.accent-dropdown {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translate(-50%, 100%);
  z-index: 10;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 4px;
  min-width: 40px;
}

.accent-option {
  padding: 6px 10px;
  cursor: pointer;
  border-radius: 4px;
  text-align: center;
}

.accent-option:hover, .accent-option.highlighted {
  background-color: #f5f5f5;
}

.accent-option.active {
  background-color: #e5e5e5;
}

.tooltip {
  position: relative;
}

.tooltip-text {
  visibility: hidden;
  width: 200px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.mobile-menu {
  transition: all 0.3s ease;
  max-height: 0;
  overflow: hidden;
}

.mobile-menu.open {
  max-height: 500px;
}

@media (max-width: 640px) {
  .letter-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .accent-dropdown {
    min-width: 36px;
  }
  
  .accent-option {
    padding: 4px 8px;
    font-size: 14px;
  }
  
  .language-labels {
    display: flex !important;
  }
}