/* 协议页面公共样式 */

@media (orientation: landscape) {
    body {
        -webkit-text-size-adjust: 100%;
    }
}

body {
    color: #333;
    margin: 0 0 20px;
    padding: 0 10px;
    font-size: 21px;
    line-height: 30px;
    text-align: justify;
    font-family: "微软雅黑";
}

#container {
    max-width: 1400px;
    margin: 0 auto;
}

p {
    margin: 10px 0;
    text-indent: 2em;
}

a {
    color: #025feb;
}

.logo-box {
    width: 100%;
    height: 30px;
    padding: 20px 0 10px;
}

.logo {
    width: 150px;
    height: 30px;
    position: fixed;
    left: 10px;
    top: 16px;
}

.logo span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 0;
    height: 0;
    -webkit-transition: opacity .3s ease;
    transition: opacity .3s ease;
    opacity: 0;
}

.logo img {
    display: block;
    height: 100%;
    -webkit-transition: width 0.3s ease, height 0.3s ease;
    -moz-transition: width 0.3s ease, height 0.3s ease;
    -ms-transition: width 0.3s ease, height 0.3s ease;
    transition: width 0.3s ease, height 0.3s ease;
}

.logo.on {
    position: fixed;
    width: 100%;
    padding: 10px 0;
    height: 20px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
}

.logo.on img {
    padding: 0 10px;
    -webkit-transition: width 0.3s ease, height 0.3s ease;
    -moz-transition: width 0.3s ease, height 0.3s ease;
    -ms-transition: width 0.3s ease, height 0.3s ease;
    transition: width 0.3s ease, height 0.3s ease;
}

.logo.top span {
    padding: 0 10px;
    margin-left: 120px;
    opacity: 1;
    width: auto;
    height: auto;
    border-left: 1px solid #dedede;
}

.logo.top img {
    position: absolute;
    top: 10px;
    left: 0;
    width: 100px;
    height: 20px;
    transition: none;
}

.page-title {
    font-size: 20px;
    margin-top: 20px;
    padding-bottom: 5px;
}

.update-time {
    color: #B0B2BC;
}

.page-border {
    border: 1px solid #CECECE;
    padding: 0 16px;
    border-radius: 4px;
}

table {
    table-layout: fixed;
    word-wrap: break-word;
    border-collapse: collapse;
    border: none;
    border: 1px solid #e0e0e0;
    margin-bottom: 10px;
}

table tr {
    border: 1px solid #e0e0e0;
}

table td {
    padding: 0 5px;
    border: 1px solid #e0e0e0;
    text-align: center;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    body {
        font-size: 18px;
        line-height: 28px;
    }

    .page-title {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
        line-height: 26px;
        padding: 0 15px;
    }

    #container {
        padding: 0;
    }

    .page-border {
        padding: 0 12px;
        border-radius: 0;
    }

    .page-title {
        font-size: 16px;
        margin-top: 15px;
    }

    .logo {
        left: 15px;
    }

    table {
        font-size: 14px;
    }

    table td {
        padding: 5px 3px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
        line-height: 24px;
    }

    .page-title {
        font-size: 14px;
    }
}
