/* CSS区代码 - 直接粘贴到CSS区域 */
.wasteland-character-card {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  max-width: 600px;
  margin: 15px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  background: linear-gradient(145deg, #2c2c2c, #1f1f1f);
  color: #e0e0e0;
  border: 1px solid #444;
}

.character-system {
  transition: all 0.3s ease;
}

.system-header {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  background: linear-gradient(90deg, #3a1c71, #d76d77, #ffaf7b);
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  cursor: pointer;
  user-select: none;
  border-bottom: 1px solid #444;
}

.system-header .icon {
  margin-right: 10px;
  transition: transform 0.3s;
}

.character-system[open] .system-header .icon {
  transform: rotate(90deg);
}

.character-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  padding: 20px;
  background: #252525;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.label {
  font-weight: 600;
  color: #ffaf7b;
  font-size: 0.95rem;
}

.value {
  font-size: 1.1rem;
}

.rad-bar {
  height: 24px;
  background: #333;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.4);
}

.rad-fill {
  height: 100%;
  background: linear-gradient(90deg, #4facfe, #00f2fe);
  border-radius: 12px;
  transition: width 0.5s ease;
}

.rad-fill--danger {
  background: linear-gradient(90deg, #ff0844, #ffb199);
}

.rad-value {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.85rem;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}

.inventory-section {
  padding: 0 20px 20px;
  background: #252525;
}

.inventory-title {
  margin: 0 0 15px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid #444;
  color: #ffaf7b;
  font-size: 1.1rem;
}

.item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

.item-card {
  background: #1e1e1e;
  border-radius: 8px;
  padding: 12px;
  border: 1px solid #3a3a3a;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}

.item-card:hover {
  transform: translateY(-3px);
  border-color: #ffaf7b;
}

.item-name {
  color: #4facfe;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 5px;
}

.item-effect {
  color: #a5a5a5;
  font-size: 0.9rem;
  line-height: 1.4;
}

@media (max-width: 500px) {
  .character-grid {
    grid-template-columns: 1fr;
  }
  
  .item-grid {
    grid-template-columns: 1fr;
  }
}