body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f0f0f0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.comic {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 1200px;
  padding: 20px;
}

.panel {
  background: #fff;
  border: 3px solid #333;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  position: relative;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scene {
  text-align: center;
  position: relative;
  width: 100%;
}

.fox, .chicken {
  font-size: 3rem;
  display: inline-block;
  transition: transform 0.3s;
}

.thought, .action {
  margin-top: 10px;
  font-size: 1.1rem;
  background: #f9f9f9;
  padding: 8px 12px;
  border-radius: 20px;
  display: inline-block;
  border: 1px solid #ddd;
  position: relative;
}

.thought::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  border: 10px solid transparent;
  border-right-color: #f9f9f9;
}

.action {
  background: #ffeb3b;
  border-color: #fdd835;
}

.jump {
  animation: jump 0.5s ease infinite;
}

@keyframes jump {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.run {
  animation: run 0.8s linear infinite;
}

@keyframes run {
  0% { transform: translateX(0); }
  100% { transform: translateX(30px); }
}

.fall {
  transform: rotate(90deg);
  animation: fall 1s ease forwards;
}

@keyframes fall {
  0% { transform: rotate(0deg) translateY(0); }
  100% { transform: rotate(90deg) translateY(20px); }
}

.far {
  opacity: 0.5;
  transform: scale(0.5);
}

.sit {
  transform: scale(0.8);
}

@media (max-width: 600px) {
  .comic {
    grid-template-columns: 1fr;
  }
}