/* ========================================================== */
/* =================== 伤害计算器样式 - 全新设计 =========== */
/* ========================================================== */

/* 标签页样式已移除，现在直接显示所有伤害源 */

/* 武器伤害卡片基础样式 */
.weapon-damage-card {
    background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%);
    border: 1px solid #3a3a3a;
    border-radius: 12px;
    margin: 4px 0 16px 0;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.weapon-damage-card:hover {
    border-color: #4a9eff;
    box-shadow: 0 6px 20px rgba(74, 158, 255, 0.2);
    transform: translateY(-2px);
}

/* 武器伤害头部 */
.weapon-damage-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.02);
    transition: background 0.3s ease;
    position: relative;
}

.weapon-info {
    flex: 1;
    margin-left: 88px; /* 为绝对定位的图标留出空间 */
}

.weapon-name {
    font-size: 23px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

/* 武器图标样式 */
.weapon-icon {
    width: 73px;
    height: 85px;
    object-fit: contain;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0);
    padding: 3px;
    box-sizing: border-box;
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

/* 武器名称稀有度颜色 */
.weapon-name.weapon-name-poor {
    color: #666666;
}

.weapon-name.weapon-name-common {
    color: #fff;
}

.weapon-name.weapon-name-uncommon {
    color: #44cc44;
}

.weapon-name.weapon-name-rare {
    color: #5588ff;
}

.weapon-name.weapon-name-epic {
    color: #aa44dd;
}

.weapon-name.weapon-name-legendary {
    color: #f2b300;
}

.weapon-name.weapon-name-unique {
    color: #ddcb91;
}

.weapon-name.weapon-name-artifact {
    color: #ff6b6b;
}

.weapon-details {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #888;
}

.weapon-type {
    padding: 2px 8px;
    background: rgb(42 42 42);
    border-radius: 4px;
    white-space: nowrap;
}

/* 伤害分项显示样式 */
.damage-breakdown-display {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
}

.physical-damage-label,
.magical-damage-label {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    background: rgba(42, 42, 42);
    border-radius: 4px;
    font-size: 13px;
    white-space: nowrap;
}

.physical-damage-label {
    color: #cdcdcd; /* 物理伤害 - 白色 */
}

.magical-damage-label {
    color: #b58bff; /* 魔法伤害 - 紫色 */
}

.physical-damage-value,
.magical-damage-value {
    font-weight: 600;
    font-size: 14px;
}

/* 武器伤害结果显示 */
.weapon-damage-result {
    flex: 0 0 auto;
}

/* 连击倍率标签页 */
.combo-tabs {
    display: flex;
    gap: 16px;
    align-items: center;
}

.combo-tab {
    background: none;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 8px 18px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.combo-tab:hover {
    border-color: #d1a246;
    cursor: pointer;
}

.combo-tab.active {
    border-color: #d1a246;
    /* 移除金色背景填充，保持清晰的文字显示 */
    box-shadow: 0 0 8px rgba(209, 162, 70, 0.3);
}

.combo-tab.active::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: none;
    border-radius: 8px;
    z-index: -1;
}

/* 连击倍率详细计算区域 */
.combo-calculation-details {
    margin-top: 16px;
}

.combo-section-title {
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #444;
}

.combo-multiplier {
    font-size: 16px;
    font-weight: bold;
    color: #d1a246;
}

.damage-value {
    font-size: 30px;
    font-weight: bold;
    color: #4CAF50;
    line-height: 1;
}

.damage-value.combo-105 {
    color: #FF9800;
}

.damage-value.combo-110 {
    color: #F44336;
}

.damage-label {
    font-size: 11px;
    color: #888;
    margin-top: 2px;
}

/* 展开图标 */
.expand-icon {
    margin-left: 12px;
    color: #888;
    transition: all 0.3s ease;
}

.weapon-damage-card.expanded .expand-icon {
    transform: rotate(180deg);
}

/* ========================================================== */
/* =================== 新设计：伤害详情容器 ================ */
/* ========================================================== */

.weapon-damage-details {
    border-top: 1px solid #3a3a3a;
    background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
    padding: 20px;
    overflow: hidden;
    display: none;
    transition: all 0.3s ease;
}

/* 直接显示的计算步骤样式 */
.calc-step-header {
    display: flex;
    align-items: center;
    margin: 15px 0 10px 0;
    font-weight: 500;
}

.calc-step-header:first-child {
    margin-top: 0;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #4a9eff;
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    margin-right: 10px;
}

.step-title {
    color: #e0e0e0;
    font-size: 14px;
}

.calc-item {
    margin: 5px 0;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid #4a9eff;
    border-radius: 4px;
}

.calc-label {
    color: #e0e0e0;
    font-size: 13px;
    line-height: 1.4;
}

.weapon-damage-details.expanded {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 移除了不使用的伤害概览、计算流程和详细公式区域，现在直接显示计算步骤 */

/* ========================================================== */
/* =================== 错误状态 ============================= */
/* ========================================================== */

.damage-error {
    text-align: center;
    padding: 40px 20px;
    color: #ef5350;
    font-size: 16px;
    background: rgba(239, 83, 80, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(239, 83, 80, 0.3);
}

/* ========================================================== */
/* =================== 响应式设计 =========================== */
/* ========================================================== */

@media (max-width: 768px) {
    .weapon-damage-header {
        padding: 10px 10px;
        flex-direction: row;
        align-items: flex-start;
        gap: 0;
    }
    
    .weapon-damage-result {
        flex: 0 0 auto;
        display: flex;
        justify-content: flex-end;
        margin-left: auto;
    }
    
    .combo-tabs {
        justify-content: flex-end;
        gap: 8px;
    }
    
    .combo-tab {
        padding: 6px 12px;
    }
    
    .damage-value {
        font-size: 18px;
    }
    
    .weapon-damage-details {
        padding: 16px;
    }
    
    .combo-section-title {
        margin-bottom: 8px;
    }
    
    .combo-multiplier {
        font-size: 14px;
    }
    
}

@media (max-width: 480px) {
    .weapon-damage-card {
        margin-bottom: 12px;
        border-radius: 8px;
    }
    
    .weapon-name {
        font-size: 14px;
    }
    
    .weapon-icon {
        width: 48px;
        height: 48px;
        left: 16px;
    }
    
    .weapon-info {
        margin-left: 72px; /* 移动端调整左边距 */
    }
    
    .weapon-details {
        font-size: 12px;
        gap: 8px;
    }
    
    .combo-tabs {
        gap: 8px;
    }
    
    .damage-value {
        font-size: 16px;
    }
    
    .damage-label {
        font-size: 10px;
    }
    
}

/* ========================================================== */
/* =================== 技能伤害卡片样式 =================== */
/* ========================================================== */

/* 多重伤害技能特殊样式 */
.skill-damage-card.skill-multi-damage {
    background: linear-gradient(135deg, #2e1e1e 0%, #3a2a2a 100%);
    border: 2px solid #5a2a2a;
}

.skill-damage-card.skill-multi-damage:hover {
    border: 2px solid #dc2626;
    /* 移除红色发光效果 */
    transform: translateY(-2px) translateZ(0);
}

.skill-name.skill-multi-damage {
    color: #dc2626; /* 多重伤害技能 - 红色 */
}

/* 效果标签页样式 */
.effect-tabs {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.effect-tab {
    background: rgba(139, 92, 246, 0.1);
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 8px 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    color: #dc2626;
    min-width: 80px;
}

.effect-tab:hover {
    border-color: #dc2626;
    background: rgba(220, 38, 38, 0.15);
}

.effect-tab.active {
    border-color: #dc2626;
    background: rgba(220, 38, 38, 0.2);
    /* 移除红色发光效果 */
}

.effect-tab .damage-value {
    font-size: 30px;
    font-weight: bold;
    color: #dc2626;
    line-height: 1.2;
}

.effect-tab .damage-label {
    font-size: 14px;
    color: #ef4444;
    margin-top: 2px;
    opacity: 0.8;
}

/* 多重伤害效果选择器 */
.multi-damage-effect-option {
    background: rgba(220, 38, 38, 0.05);
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: 8px;
    padding: 12px;
    margin: 8px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.multi-damage-effect-option:hover {
    background: rgba(220, 38, 38, 0.1);
    border-color: #dc2626;
}

.multi-damage-effect-option.selected {
    background: rgba(220, 38, 38, 0.15);
    border-color: #dc2626;
    /* 移除红色发光效果 */
}

.multi-damage-effect-option .effect-name {
    font-weight: 600;
    color: #dc2626;
    margin-bottom: 4px;
}

.multi-damage-effect-option .effect-damage {
    font-size: 18px;
    font-weight: bold;
    color: #4CAF50;
    margin-bottom: 4px;
}

.multi-damage-effect-option .effect-description {
    font-size: 12px;
    color: #bbb;
    line-height: 1.4;
}

/* 多重伤害技能说明区域 */
.multi-damage-skill-description {
    background: rgba(220, 38, 38, 0.02);
    border-radius: 8px;
    padding: 16px;
}

.multi-damage-skill-description h4 {
    color: #dc2626;
    margin-bottom: 12px;
    font-size: 16px;
}

.current-effect-scaling {
    margin: 16px 0;
    padding: 12px;
    background: rgba(220, 38, 38, 0.05);
    border-radius: 6px;
    border-left: 3px solid #dc2626;
}

.effect-scaling-info {
    margin-top: 8px;
    font-size: 12px;
}

.effect-scaling-info .scaling-item {
    display: inline-block;
    margin-right: 12px;
    margin-bottom: 4px;
    padding: 4px 8px;
    background: rgba(255, 107, 157, 0.1);
    border-radius: 4px;
}

.effect-scaling-info .attribute-name {
    color: #ff6b9d;
    font-weight: 500;
}

.effect-scaling-info .attribute-value {
    color: #4CAF50;
    margin: 0 4px;
}

.effect-scaling-info .scaling-coefficient {
    color: #FFB74D;
}

.effect-scaling-info .primitive-multiplier {
    color: #E57373;
    margin-left: 4px;
}

.effect-scaling-info .no-scaling {
    color: #888;
    font-style: italic;
}

/* 当前效果计算区域 */
.current-effect-calculation {
    margin-top: 16px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
}

.current-effect-calculation h4 {
    color: #ff6b9d;
    margin-bottom: 12px;
    font-size: 14px;
}

/* 技能伤害卡片 - 基于武器卡片但有所区别 */
.skill-damage-card {
    background: linear-gradient(135deg, #1e1e2e 0%, #2a2a3a 100%);
    border: 1px solid #3a3a4a;
    border-radius: 12px;
    margin: 4px 0 16px 0;
      overflow: hidden;
      transition: all 0.3s ease;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
      /* 防止DOM更新引起的抖动 */
      transform: translateZ(0);
    backface-visibility: hidden;
    contain: layout style paint;
}

.skill-damage-card:hover {
    border-color: #9c6bff;
    box-shadow: 0 6px 20px rgba(156, 107, 255, 0.2);
    transform: translateY(-2px) translateZ(0);
}

/* 增益技能特殊样式 */


/* 散射技能特殊样式 - 灰色主题 */

/* 技能伤害容器 - 为武器依赖技能提供边框容器 */
.skill-damage-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.skill-damage-tab {
    background: none;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 8px 12px;
    text-align: center;
    cursor: default;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.skill-damage-tab.active {
    border-color: #a0a0a0;
    box-shadow: 0 0 8px rgba(160, 160, 160, 0.3);
}

.skill-damage-tab.active::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: none;
    border-radius: 8px;
    z-index: -1;
}

/* 流血伤害颜色样式 */

/* 魔法飞弹特殊样式 - 紫色奥术主题 */





/* ========================================================== */
/* ================= 攻击性技能详情样式 ================= */
/* ========================================================== */

/* 攻击性技能详情容器 */
.offensive-skill-details {
    padding: 15px;
    background: #2a2a2a;
    border-radius: 8px;
    color: #fff;
}

.offensive-skill-details h4 {
    color: #66ccff;
    margin: 0 0 10px 0;
    font-size: 16px;
    border-bottom: 1px solid #3a3a3a;
    padding-bottom: 5px;
}

/* 技能描述区域 */
.offensive-skill-details .skill-description {
    margin-bottom: 20px;
}

.offensive-skill-details .skill-description p {
    margin: 8px 0;
    color: #e0e0e0;
    line-height: 1.5;
}

.offensive-skill-details .english-desc {
    color: #aaa !important;
    font-style: italic;
    font-size: 14px;
}

/* 技能属性网格 */
.offensive-skill-details .property-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 15px;
}

.offensive-skill-details .property-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    background: #333;
    border-radius: 4px;
    font-size: 14px;
}

.offensive-skill-details .property-label {
    color: #ccc;
    font-weight: 500;
}

.offensive-skill-details .property-value {
    color: #66ddff;
    font-weight: 600;
}

/* 属性缩放信息 */
.offensive-skill-details .skill-scaling-info {
    margin-bottom: 20px;
}

.offensive-skill-details .scaling-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.offensive-skill-details .scaling-item {
    background: rgba(102, 204, 255, 0.1);
    border: 1px solid rgba(102, 204, 255, 0.3);
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 13px;
    color: #66ddff;
    display: flex;
    align-items: center;
    gap: 4px;
}

.offensive-skill-details .scaling-item i {
    font-size: 10px;
}

/* 附加效果区域 */
.offensive-skill-details .additional-effects {
    margin-bottom: 20px;
}

.offensive-skill-details .effect-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.offensive-skill-details .effect-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 10px;
    transition: all 0.3s ease;
}

.offensive-skill-details .effect-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.offensive-skill-details .effect-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.offensive-skill-details .effect-name {
    color: #66ddff;
    font-weight: bold;
}

.offensive-skill-details .effect-english-name {
    color: #aaa;
    font-style: italic;
    font-size: 12px;
}

.offensive-skill-details .effect-description {
    color: #e0e0e0;
    margin-bottom: 5px;
    line-height: 1.4;
}

.offensive-skill-details .effect-stats {
    color: #bbb;
    font-size: 15px;
}

/* 冰霜效果特殊样式 */
.offensive-skill-details .frostbite-effect {
    background: rgba(68, 204, 255, 0.1);
    border-color: rgba(68, 204, 255, 0.3);
}

.offensive-skill-details .frostbite-effect:hover {
    background: rgba(68, 204, 255, 0.15);
    border-color: rgba(68, 204, 255, 0.4);
}

.offensive-skill-details .frostbite-effect .effect-name {
    color: #66ddff;
    text-shadow: none;
}

.offensive-skill-details .frostbite-effect i {
    color: #44ccff;
    text-shadow: none;
}

/* 火焰效果特殊样式 */
.offensive-skill-details .burn-effect {
    background: rgba(255, 100, 50, 0.1);
    border-color: rgba(255, 100, 50, 0.3);
}

.offensive-skill-details .burn-effect .effect-name {
    color: #ff6432;
}

.offensive-skill-details .burn-effect i {
    color: #ff4500;
}

/* 伤害计算详情区域 */
.offensive-skill-details .damage-calculation {
    margin-top: 20px;
    border-top: 1px solid #3a3a3a;
    padding-top: 15px;
}





/* ==================== 混合元素卡片通用样式 ==================== */
.skill-damage-card[data-element-type="hybrid"] {
    border: 2px solid;
    border-color: #ff69b4;
    border-radius: 12px;
    background: linear-gradient(135deg, 
        rgba(255, 105, 180, 0.15) 0%,  /* 混合主色 */
        rgba(255, 20, 147, 0.1) 25%,   /* 深粉色 */
        rgba(220, 20, 60, 0.15) 50%,   /* 深红色 */
        rgba(255, 20, 147, 0.1) 75%,   /* 深粉色 */
        rgba(255, 105, 180, 0.15) 100% /* 回到混合主色 */
    );
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.3), 0 4px 10px rgba(255, 20, 147, 0.2);
}

.skill-damage-card[data-element-type="hybrid"]:hover {
    transform: translateY(-2px) translateZ(0);
    border-color: #ff1493;
    box-shadow: 0 6px 20px rgba(255, 105, 180, 0.5), 0 6px 20px rgba(255, 20, 147, 0.4);
}

.skill-damage-card[data-element-type="hybrid"] .skill-name {
    background: linear-gradient(45deg, #ff69b4, #ff1493, #dc143c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 105, 180, 0.3);
}

.skill-damage-card[data-element-type="hybrid"] .effect-tab .damage-label {
      color: #ff69b4;
  }

/* 多重伤害效果选择样式 */
.multi-damage-effect {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.multi-damage-effect:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.multi-damage-effect.selected {
    background: rgba(100, 150, 255, 0.15);
    border-color: rgba(100, 150, 255, 0.5);
}

.multi-damage-effect.selected:hover {
    background: rgba(100, 150, 255, 0.2);
    border-color: rgba(100, 150, 255, 0.7);
}

/* 技能伤害头部 */
.skill-damage-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    cursor: pointer;
    background: rgba(156, 107, 255, 0.02);
    transition: background 0.3s ease;
    position: relative;
}

.skill-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-left: 88px; /* 为绝对定位的图标留出空间，与武器卡片保持一致 */
}

.skill-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
}

.skill-name.skill-magical {
    color: #6b9aff; /* 魔法技能 - 蓝色 */
}

/* 技能图标样式 */
.skill-icon {
    width: 85px;
    height: 85px;
    object-fit: contain;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0);
    padding: 3px;
    box-sizing: border-box;
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.skill-details {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #bbb;
    margin-bottom: 2px;
}

.skill-type {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
}

.skill-base-damage {
    background: rgba(209, 176, 107, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
    color: #d1b06b;
    font-weight: 500;
}

.skill-weapon-dependency {
    background: rgba(136, 136, 136, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
    color: #999;
    font-weight: 500;
    font-size: 11px;
}

.skill-scaling {
    font-size: 11px;
    color: #9c6bff;
    font-weight: 500;
    line-height: 1.4;
}

.skill-scaling-detailed {
    background: rgba(128, 90, 213, 0.1);
    border-left: 3px solid #805ad5;
    padding: 8px 12px;
    margin: 4px 0;
    border-radius: 4px;
    font-size: 12px;
    line-height: 1.5;
}

.skill-scaling-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 12px;
    margin: 2px 0;
    border-bottom: 1px solid rgba(156, 107, 255, 0.1);
    background: rgba(156, 107, 255, 0.02);
    border-radius: 4px;
    transition: background 0.2s ease;
}

.skill-scaling-item:hover {
    background: rgba(156, 107, 255, 0.05);
}

.skill-scaling-item:last-child {
    border-bottom: none;
}

.skill-scaling-attribute {
    color: #805ad5;
    font-weight: 500;
}

.skill-scaling-calculation {
    color: #c9d1d9;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 12px;
}

.skill-scaling-result {
    color: #9c6bff;
    font-weight: 600;
    font-size: 12px;
}

/* skill-scaling-separator样式已移除，与武器详情保持一致 */

/* 技能伤害结果 */
.skill-damage-result {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 120px;
}

.damage-value-large {
    font-size: 32px;
    font-weight: 700;
    color: #ff6b6b;
    line-height: 1;
}


/* 技能伤害详情 */
.skill-damage-details {
    border-top: 1px solid #3a3a3a;
    background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
    padding: 20px;
    overflow: hidden;
    display: none;
    transition: all 0.3s ease;
}

.skill-damage-details.expanded {
    display: block;
    animation: slideDown 0.3s ease-out;
}

/* 技能详情使用与武器详情相同的计算步骤样式 */
.skill-damage-details .calc-step-header {
    background: rgba(156, 107, 255, 0.1);
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(156, 107, 255, 0.2);
}

.skill-damage-details .calc-step-header .step-number {
    background: #9c6bff;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.skill-damage-details .calc-step-header .step-title {
    color: #9c6bff;
    font-weight: 600;
    font-size: 14px;
}

.skill-damage-details .calc-item {
    padding: 8px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    margin-bottom: 2px;
}

.skill-damage-details .calc-item:last-child {
    border-bottom: none;
}

.skill-damage-details .calc-label {
    color: #e0e0e0;
    font-size: 13px;
    line-height: 1.4;
}

/* ========================================================== */
/* =================== 伤害颜色样式 ========================= */
/* ========================================================== */

/* 火焰伤害颜色 - 红色 */
.fire-damage {
    color: #d3250d !important;
}

/* 范围效果伤害颜色 - 橙色 */
.aoe-damage {
    color: #ff8844 !important;
}

/* 土元素伤害颜色 - 棕色 */
.earth-damage {
    color: #cd853f !important;
}

/* 土元素增益颜色 - 深棕色 */
.earth-buff {
    color: #d2b48c !important;
}


/* 熔岩伤害颜色 - 深橙色 */
.lava-damage {
    color: #ff6b35 !important;
    text-shadow: 0 0 4px rgba(255, 107, 53, 0.6);
    font-weight: 700;
}

/* 风元素伤害样式 - 灰色主题 */
.air-damage,
.effect-tab .air-damage,
.damage-value.air-damage,
.effect-tab .damage-value.air-damage {
    color: #bbbbbb !important;
    text-shadow: 0 0 4px rgba(187, 187, 187, 0.4) !important;
    font-weight: 700 !important;
}


/* 土元素伤害样式 - 棕色大地主题 */
.earth-damage,
.effect-tab .earth-damage,
.damage-value.earth-damage,
.effect-tab .damage-value.earth-damage {
    color: #cd853f !important;
    text-shadow: 0 0 4px rgba(205, 133, 63, 0.6) !important;
    font-weight: 700 !important;
}

/* 冻伤效果颜色 - 淡冰蓝色 */
.frostbite-effect {
    color: #88ddff !important;
    text-shadow: 0 0 4px rgba(136, 221, 255, 0.3);
}

/* ========================================================== */
/* =================== 元素伤害颜色样式 =================== */
/* ========================================================== */

/* 火焰元素 - 红色 */
.element-fire {
    color: #ff4444 !important;
}

/* 冰霜元素 - 蓝色 */
.element-ice {
    color: #44aaff !important;
}

/* 闪电元素 - 黄色 */
.element-lightning {
    color: #ffdd44 !important;
}

/* 大地元素 - 棕色 */
.element-earth {
    color: #cc8844 !important;
}

/* 奥术元素 - 紫色 */
.element-arcane {
    color: #9966ff !important;
}

/* 光明元素 - 金色 */
.element-light {
    color: #ffcc66 !important;
}

/* 黑暗元素 - 深紫色 */
.element-dark {
    color: #8844cc !important;
}

/* 邪恶元素 - 暗红色 */
.element-evil {
    color: #cc4466 !important;
}

/* 诅咒元素 - 绿色 */
.element-curse {
    color: #66cc44 !important;
}






/* 风元素 - 青色 */
.element-air {
    color: #44ffcc !important;
}

/* 灵魂元素 - 淡紫色 */
.element-spirit {
    color: #cc88ff !important;
}

/* 混合元素 - 粉红色 */
.element-hybrid {
    color: #ff69b4 !important;
    background: linear-gradient(45deg, #ff69b4, #ff1493, #dc143c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

/* 通用消息样式 */
.no-skills {
    text-align: center;
    padding: 40px;
    color: #888;
    font-size: 16px;
    font-style: italic;
}

/* 技能列表容器 */
.skills-damage-list {
    display: flex;
    flex-direction: column;
    gap: 0px;
    margin-top: 0px;
}

/* 无伤害源提示 */
.no-damage-sources {
    text-align: center;
    padding: 40px;
    color: #888;
    font-size: 16px;
    font-style: italic;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px dashed #444;
}
