/* 全局样式 */
:root {
    --primary-color: #8B0000;  /* 中国红 */
    --secondary-color: #F5E6CA; /* 米黄色 */
    --text-color: #333;
    --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    background-color: #f5f5f5;
    color: var(--text-color);
    line-height: 1.6;
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 头部样式 */
.header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.2em;
    opacity: 0.9;
}

/* 场景图片样式 */
.scene-image {
    margin-bottom: 30px;
    text-align: center;
}

.scene-image img {
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 对话区域样式 */
.dialogue-section {
    background-color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 对话气泡样式 */
.dialogue {
    display: flex;
    margin-bottom: 30px;
    gap: 20px;
}

.dialogue.candidate {
    flex-direction: row-reverse;
}

.avatar {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
}

.message {
    background-color: var(--secondary-color);
    padding: 15px;
    border-radius: var(--border-radius);
    max-width: 70%;
}

.dialogue.candidate .message {
    background-color: #E8F5E9;
}

/* 中英文文本样式 */
.chinese {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.english {
    color: #666;
    font-size: 0.9em;
    font-style: italic;
}

/* 专业词汇加粗样式 */
strong {
    color: var(--primary-color);
    font-weight: bold;
} 