/* NPC详情页核心容器 */
.npc-detail-wrapper {
    width: 1200px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 2;
}

/* 详情页主卡片 - 暖调风格 */
.npc-detail-card {
    background: #f0e8d8; /* 奶油木色，替换黑色半透 */
    border: 1px solid rgba(168, 136, 96, 0.35); /* 浅木色边框，替换紫色 */
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(168, 136, 96, 0.15); /* 暖调轻阴影 */
    position: relative; /* 配合伪元素定位 */
}

.npc-detail-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    /* 暖调渐变，替换紫色渐变 */
    background: linear-gradient(90deg, #e69a88, #e87a6f, #f0b888);
    border-radius: 8px 8px 0 0;
}

/* 面包屑导航 - SEO友好（暖调适配） */
.npc-breadcrumb {
    color: #7a6953; /* 浅木纹，替换浅紫 */
    font-size: 14px;
    margin-bottom: 20px;
}

.npc-breadcrumb a {
    color: #e69a88; /* 浅杏色，替换紫色 */
    text-decoration: none;
    transition: color 0.3s ease;
}

.npc-breadcrumb a:hover {
    color: #e87a6f; /* 珊瑚红hover，替换浅紫 */
    text-decoration: underline;
}

.npc-breadcrumb span {
    margin: 0 8px;
    color: #e69a88; /* 浅杏色，替换深紫 */
}

/* NPC名称与编辑提示（暖调） */
.npc-detail-title {
    color: #e87a6f; /* 珊瑚红，替换紫色 */
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(230, 154, 136, 0.5); /* 暖调发光 */
}

.npc-edit-tip {
    color: #7a6953; /* 浅木纹，替换浅紫 */
    font-size: 14px;
    margin-left: 10px;
}

.npc-edit-tip a {
    color: #e69a88; /* 浅杏色，替换深紫 */
    text-decoration: none;
}

.npc-edit-tip a:hover {
    color: #e87a6f; /* 珊瑚红hover，替换浅紫 */
    text-decoration: underline;
}

/* NPC基础信息表格 - 暖调美化 */
.npc-info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
}

.npc-info-table th,
.npc-info-table td {
    padding: 12px 15px;
    border: 1px solid rgba(230, 154, 136, 0.3); /* 浅杏色边框，替换紫色 */
    color: #7a6953; /* 浅木纹，替换浅紫 */
    font-size: 16px;
    text-align: left;
}

.npc-info-table th {
    background: rgba(230, 154, 136, 0.1); /* 浅杏色半透，替换紫色 */
    color: #584830; /* 深木纹，替换浅紫 */
    font-weight: 600;
    width: 120px;
}

/* 详情标题（暖调） */
.npc-detail-subtitle {
    color: #e87a6f; /* 珊瑚红，替换紫色 */
    font-size: 22px;
    font-weight: 600;
    margin: 30px 0 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(230, 154, 136, 0.3); /* 浅杏色分隔线，替换紫色 */
}

/* 详情内容（暖调） */
.npc-detail-content {
    color: #584830; /* 深木纹，替换浅紫 */
    font-size: 16px;
    line-height: 1.8;
    padding: 10px 0;
}

/* 响应式适配（仅调整颜色相关，布局不变） */
@media (max-width: 1200px) {
    .npc-detail-wrapper {
        width: 95%;
        padding: 0 15px;
    }
    
    .npc-detail-title {
        font-size: 28px;
    }
    
    .npc-info-table th,
    .npc-info-table td {
        font-size: 15px;
        padding: 10px 12px;
    }
}

@media (max-width: 768px) {
    .npc-detail-subtitle {
        font-size: 20px;
    }
    
    .npc-detail-content {
        font-size: 15px;
    }
    
    .npc-info-table th {
        width: 100px;
    }
}