@font-face {
    font-family: "PingFang SC";
    font-weight: 100;
    font-style: normal;
    src: url("../font/PingFangSC-Regular.woff2") format("woff2");
}
*{
    user-select: none;
    box-sizing: border-box;
}
body {
    margin: 0;
    font: 16px 'PingFang SC', Arial, sans-serif !important; /* 设置默认字体为 PingFang SC */
    background-color: #f4f4f4; /* 背景颜色 */
    user-select: none;
}
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-width: 100vw;
    box-sizing: border-box;
}

.navbar.wap-main {
    background-color: #3D3A49;
    color: #ffffff;
}

.navbar .back-button {
    width: 40px;
    height: 40px;
    cursor: pointer;
    margin-left: 10px;
}

.navbar .left-div,
.navbar .open-app-div {
    display: flex;
    align-items: center;
    min-width: 80px; /* 让两侧留出足够空间 */
}

.navbar .open-app-button {
    background-color: #3D3A49;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 14px;
    margin-right: 15px;
}
.navbar.wap-main .open-app-button {
     background-color: #3D3A49;
     border: 1px solid #ffff;
}

.navbar .title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 18px;
    color: #333;
    white-space: nowrap;
}
.navbar.wap-main .title {
    color: #ffffff;
    font-family: "PingFang SCBold", Arial, sans-serif;
}
.flex1{
    flex: 1;
}
.navbar .open-app-div {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
}
.common-container{
    padding-top: 60px;
}
.wap-list {
    width: 100% !important;
    padding: 0 15px;
}

.flex-row {
    display: flex;
    flex-direction: row;
}

.news-info-title {
    font-size: 20px;
    line-height: 25px;
    color: #222222;
}

.text-author {
    font-size: 13px;
    line-height: 15px;
    color: #6C6C6C;
}

.text-author-blue {
    font-size: 13px;
    line-height: 15px;
    color: #3D3A49;
}

.text-date {
    font-size: 10px;
    line-height: 12px;
    color: #6C6C6C;
}

.detail-line {
    height: 1px;
    background-color: #E9ECF0;
    margin-top: 10px;
}

.ad-image {
    width: 100%;
    height: auto;
    max-height: 90px;
    display: block;
}

.news-detail img {
    width: 100%;
}
.channel-btn-box{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}
.channel-btn {
    border: 1px solid #E9ECF0;
    border-radius: 15px;
    padding: 5px 10px;

}

.count {
    font-size: 12px;
    margin-left: 3px;
    color: #000000;
}

/* 评论样式 */
.comment-container {
    padding: 10px 0px;
    background: #fff;
}

.comment-title {
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 10px;
}

.comment-btn{
    border-radius: 30px;
    background-color: #3D3A49;
    font-size: 16px;
    color: #ffffff;
    padding: 8px;
    text-align: center;
}

/* 相关视频 */
.back-white {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.news-channel-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 0px;
}

.news-channel {
    font-size: 16px;
    font-weight: bold;
    color: #000000;
}

.news-img {
    width: 100px;
    height: 80px;
    object-fit: cover;
}

.news-title {
    width: 210px;
    color: #000000;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.date-text {
    color: #6C6C6C;
    font-size: 10px;
}

/* 添加悬浮按钮样式 */
.float-app-btn {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #3D3A49;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    cursor: pointer;
    border: none;
    white-space: nowrap;
    text-align: center;
    min-width: 200px;
}
.float-app-btn.main-btn{
    background-color: #3D3A49;
}
.float-app-btn:active {
    opacity: 0.8;
}
.header-channels-wrapper.wap-channel{
    margin-top: 50px;
}
.common-container.wap-box{
    padding-top: 0px;
}
.common-container.wap-box .column-section{
    margin-top: 0px;
}
.common-container.wap-box .headline-image {
    width: 100px;
    height: 60px;
    border-radius: 5px;
}
.common-container.wap-box .left-news{
    padding: 10px;
}
.common-container.wap-box .headline-news-list{
    margin-top: 0px;
}
.common-container.wap-box .headline-news-list li a .headline-news-title{
    font-size: 15px;
}
.common-container.wap-box .headline-news-date{
    margin-top: 20px;
}
