/* 战斗区域样式 */
.battle-log {
  padding: 0rem;
  margin-bottom: 1rem;
}

.wuxia-battle-log-content {
}

.battle-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 0.8rem;
  background-color: #f4e8d0;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.battle-player, .battle-opponent {
  font-weight: bold;
  font-size: 1.1rem;
  color: #8B4513;
}

.battle-vs {
  margin: 0 1rem;
  color: #A0522D;
  font-weight: bold;
}

.battle-description {
  padding: 0.4rem 0;
  line-height: 1.5;
  border-bottom: 1px dashed #e8d5b7;
  animation: fadeIn 0.5s ease;
}

.battle-result-message {
  margin: 1.5rem 0;
  padding: 1rem;
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 8px;
  animation: pulse 1s infinite;
}

.battle-result-message.win {
  background-color: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

.battle-result-message.lose {
  background-color: #ffebee;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

.battle-reward-message {
  text-align: center;
  margin: 1rem 0;
  padding: 0.8rem;
  background-color: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: 8px;
  color: #f57f17;
  font-weight: bold;
  animation: fadeIn 1s ease;
}

.battle-action-buttons {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.battle-action-buttons .btn {
  margin: 0 0.5rem;
  min-width: 120px;
}

/* 媒体查询 - 适配大屏幕 */
@media (min-width: 1200px) {
  .battle-log,
  .wuxia-battle-log {
    height: 600px;
  }
}

/* 媒体查询 - 适配小屏幕 */
@media (max-width: 768px) {
  .battle-log,
  .wuxia-battle-log {
    height: 400px;
  }
}

/* 动画效果 */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
} 