* {
  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: 450px;
  margin: 0 auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* 顶部图片 */
.top-image {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 16px;
  background-color: #e0e0e0;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.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;
}

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

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.system-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-image: url('images/10002.jpg'); /* 请确保路径正确 */
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  background-color: #ccc;
}

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

.system-content p {
  font-size: 15px;
  line-height: 1.6;
}

/* 用户消息 */
.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;
  background-color: #07c160;
}

.user-content {
  background-color: #07c160;
  color: #fff;
  padding: 12px 16px;
  border-radius: 18px;
  border-top-right-radius: 2px;
  max-width: 80%;
}

/* 选项按钮容器 */
.answer-options {
  display: flex;
  flex-direction: column; /* 垂直排列，适合较长的文字 */
  gap: 10px;
  margin-top: 15px;
}

/* 按钮样式优化 */
.btn {
  padding: 12px 15px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid #07c160;
  background-color: #fff;
  color: #07c160;
  transition: all 0.2s ease;
  text-align: center;
  width: 100%;
}

.btn:active {
  background-color: #07c160;
  color: #fff;
  transform: scale(0.98);
}

/* 最终按钮 */
.final-button {
  display: block;
  width: 100%;
  padding: 14px;
  background-color: #07c160;
  color: #fff;
  border-radius: 10px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  margin-top: 15px;
  box-shadow: 0 4px 10px rgba(7, 193, 96, 0.3);
}

.hidden {
  display: none !important;
}