body {
    background-color: #1a1a1a;
    color: #e0e0e0;
    font-family: 'Microsoft YaHei', 'SimHei', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

#game-container {
    width: 100%;
    max-width: 800px;
    background-color: #2b2b2b;
    border: 1px solid #444;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    padding: 25px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

#status-bar {
    display: flex;
    justify-content: space-around;
    padding: 10px;
    background-color: #333;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 16px;
    border: 1px solid #555;
}

#status-bar span {
    flex: 1;
    text-align: center;
}

#story-display {
    padding: 20px;
    background-color: #222;
    border-radius: 4px;
    min-height: 150px;
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 18px;
    border-left: 4px solid #c83232;
}

/* 新增：数值变化提示框样式 */
.stat-change {
    margin-top: 20px;
    padding: 12px;
    background-color: rgba(30, 80, 130, 0.3); /* 淡蓝色背景 */
    border: 1px solid #4a90e2; /* 蓝色边框 */
    border-radius: 4px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: #a7d1ff; /* 亮蓝色字体 */
}

#choices-display {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.choice-button {
    background-color: #4a4a4a;
    color: #e0e0e0;
    border: 1px solid #666;
    padding: 15px;
    text-align: left;
    cursor: pointer;
    border-radius: 4px;
    font-size: 16px;
    transition: background-color 0.3s, border-color 0.3s;
}

.choice-button:hover {
    background-color: #5a5a5a;
    border-color: #c83232;
}

.choice-button.disabled {
    background-color: #3a3a3a;
    color: #777;
    cursor: not-allowed;
    border-color: #555;
}

#achievements-bar {
    margin-top: 25px;
    padding: 15px;
    background-color: #333;
    border-radius: 4px;
    border: 1px solid #555;
}

#achievements-bar strong {
    color: #ffd700;
}

#achievements-list {
    list-style-type: none;
    padding: 0;
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

#achievements-list li {
    background: #4a4a4a;
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 14px;
}

#restart-button {
    margin-top: 20px;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    background-color: #c83232;
    color: #fff;
    border: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

#restart-button:hover {
    background-color: #e74c3c;
}

@media (max-width: 600px) {
    body { padding: 5px; }
    #game-container { padding: 15px; }
    #status-bar { font-size: 14px; flex-wrap: wrap; }
    #story-display { font-size: 16px; }
    .choice-button { padding: 12px; font-size: 15px; }
}
