/* meta-check.php：网页 Meta 元信息检测 */

.meta-check-page .tool-intro {
    color: #64748b;
    line-height: 1.6;
}

/* 查询行：输入 + 按钮，PC 横排、窄屏换行 */
.meta-query-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.meta-query-row .layui-input {
    flex: 1 1 220px;
    min-height: 40px;
}


.meta-hint {
    margin: 10px 0 0;
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}

.meta-source {
    margin: 0 0 10px;
    font-size: 13px;
    color: #64748b;
    word-break: break-all;
    min-height: 1.2em;
}

/* 结果表：窄屏可横向滚动 */
.meta-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.meta-result-table {
    margin: 0;
    min-width: 560px;
}

.meta-result-table th,
.meta-result-table td {
    word-break: break-word;
    vertical-align: middle;
}

.meta-col-label {
    width: 100px;
}

.meta-col-name {
    width: 120px;
}

.meta-col-len {
    width: 120px;
    white-space: nowrap;
}

/* 内容长度数字：绿色强调（与参考图一致） */
.meta-len {
    color: #16a34a;
    font-weight: 600;
}

.meta-empty-cell {
    color: #94a3b8;
}

.meta-content-cell {
    color: #334155;
    line-height: 1.5;
}

.meta-tips {
    margin-top: 14px;
}

@media (max-width: 768px) {
    /* 输入独占一行，操作按钮一行约 3 个 */
    .meta-query-row .layui-input {
        flex: 1 1 100%;
    }

    .meta-query-row .layui-btn {
        flex: 1 1 calc((100% - 16px) / 3);
        min-width: calc((100% - 16px) / 3);
        max-width: calc((100% - 16px) / 3);
        box-sizing: border-box;
        margin-left: 0;
        padding-left: 6px;
        padding-right: 6px;
        font-size: 13px;
    }

    .meta-col-label,
    .meta-col-name,
    .meta-col-len {
        width: auto;
    }

    .meta-result-table {
        font-size: 13px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .meta-query-row .layui-input {
        flex: 1 1 100%;
    }
}
