/* game.css — 4x4 Mini Chess */
#top-bar {
  position: absolute;
  top: 12px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: auto;
  z-index: 5;
}

#puzzle-badge {
  font-weight: 700;
  font-size: 1rem;
  background: rgba(30, 26, 48, 0.85);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #4a3e72;
  color: #ffd166;
  letter-spacing: 0.5px;
}

.icon-btn {
  font-size: 0.85rem;
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #393259;
  color: #fff;
  border: 1px solid #5a4f8a;
  cursor: pointer;
}

#bottom-bar {
  position: absolute;
  bottom: 24px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  pointer-events: auto;
  gap: 8px;
  z-index: 5;
}

.nav-btn {
  font-size: 0.95rem;
  min-height: 42px;
  padding: 8px 18px;
  border-radius: 999px;
  background: #342a5c;
  color: #f1edff;
  border: 1px solid #5f5296;
}

.nav-btn:active, .icon-btn:active {
  transform: scale(0.95);
}

#subtitle {
  color: #a49fc4;
  margin-top: -6px;
  font-size: 1.05rem;
}
