/* 魔物模拟器核心样式 - 保留所有 Float 布局，仅替换配色 */
.monster-simulator-container {
  width: 100%;
  max-width:1200px;
  margin: 0 auto;
  padding: 30px;
  background: #f0e8d8; /* 奶油木色替换黑色背景 */
  border: 1px solid rgba(230, 154, 136, 0.5); /* 浅杏色边框替换紫色 */
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(168, 136, 96, 0.2), inset 0 0 20px rgba(230, 154, 136, 0.1); /* 暖调阴影 */
  overflow: hidden; /* 清除浮动影响 */
}

.simulator-header {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(230, 154, 136, 0.3); /* 浅杏色分隔线 */
  overflow: hidden; /* 清除子元素 float 浮动 */
}

.form-group {
  width: 48%;
  float: left;
  margin-right: 4%;
  margin-bottom: 0;
}
.form-group:last-child {
  margin-right: 0;
}

.form-group label {
  color: #e87a6f; /* 珊瑚红替换浅紫 */
  font-size: 16px;
  font-weight: 600;
  text-shadow: 0 0 5px rgba(230, 154, 136, 0.5); /* 暖调发光 */
  display: block;
  margin-bottom: 8px;
}

.pet-input-wrap {
  position: relative;
}

.sim-input {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  background: rgba(248, 245, 239, 0.8); /* 浅米色替换深紫背景 */
  border: 1px solid rgba(230, 154, 136, 0.5); /* 浅杏色边框 */
  border-radius: 6px;
  color: #584830; /* 深木纹替换白色文字 */
  font-size: 15px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.sim-input:focus {
  outline: none;
  border-color: #e87a6f; /* 珊瑚红替换浅紫 */
  box-shadow: 0 0 10px rgba(230, 154, 136, 0.4); /* 暖调发光 */
}

/* 宠物下拉提示框 */
.pet-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
  background: rgba(240, 232, 216, 0.98); /* 奶油木色半透替换黑色 */
  border: 1px solid rgba(230, 154, 136, 0.5); /* 浅杏色边框 */
  border-top: none;
  border-radius: 0 0 6px 6px;
  z-index: 100;
  box-shadow: 0 4px 15px rgba(168, 136, 96, 0.2); /* 暖调阴影 */
  display: none; /* 默认隐藏，由 JS 控制显示 */
}

.pet-dropdown .dropdown-item {
  padding: 10px 12px;
  color: #584830; /* 深木纹替换浅紫文字 */
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: block;
}

.pet-dropdown .dropdown-item:hover {
  background: rgba(230, 154, 136, 0.1); /* 浅杏色背景替换紫色 */
  color: #e87a6f; /* 珊瑚红替换浅紫 */
  padding-left: 16px;
}

.simulator-info {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(230, 154, 136, 0.3); /* 浅杏色分隔线 */
  overflow: hidden; /* 清除浮动 */
}

.info-item {
  width: 45%;
  float: left;
  margin-right: 5%;
  margin-bottom: 0;
  display: block;
}
.info-item:last-child {
  margin-right: 0;
}

.info-label {
  color: #e87a6f; /* 珊瑚红替换浅紫 */
  font-size: 15px;
  font-weight: 600;
  display: block;
  margin-bottom: 5px;
}

.info-value {
  color: #584830; /* 深木纹替换白色文字 */
  font-size: 16px;
  text-shadow: 0 0 3px rgba(88, 72, 48, 0.3); /* 暖调发光 */
  display: block;
}

.simulator-dials {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(230, 154, 136, 0.3); /* 浅杏色分隔线 */
  overflow: hidden; /* 清除浮动 */
}

.dial-column {
  width: 46%;
  float: left;
  margin-right: 4%;
  display: block;
}
.dial-column:last-child {
  margin-right: 0;
}

.dial-title {
  color: #e87a6f; /* 珊瑚红替换浅紫 */
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 10px;
  text-shadow: 0 0 5px rgba(230, 154, 136, 0.5); /* 暖调发光 */
  display: block;
}

.dial-row {
  margin-bottom: 12px;
  overflow: hidden; /* 清除浮动 */
}

.dial-row label {
  color: #7a6953; /* 浅木纹替换浅紫文字 */
  font-size: 15px;
  min-width: 50px;
  width: 25%;
  float: left;
  line-height: 40px; /* 垂直居中 */
}

.dial-input {
  width: 70%;
  float: right;
  box-sizing: border-box;
}

