﻿* {
    margin: 0;
    padding: 0;
    outline: 0;
    -webkit-overflow-scrolling: touch;
}

body,
html {
    height: 100%;
    width: 100%;
}

i {
    font-style: normal;
}

body {
    overflow-x: hidden;
    overflow-y: scroll;
    background: #fff;
}

span {
    display: inline-block;
}

p em {
    font-weight: bold;
    color: rgba(29, 29, 29, 1);
    font-style: normal;
}

.content-title {
    font-size: 0.32rem;
    font-family: SourceHanSansCN-Bold, SourceHanSansCN;
    font-weight: bold;
    color: rgba(29, 29, 29, 1);
    line-height: 0.48rem;
    margin-top: 0.32rem;
}

.content-title2 {
    font-size: 0.28rem;
    font-family: SourceHanSansCN-Bold, SourceHanSansCN;
    font-weight: bold;
    color: rgba(29, 29, 29, 1);
    line-height: 0.48rem;
    margin-top: 0.32rem;
}

.text-first {
    text-indent: 0.4rem;
    margin-top: 0.32rem;
}

.span-title {
    font-weight: bold;
    color: rgba(29, 29, 29, 1);
    display: inline !important;
}

.p-title {
    font-weight: bold;
    color: rgba(29, 29, 29, 1);
}

.no-indext {
    text-indent: 0rem !important;
}

.p-behind {
    display: inline !important;
}

.text-p {
    text-indent: 0.4rem;
    margin-top: 0.32rem;
}

.protocol {
    width: 100%;
    height: 100%;
    background: #fff;
    overflow: hidden;
}

.protocol-content {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-top: 0.01rem solid #d8d8d8;
    font-size: 0.28rem;
    font-family: SourceHanSansCN-Regular, SourceHanSansCN;
    font-weight: 400;
    color: #5f5f5f;
    padding: 0 0.3rem;
    line-height: 0.42rem;
    text-align: left;
    padding-bottom: 1rem;
    overflow-y: auto;
}

.table_box {
    margin: 0.12rem auto;
    overflow-x: auto;
}

.table_p {
    table-layout: fixed;
    empty-cells: show;
    border-collapse: collapse;
    font-size: 0.24rem;
}

th {
    height: 48px;
    line-height: 48px;
}

td,
th {
    min-width: 120px;
    max-width: 260px;
    border: 1px solid #cad9ea;
    text-align: center;
    word-break: break-all;
}

td {
    padding: 3px 0;
    line-height: 22px;
}

/* ========== 移动端自适应样式 ========== */
@media screen and (max-width: 768px) {
    /* 页面整体调整 */
    body {
        font-size: 14px;
        -webkit-text-size-adjust: 100%;
    }

    .protocol-content {
        padding: 0 12px;
        font-size: 14px;
        line-height: 1.6;
    }

    .content-title {
        font-size: 18px;
        line-height: 1.5;
        margin-top: 20px;
    }

    .text-first {
        text-indent: 2em;
        margin-top: 12px;
        font-size: 14px;
        line-height: 1.7;
    }

    p em {
        font-weight: bold;
        color: #1d1d1d;
    }
    /* 表格容器 */
    .table_box {
        margin: 12px -4px;
        overflow-x: visible;
    }
        /* ===== 权限表格（3列）卡片化 ===== */
        .table_box:first-of-type .table_p thead,
        .table_box:first-of-type .table_p th {
            display: none;
        }

        .table_box:first-of-type .table_p tr {
            display: block;
            margin-bottom: 10px;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            background: #fafafa;
            padding: 10px 14px;
        }

        .table_box:first-of-type .table_p td {
            display: block;
            border: none;
            text-align: left;
            padding: 4px 0;
            min-width: auto;
            max-width: none;
            word-break: break-word;
        }

            .table_box:first-of-type .table_p td:nth-of-type(1)::before {
                content: "设备权限：";
                font-weight: bold;
                color: #1d1d1d;
                display: inline;
            }

            .table_box:first-of-type .table_p td:nth-of-type(2)::before {
                content: "获取方式：";
                font-weight: bold;
                color: #1d1d1d;
                display: inline;
            }

            .table_box:first-of-type .table_p td:nth-of-type(3)::before {
                content: "目的：";
                font-weight: bold;
                color: #1d1d1d;
                display: inline;
            }
    /* ===== 第三方SDK表格（5列）卡片化 ===== */
    .table_sdk thead,
    .table_sdk th {
        display: none;
    }

    .table_sdk,
    .table_sdk tbody {
        display: block;
    }

        .table_sdk tr {
            display: block;
            margin-bottom: 14px;
            border: 1px solid #cad9ea;
            border-radius: 10px;
            background: #f9fafb;
            padding: 14px 12px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.06);
        }

        .table_sdk td {
            display: block;
            border: none;
            text-align: left;
            padding: 5px 0;
            min-width: auto;
            max-width: none;
            word-break: break-word;
            font-size: 13px;
            line-height: 1.6;
        }
            /* 每个td用伪元素标注列名 */
            .table_sdk td:nth-of-type(1) {
                font-size: 15px;
                font-weight: bold;
                color: #1d1d1d;
                padding-bottom: 8px;
            }

                .table_sdk td:nth-of-type(1)::before {
                    content: "";
                    display: none;
                }

            .table_sdk td:nth-of-type(2)::before {
                content: "提供方：";
                font-weight: bold;
                color: #1d1d1d;
                display: inline;
            }

            .table_sdk td:nth-of-type(3)::before {
                content: "收集的个人信息：";
                font-weight: bold;
                color: #1d1d1d;
                display: block;
                margin-bottom: 2px;
            }

            .table_sdk td:nth-of-type(4)::before {
                content: "收集方式及目的：";
                font-weight: bold;
                color: #1d1d1d;
                display: block;
                margin-bottom: 2px;
            }

            .table_sdk td:nth-of-type(5)::before {
                content: "隐私政策：";
                font-weight: bold;
                color: #1d1d1d;
                display: inline;
            }
            /* 隐私政策链接单独处理 */
            .table_sdk td:nth-of-type(5) {
                font-size: 12px;
                word-break: break-all;
                color: #2962ff;
            }

                .table_sdk td:nth-of-type(5) a {
                    color: #2962ff;
                    word-break: break-all;
                }
            /* SDK名称加底色 */
            .table_sdk td:nth-of-type(1) {
                background: #eef2ff;
                margin: -14px -12px 8px -12px;
                padding: 10px 12px;
                border-radius: 10px 10px 0 0;
            }
}
