/* 技能详情页核心容器 */
.skill-detail-wrapper {
    width: 1200px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 8fr 3fr; /* 主内容区+侧边栏 - 布局保留 */
    gap: 25px;
}

/* 主内容卡片 - 暖调替换 */
.skill-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; /* 配合伪元素定位 */
}

.skill-detail-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 325px); /* 适配侧边栏宽度 - 布局保留 */
    height: 3px;
    /* 暖调渐变，替换紫色渐变 */
    background: linear-gradient(90deg, #e69a88, #e87a6f, #f0b888);
    border-radius: 8px 8px 0 0;
    width:100%;
}

/* 面包屑导航（SEO核心）- 暖调适配 */
.skill-detail-breadcrumb {
    color: #7a6953; /* 浅木纹，替换浅紫 */
    font-size: 14px;
    margin-bottom: 20px;
}

.skill-detail-breadcrumb a {
    color: #e69a88; /* 浅杏色，替换紫色 */
    text-decoration: none;
    transition: color 0.3s ease;
}

.skill-detail-breadcrumb a:hover {
    color: #e87a6f; /* 珊瑚红hover，替换浅紫 */
    text-decoration: underline;
}

.skill-detail-breadcrumb span {
    margin: 0 8px;
    color: #e69a88; /* 浅杏色，替换深紫 */
}

/* 技能详情标题（H1标签 SEO规范）- 暖调替换 */
.skill-detail-title {
    color: #e87a6f; /* 珊瑚红，替换紫色 */
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    text-shadow: 0 0 10px rgba(230, 154, 136, 0.5); /* 暖调发光，替换紫色 */
}

/* 基础信息表格 - 暖调美化 */
.skill-base-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.skill-base-table th,
.skill-base-table td {
    padding: 12px 15px;
    border: 1px solid rgba(230, 154, 136, 0.3); /* 浅杏色边框，替换紫色 */
    color: #584830; /* 深木纹，替换浅紫 */
    font-size: 16px;
    text-align: center;
}

/* 表格表头/高亮列样式 - 暖调渐变 */
.skill-base-table th {
    background: linear-gradient(90deg, #e69a88, #e87a6f); /* 暖调渐变，替换紫色 */
    color: #fff; /* 白色文字保留 */
    font-weight: 600;
}

/* 暖调高亮单元格（替换原紫色） */
.skill-base-table .highlight-cell {
    background: rgba(230, 154, 136, 0.2); /* 浅杏色半透，替换紫色 */
    color: #584830; /* 深木纹，替换白色 */
    font-weight: 500;
}

/* 技能经验表格 - 暖调美化 */
.skill-exp-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.skill-exp-table th,
.skill-exp-table td {
    padding: 10px 12px;
    border: 1px solid rgba(230, 154, 136, 0.3); /* 浅杏色边框，替换紫色 */
    color: #7a6953; /* 浅木纹，替换浅紫 */
    font-size: 15px;
    text-align: center;
}

.skill-exp-table th {
    background: linear-gradient(90deg, #e69a88, #e87a6f); /* 暖调渐变，替换紫色 */
    color: #fff; /* 白色文字保留 */
}

.skill-exp-table .highlight-cell {
    background: rgba(230, 154, 136, 0.2); /* 浅杏色半透，替换紫色 */
    color: #584830; /* 深木纹，替换白色 */
    font-weight: 500;
}

/* 技能效果表格 - 暖调美化 */
.skill-effect-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.skill-effect-table th,
.skill-effect-table td {
    padding: 10px 12px;
    border: 1px solid rgba(230, 154, 136, 0.3); /* 浅杏色边框，替换紫色 */
    color: #7a6953; /* 浅木纹，替换浅紫 */
    font-size: 15px;
    text-align: left;
}

.skill-effect-table th {
    background: linear-gradient(90deg, #e69a88, #e87a6f); /* 暖调渐变，替换紫色 */
    color: #fff; /* 白色文字保留 */
    text-align: center;
}

/* 备注文本（暖调强调，替换红色） */
.skill-note {
    color: #e87a6f; /* 珊瑚红，替换红色 */
    font-size: 15px;
    text-align: center;
    margin-top: -20px;
    margin-bottom: 30px;
}

/* 侧边栏样式 - 布局保留 */
.skill-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 侧边栏卡片通用样式 - 暖调替换 */
.sidebar-card {
    background: #f0e8d8; /* 奶油木色，替换黑色半透 */
    border: 1px solid rgba(168, 136, 96, 0.35); /* 浅木色边框，替换紫色 */
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(168, 136, 96, 0.15); /* 暖调轻阴影 */
}

/* 侧边栏标题 - 暖调替换 */
.sidebar-card-title {
    color: #e87a6f; /* 珊瑚红，替换紫色 */
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(230, 154, 136, 0.3); /* 浅杏色分隔线，替换紫色 */
}

/* 技能分类按钮组 - 暖调替换 */
.skill-cate-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.skill-cate-btn {
    background: rgba(230, 154, 136, 0.2); /* 浅杏色背景，替换紫色 */
    border: 1px solid rgba(230, 154, 136, 0.5); /* 浅杏色边框，替换紫色 */
    border-radius: 6px;
    color: #584830; /* 深木纹，替换浅紫 */
    padding: 8px 12px;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.skill-cate-btn.active {
    background: linear-gradient(135deg, #e69a88, #e87a6f); /* 暖调渐变，替换紫色 */
    color: #fff; /* 白色文字保留 */
    border-color: #e87a6f; /* 珊瑚红边框，替换紫色 */
}

.skill-cate-btn:hover:not(.active) {
    background: rgba(232, 122, 111, 0.3); /* 珊瑚红背景，替换紫色 */
    color: #e87a6f; /* 珊瑚红文字，替换浅紫 */
}

/* 同类型技能列表 - 暖调替换 */
.same-type-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.same-type-list li {
    margin-bottom: 10px;
}

.same-type-list a {
    color: #584830; /* 深木纹，替换浅紫 */
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 6px 8px;
    border-radius: 4px;
}

.same-type-list a:hover {
    color: #e87a6f; /* 珊瑚红hover，替换白色 */
    background: rgba(230, 154, 136, 0.2); /* 浅杏色背景，替换紫色 */
    padding-left: 12px;
}

.same-type-list a.active {
    color: #e87a6f; /* 珊瑚红，替换紫色 */
    font-weight: 600;
    background: rgba(230, 154, 136, 0.1); /* 浅杏色背景，替换紫色 */
}

/* 核心关联A标签样式 - 暖调替换 */
.skill-link {
    color: #e69a88; /* 浅杏色，替换浅紫色 */
    text-decoration: none;
    transition: color 0.3s ease;
}

.skill-link:hover {
    color: #e87a6f; /* 珊瑚红hover，替换淡紫粉色 */
    text-decoration: none;
}

.skill-link.active {
    color: #e87a6f; /* 珊瑚红激活态，替换深紫色 */
    font-weight: 600;
}