.btn-clear {
  margin-top: 10px;
  padding: 10px;
  background: linear-gradient(135deg, #e87a6f, #f0b888); /* 暖调渐变替换红色 */
  border: none;
  border-radius: 6px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(230, 154, 136, 0.4); /* 暖调阴影 */
  width: 100%;
  display: block;
  box-sizing: border-box;
}

.btn-clear:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(230, 154, 136, 0.6); /* 暖调阴影 */
  background: linear-gradient(135deg, #f0b888, #e87a6f); /* 暖调渐变 */
}

.simulator-stats {
  margin-bottom: 25px;
  padding: 20px;
  border-bottom: 1px solid rgba(230, 154, 136, 0.3); /* 浅杏色分隔线 */
  background: rgba(248, 245, 239, 0.2); /* 浅米色替换浅黄色 */
  border-radius: 8px;
  overflow: hidden;
}

.stats-row {
  margin-bottom: 15px;
  overflow: hidden; /* 清除浮动 */
}

.stats-label {
  color: #e87a6f; /* 珊瑚红替换浅紫 */
  font-size: 16px;
  font-weight: 600;
  float: left;
}

.stats-value {
  color: #584830; /* 深木纹替换白色文字 */
  font-size: 18px;
  font-weight: 600;
  text-shadow: 0 0 3px rgba(88, 72, 48, 0.3); /* 暖调发光 */
  float: right;
}

.stats-grid {
  overflow: hidden;
}

.stat-item {
  width: 48%;
  float: left;
  margin-right: 4%;
  margin-bottom: 15px;
  overflow: hidden;
}
.stat-item:nth-child(even) {
  margin-right: 0;
}

.stat-item label {
  color: #7a6953; /* 浅木纹替换浅紫文字 */
  font-size: 15px;
  min-width: 50px;
  width: 25%;
  float: left;
  line-height: 40px; /* 垂直居中 */
}

.stat-input {
  width: 70%;
  float: right;
  box-sizing: border-box;
}

.simulator-actions {
  text-align: center;
  margin-bottom: 30px;
  clear: both; /* 清除上方浮动影响 */
}

.btn-calculate {
  padding: 12px 40px;
  background: linear-gradient(135deg, #e69a88, #e87a6f); /* 暖调渐变替换蓝色 */
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(230, 154, 136, 0.5); /* 暖调阴影 */
  display: inline-block;
}

.btn-calculate:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(230, 154, 136, 0.7); /* 暖调阴影 */
  background: linear-gradient(135deg, #e87a6f, #f0b888); /* 暖调渐变 */
}

/* 结果区域样式 */
.simulator-result {
  margin-top: 30px;
  padding-top: 25px;
  border-top: 2px solid rgba(230, 154, 136, 0.5); /* 浅杏色边框替换紫色 */
  clear: both; /* 清除浮动 */
}

.result-header {
  margin-bottom: 20px;
}

.result-title {
  color: #e87a6f; /* 珊瑚红替换浅紫 */
  font-size: 22px;
  font-weight: 600;
  text-shadow: 0 0 8px rgba(230, 154, 136, 0.6); /* 暖调发光 */
  display: block;
}

.result-basic {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(230, 154, 136, 0.3); /* 浅杏色分隔线 */
  overflow: hidden;
}

.result-row {
  margin-bottom: 10px;
  overflow: hidden;
}

.result-label {
  color: #e87a6f; /* 珊瑚红替换浅紫 */
  font-size: 16px;
  font-weight: 600;
  min-width: 60px;
  width: 20%;
  float: left;
  display: block;
  margin:5px 0;
}

.result-value {
  color: #584830; /* 深木纹替换白色文字 */
  font-size: 17px;
  text-shadow: 0 0 3px rgba(88, 72, 48, 0.3); /* 暖调发光 */
  width: 75%;
  float: left;
  display: block;
  margin-left: 5%;
  margin:5px 0 5px 5%;
}

.result-stats {
  margin-top: 20px;
  overflow: hidden;
}

.result-subtitle {
  color: #e87a6f; /* 珊瑚红替换浅紫 */
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  text-shadow: 0 0 5px rgba(230, 154, 136, 0.5); /* 暖调发光 */
  display: block;
}

.result-subtitle .remaining-points {
  color: rgba(88, 72, 48, 0.7); /* 深木纹半透替换白色半透 */
  font-size: 16px;
  font-weight: normal;
  margin-left: 10px;
}

.result-grid {
  overflow: hidden;
}

.result-stat-item {
  width: 48%;
  float: left;
  margin-right: 4%;
  margin-bottom: 12px;
  padding: 8px 0;
  overflow: hidden;
}
.result-stat-item:nth-child(even) {
  margin-right: 0;
}

.result-stat-label {
  color: #7a6953; /* 浅木纹替换浅紫文字 */
  font-size: 15px;
  font-weight: 500;
  float: left;
}

.result-stat-value {
  color: #584830; /* 深木纹替换白色文字 */
  font-size: 16px;
  font-weight: 600;
  text-shadow: 0 0 3px rgba(88, 72, 48, 0.3); /* 暖调发光 */
  float: right;
}

/* 按钮组：重置 + 计算 */
.action-buttons {
  width: 320px;
  margin: 0 auto;
  overflow: hidden;
}
.btn-reset,
.btn-calculate {
  width: 140px;
  height: 44px;
  line-height: 44px;
  padding: 0;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  float: left;
}
.btn-reset {
  margin-right: 40px;
  background: linear-gradient(135deg, #7a6953, #998877); /* 浅木纹渐变替换灰色 */
  box-shadow: 0 4px 15px rgba(122, 105, 83, 0.4); /* 暖调阴影 */
}
.btn-reset:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #998877, #bbaa99); /* 浅木纹渐变 */
}
.btn-calculate {
  background: linear-gradient(135deg, #e69a88, #e87a6f); /* 暖调渐变替换蓝色 */
  box-shadow: 0 4px 15px rgba(230, 154, 136, 0.5); /* 暖调阴影 */
}
.btn-calculate:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #e87a6f, #f0b888); /* 暖调渐变 */
}

/* 删掉旧的清空按钮样式 */
.btn-clear {
  display: none !important;
}