@charset "utf-8";

/* 说明区整体 */
.box01 {
    margin-top: 10px;
}

.box01 .hd {
    margin-bottom: 6px;
}

.box01 .hd h3 {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    line-height: 1.4;
}

.box01 .bd {
    padding: 0;
}

/* 核心：尽量挤在一起 */
.des-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px 12px;
    align-items: start;
}

/* 每个算法块 */
.des-item {
    width: 100%;
}

/* 标题 */
.des-title {
    font-size: 13px;
    font-weight: bold;
    color: #333;
    margin: 0 0 3px 0;
    line-height: 1.3;
}

/* 表格 */
.des-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.des-table td {
    padding: 1px 0;
    font-size: 12px;
    line-height: 1.35;
    color: #555;
    border: none;
    white-space: nowrap;
}

/* 左列 */
.des-table td:first-child {
    text-align: left;
    padding-right: 8px;
}

/* 右列 */
.des-table td:last-child {
    text-align: right;
    color: #333;
}

/* 平板 */
@media screen and (max-width: 1024px) {
    .des-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px 10px;
    }
}

/* 手机 */
@media screen and (max-width: 768px) {
    .des-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px 8px;
    }

    .des-title {
        font-size: 12px;
        margin-bottom: 2px;
    }

    .des-table td {
        font-size: 11px;
        line-height: 1.3;
        padding: 1px 0;
    }
}

/* 超小屏 */
@media screen and (max-width: 420px) {
    .des-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 5px 6px;
    }

    .des-title {
        font-size: 12px;
    }

    .des-table td {
        font-size: 10px;
    }
}