/* Axolotl pedigree tree styles */
.axolotl-node {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  cursor: pointer;
  width: 260px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.1);
  position: relative;
  z-index: 1;
  transition: background-color 1s ease-in-out;
}
.axolotl-photo {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 8px;
  border: 2px solid #888;
}
.axolotl-info {
  word-break: break-word;
  font-size: 14px;
}
.details {
  font-size: 12px;
  color: #555;
}
.active-fade {
  background-color: #e3f2fd;
}
@keyframes rock {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(3deg); }
  50% { transform: rotate(-3deg); }
  75% { transform: rotate(2deg); }
  100% { transform: rotate(0deg); }
}
.rock {
  animation: rock 0.6s ease-in-out;
}
/* Responsive mobile support */
#genealogy-tree {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  display: block;
  padding: 1rem;
}
.axolotl-generation-row {
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.axolotl-node {
  max-width: 90vw;
  box-sizing: border-box;
}
