/* ============================================
   Channel Detail - Element UI 风格美化
   只调整颜色/间距/阴影/圆角/字体，不改布局
   ============================================ */

/* ---- 整体容器 ---- */
.ch-detail-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    background: #F5F7FA;
    min-height: 100vh;
}

/* ---- 头部标题区域 ---- */
.ch-detail-head {
    text-align: center;
    padding: 32px 24px;
    margin-bottom: 24px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.ch-detail-title {
    font-size: 28px;
    font-weight: 600;
    color: #303133;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.ch-detail-title-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    vertical-align: middle;
}
.ch-detail-title-icon i {
    font-size: 32px;
    color: #409EFF;
}
.ch-detail-head .ch-detail-desc {
    font-size: 15px;
    color: #909399;
    margin: 0;
    line-height: 1.6;
}

/* ---- 卡片网格 ---- */
.ch-detail-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* ---- 单个卡片 ---- */
.ch-detail-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 16px 20px;
    background: #fff;
    border: 1px solid #EBEEF5;
    border-radius: 8px;
    text-decoration: none;
    color: #303133;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.ch-detail-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border-color: #409EFF;
}

/* ---- 卡片图标 ---- */
.ch-detail-icon-wrap {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    background: #F5F7FA;
    border-radius: 12px;
    transition: background 0.3s;
}
.ch-detail-card:hover .ch-detail-icon-wrap {
    background: #ECF5FF;
}
.ch-detail-icon-wrap img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
}
.ch-detail-card:hover .ch-detail-icon-wrap img {
    transform: scale(1.1);
}
.ch-detail-icon-wrap i {
    font-size: 36px;
    color: #409EFF;
}

/* ---- 卡片文字 ---- */
.ch-detail-name {
    font-size: 15px;
    font-weight: 600;
    color: #303133;
    margin-bottom: 6px;
    line-height: 1.4;
}
.ch-detail-card .ch-detail-desc {
    font-size: 13px;
    color: #909399;
    line-height: 1.5;
    margin-bottom: 4px;
}

/* ---- 卡片标签（待开放等） ---- */
.ch-detail-tag {
    display: inline-block;
    padding: 2px 10px;
    font-size: 12px;
    color: #E6A23C;
    background: #FDF6EC;
    border: 1px solid #FAECD8;
    border-radius: 4px;
    margin-top: 8px;
}

/* ---- 禁用/不可用卡片 ---- */
.ch-detail-card-disabled {
    opacity: 0.55;
    cursor: not-allowed;
}
.ch-detail-card-disabled:hover {
    transform: none;
    box-shadow: none;
    border-color: #EBEEF5;
}

/* ---- 空状态 ---- */
.ch-detail-empty {
    text-align: center;
    padding: 80px 0;
    color: #C0C4CC;
    font-size: 15px;
}

/* ---- 响应式 ---- */
@media (max-width: 992px) {
    .ch-detail-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 768px) {
    .ch-detail-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    .ch-detail-title {
        font-size: 22px;
    }
    .ch-detail-card {
        padding: 16px 12px 14px;
    }
    .ch-detail-icon-wrap {
        width: 48px;
        height: 48px;
    }
    .ch-detail-icon-wrap img {
        width: 36px;
        height: 36px;
    }
}
@media (max-width: 480px) {
    .ch-detail-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}
