* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
  background-color: #f5f5f5;
  color: #333;
  min-height: 100vh;
  scroll-behavior: smooth;
}

.container {
  max-width: 400px;
  margin: 0 auto;
  padding: 3px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* 顶部图片 */
.top-image {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 16px;
  background-color: #e0e0e0;
  overflow: hidden;
}

.top-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* 聊天容器 */
.chat-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 50px;
}

/* 系统消息 */
.system-message {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.5s ease;
}

.system-message.fade-in {
  animation: fadeSlideIn 0.6s ease forwards;
}

/* 淡入动画 */
@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.system-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-image: url(images/10002.png);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.system-content {
  background-color: #fff;
  padding: 12px 16px;
  border-radius: 18px;
  border-bottom-left-radius: 6px;
  max-width: 70%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.system-content p {
  font-size: 14px;
  line-height: 1.5;
}

/* 用户消息 */
.user-message {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 12px;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-image: url(images/10003.png);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.user-content {
  background-color: #07c160;
  color: #fff;
  padding: 12px 16px;
  border-radius: 18px;
  border-bottom-right-radius: 6px;
  max-width: 70%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.user-content p {
  font-size: 14px;
  line-height: 1.5;
}

/* 选项按钮容器 */
.answer-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  justify-content: flex-start;
}

/* 按钮样式 */
.btn {
  padding: 12px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background-color: #07c160;
  color: #fff;
  transition: all 0.25s ease;
  min-width: auto;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.btn:hover {
  background-color: #06b356;
  transform: translateY(-2px);
}

.btn:active {
  background-color: #05a04b;
  transform: translateY(0);
}

.btn.selected {
  background-color: #07c160;
  color: #fff;
}

/* 最终按钮 */
.final-button {
  width: 100%;
  padding: 14px;
  background-color: #07c160;
  color: #fff;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 14px;
  text-align: center;
  text-decoration: none;
  display: block;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.final-button:hover {
  background-color: #06b356;
}

/* 隐藏元素 */
.hidden {
  display: none !important;
}