/* 公司标识和页脚。新写的样式使用嵌套结构。 */
.colour_bg {
    .bg_img {
        display: none;
    }

    .img_topHeader {
        position: static !important;
        background: #1b2830 !important;
    }
}

html {
    height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;

    .content {
        margin-top: 36px;
    }

    .bottom {
        margin-top: auto;
    }
}

.header {
    .header_right {
        height: auto;

        > li.app_Customer {
            display: none;
        }
    }

    .logo {
        width: auto;
        min-width: 250px;
        height: 60px;
        display: flex;
        align-items: center;

        .brand {
            display: flex;
            align-items: center;
            gap: 10px;
            color: #fff;
            text-decoration: none;

            .brand_mark {
                width: 36px;
                height: 36px;
                border-radius: 8px;
                background: #e23b3b;
                color: #fff;
                font-size: 20px;
                font-weight: 700;
                line-height: 36px;
                text-align: center;
                flex: none;
            }

            .brand_text {
                font-size: 18px;
                font-weight: 700;
                letter-spacing: 1px;
                white-space: nowrap;
            }
        }
    }

    .header_left > li:nth-child(2) {
        width: calc(100% - 270px) !important;
    }

    .header_list {
        > li {
            margin: 0 8px !important;
        }

        a {
            font-size: 14px;
            white-space: nowrap;
        }
    }
}

.bottom {
    width: 100%;
    background: #37434b;
    color: #fff;
    text-align: center;
    font-size: 14px;
    line-height: 1.7;

    .bottom_box {
        width: min(920px, 92%);
        margin: 0 auto;
        line-height: 1.7;
        padding: 6px 0 16px;
        color: #fff;
        text-align: center;

        .botttom {
            padding: 16px 0;
            line-height: 1.8;
            font-weight: 400;

            p {
                margin: 0;
            }

            a {
                color: #fff;
                margin: 0 6px;

                &:hover {
                    color: #8cbae5;
                }
            }

            .beian_link {
                img {
                    display: inline-block;
                    width: 16px;
                    height: 16px;
                    margin-right: 4px;
                    vertical-align: -3px;
                }
            }
        }
    }
}

.content {
    .content_title {
        .Subtitle {
            margin-bottom: 18px;
        }
    }

    .details {
        li a {
            color: #1b2830;
            text-decoration: none;

            p:last-child {
                color: #5c6770;
            }
        }

        img {
            width: 100%;
            height: auto;
            aspect-ratio: 3 / 2;
            object-fit: cover;
            object-position: center center;
        }

        .live_badge {
            display: inline-block;
            margin-right: 8px;
            padding: 0 6px;
            border-radius: 3px;
            background: #e23b3b;
            color: #fff;
            font-size: 12px;
            line-height: 18px;
        }
    }

    .room {
        width: min(880px, 92%);
        margin: 24px auto 40px;
        background: #fff;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
        text-align: left;

        img,
        video {
            display: block;
            width: 100%;
            background: #111;
        }

        video {
            height: min(72vh, 720px);
            object-fit: contain;
        }

        .room_info {
            padding: 16px 20px 20px;

            h1 {
                margin: 0 0 8px;
                font-size: 22px;
                color: #1b2830;
            }

            p {
                margin: 0;
                color: #666;
                font-size: 14px;
            }

            .room_desc {
                margin-top: 8px;
            }

            .live_badge {
                display: inline-block;
                margin-right: 8px;
                padding: 0 6px;
                border-radius: 3px;
                background: #e23b3b;
                color: #fff;
                font-size: 12px;
                line-height: 18px;
            }
        }
    }

    .comic_page {
        display: block;
        width: min(880px, 92%);
        height: auto;
        margin: 16px auto;
        background: #fff;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    }
}

.agreement {
    width: min(860px, 92%);
    margin: 28px auto 48px;
    padding: 32px 36px 40px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    color: #333;
    font-size: 15px;
    line-height: 1.85;
    text-align: left;

    h1 {
        margin: 0 0 6px;
        font-size: 24px;
        text-align: center;
        color: #1b2830;
    }

    .updated {
        margin: 0 0 18px;
        text-align: center;
        color: #888;
        font-size: 13px;
    }

    h2 {
        margin: 22px 0 8px;
        font-size: 16px;
        color: #1b2830;
    }

    p {
        margin: 0 0 8px;
    }
}
