/* ---------- 容器（无外层大背景） ---------- */
.l-cl-wrap {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ---------- 标题 ---------- */
.l-cl-header {
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #444;
}

.l-cl-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.3;
    letter-spacing: 1px;
}

/* ---------- 列表 ---------- */
.l-cl-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ---------- 单个卡片（小边框） ---------- */
.l-cl-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 12px;
    background: #2a2a2a;
    border: 1px solid #333;
    text-decoration: none;
    transition: all 0.25s ease;
    box-sizing: border-box;
    overflow: hidden;
}

.l-cl-item:hover {
    background: #333;
    border-color: #444;
    transform: translateY(-2px);
}

/* ---------- 图标 ---------- */
.l-cl-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    overflow: hidden;
}

.l-cl-icon img {
    max-width: 100%;
    max-height: 100%;
    width: 64px;
    height: 64px;
    object-fit: contain;
    display: block;
}

/* ---------- 文字区 ---------- */
.l-cl-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    flex: 1;
}

.l-cl-text-title {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.l-cl-text-desc {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---------- 浅色模式适配 ---------- */
html:not([data-theme="dark"]) .l-cl-title {
    color: #333;
}

html:not([data-theme="dark"]) .l-cl-header {
    border-bottom-color: #ddd;
}

html:not([data-theme="dark"]) .l-cl-item {
    background: #fff;
    border-color: #e5e7eb;
}

html:not([data-theme="dark"]) .l-cl-item:hover {
    background: #f8f9fa;
    border-color: #ccc;
}

html:not([data-theme="dark"]) .l-cl-text-title {
    color: #222;
}

html:not([data-theme="dark"]) .l-cl-text-desc {
    color: #555;
}

/* ---------- 响应式 ---------- */
@media (max-width: 480px) {
    .l-cl-item {
        padding: 14px 16px;
        gap: 12px;
    }

    .l-cl-icon,
    .l-cl-icon img {
        width: 56px;
        height: 56px;
    }

    .l-cl-text-title {
        font-size: 22px;
    }

    .l-cl-text-desc {
        font-size: 16px;
    }
}
