.phone-container {
  width: 375px;
  height: 812px;
  border: 10px solid #333;
  border-radius: 40px;
  overflow: hidden;
  position: relative;
  margin: 20px;
  display: inline-block;
  background-color: #fff;
}
.status-bar {
  background-color: #fff;
  height: 44px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  font-size: 14px;
  font-weight: bold;
  border-bottom: 1px solid #eee;
}
.bottom-bar {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 83px;
  border-top: 1px solid #eee;
  background-color: #fff;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.content {
  height: calc(100% - 127px);
  overflow: auto;
}
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 10px;
}
.nav-item.active {
  color: #8b4513;
}
.nav-icon {
  font-size: 24px;
  margin-bottom: 5px;
}
.poop-color {
  color: #8b4513;
}
.poop-bg {
  background-color: #8b4513;
}
.accent-color {
  color: #ffd700;
}
.accent-bg {
  background-color: #ffd700;
}
.tab-active {
  color: #8b4513;
  border-bottom: 2px solid #8b4513;
}
.bristolType {
  cursor: pointer;
  transition: all 0.2s;
}
.bristolType:hover {
  transform: scale(1.05);
}
.bristolType.selected {
  border-color: #8b4513;
  background-color: #f9f3e8;
}
.optionCard {
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  background-color: #fff;
  transition: all 0.15s ease;
}
.optionCard.selected {
  border-color: #8b4513;
  background-color: #f9f3e8;
  color: #8b4513;
  font-weight: 600;
}
.optionIcon {
  border: 1px solid transparent;
  border-radius: 0.5rem;
  padding: 0.25rem 0.5rem;
  background-color: #fff;
  transition: all 0.15s ease;
  line-height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.optionIcon.selected {
  border-color: #8b4513;
  background-color: #f9f3e8;
  color: #8b4513;
}
.chip {
  padding: 0.25rem 0.6rem;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  font-size: 0.875rem;
  background-color: #fff;
  transition: all 0.15s ease;
}
.chip.selected {
  border-color: #8b4513;
  background-color: #f9f3e8;
  color: #8b4513;
  font-weight: 600;
}
.page-frame {
  width: 100%;
  height: calc(100% - 44px);
  border: 0;
}
.ai-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.ai-modal {
  width: 320px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  padding: 20px;
  text-align: center;
}
.ai-spinner {
  width: 44px;
  height: 44px;
  border: 4px solid rgba(139, 69, 19, 0.2);
  border-top-color: #8b4513;
  border-radius: 50%;
  margin: 0 auto 12px;
  animation: ai-spin 0.8s linear infinite;
}
@keyframes ai-spin {
  to {
    transform: rotate(360deg);
  }
}
.ai-text {
  font-size: 14px;
  color: #444;
  margin-bottom: 12px;
}
.ai-progress {
  width: 100%;
  height: 8px;
  background: #eee;
  border-radius: 9999px;
  overflow: hidden;
}
.ai-progress-fill {
  height: 100%;
  background: #8b4513;
  border-radius: 9999px;
  width: 0%;
}
.ai-poop {
  font-size: 52px;
  line-height: 1;
  animation: poop-bounce 1s ease-in-out infinite;
}
@keyframes poop-bounce {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-8px) rotate(6deg);
  }
}
.score-badge {
  padding: 0.125rem 0.5rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
}
.score-good {
  color: #16a34a;
}
.score-normal {
  color: #f59e0b;
}
.score-bad {
  color: #dc2626;
}
.emoji-anim-bounce {
  animation: emoji-bounce 1s ease-in-out infinite;
}
@keyframes emoji-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
.emoji-anim-bounce-fast {
  animation: emoji-bounce 0.7s ease-in-out infinite;
}
.emoji-anim-shake {
  animation: emoji-shake 0.5s linear infinite;
}
@keyframes emoji-shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-3px) rotate(-2deg);
  }
  75% {
    transform: translateX(3px) rotate(2deg);
  }
}
.emoji-anim-sway {
  animation: emoji-sway 2s ease-in-out infinite;
}
@keyframes emoji-sway {
  0%,
  100% {
    transform: rotate(0);
  }
  50% {
    transform: rotate(4deg);
  }
}
.emoji-anim-float {
  animation: emoji-float 3s ease-in-out infinite;
}
@keyframes emoji-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}
.emoji-anim-pulse {
  animation: emoji-pulse 1.2s ease-in-out infinite;
}
@keyframes emoji-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}
.emoji-anim-wobble {
  animation: emoji-wobble 1.4s ease-in-out infinite;
}
@keyframes emoji-wobble {
  0% {
    transform: rotate(-2deg);
  }
  50% {
    transform: rotate(2deg);
  }
  100% {
    transform: rotate(-2deg);
  }
}
