.m-home-tabs .tabs { display: flex; border-bottom: 1px solid #ccc; background: #f8f8f8; }
.m-home-tabs .tabs .tab {
    flex: 1; padding: 10px; border: none; background: none; font-size: 14px;    border-bottom: 2px solid #f8f8f8;text-align: center;
}
.m-home-tabs .tabs .tab.active{
    border-bottom: 2px solid #007bff; color: #007bff; font-weight: bold;
}
.m-home-tabs .content {
    padding: 10px;
    display: none;
    background: #fff;
}
.m-home-tabs .content.active {
    display: block;
}
.m-home-tabs .section.active {
    display: block;
}
.m-home-tabs .section {
    display: none;
}
/* 二级Tab修改 */
.m-home-tabs .sub-tabs {
    background: #fff;
    padding: 6px 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    display: flex;
    padding: 6px 4px 12px; /* 加大底部 padding 给箭头空间 */
    -webkit-overflow-scrolling: touch;
}
.m-home-tabs .sub-tabs {
    overflow-x: scroll;     /* 允许横向滚动 */
    scrollbar-width: none;  /* Firefox 隐藏滚动条 */
    -ms-overflow-style: none; /* IE/Edge 隐藏滚动条 */
}

.m-home-tabs .sub-tabs::-webkit-scrollbar {
    display: none; /* Chrome、Safari 隐藏滚动条 */
}
.sub-tabs .sub-tab {
    flex: 0 0 auto;
    background: #f0f0f0;
    border: none;
    border-radius: 6px;
    padding: 8px 18px;
    font-size: 15px;
    color: #333;
    white-space: nowrap;
    transition: background-color 0.3s, color 0.3s;
    cursor: pointer;
}
.m-home-tabs .sub-tabs .sub-tab {
    position: relative;
    flex: 0 0 auto;/* 防止伸缩 */
    background: #f0f0f0;
    border: none;
    border-radius: 6px;   /* 从20px改成6px */
    padding: 8px 18px;
    font-size: 15px;
    color: #333;
    white-space: nowrap;
    transition: background-color 0.3s, color 0.3s;
    cursor: pointer;
}

.m-home-tabs .sub-tabs .sub-tab.active {
    background-color: #007bff;
    color: white;
    font-weight: 600;
}
.m-home-tabs a.sub-tab {display: block;}
/* 箭头伪元素放在按钮底部外面 */
.m-home-tabs .sub-tabs .sub-tab.active::after {
    content: "";
    position: absolute;
    top: 98%;  /* 放在按钮底部外 */
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 6px solid #007bff;
}


/* 三级Tab修改 */
.m-home-tabs .tags {
    padding: 6px 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 6px;
    display: flex;
    margin-bottom: 8px;
}

.m-home-tabs .tags .tag {
    flex: 0 0 auto;
    background: transparent;
    border: 1.5px solid #888;
    border-radius: 14px;
    padding: 5px 14px;
    font-size: 13px;
    color: #666;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.25s ease;
}
.m-home-tabs .tags .tag.active {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
    font-weight: 600;
}
.m-home-tabs .post-button {
    font-size: 0;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: radial-gradient(circle at center, #3b8bdc 0%, #2f7cc5 60%, #246baa 100%);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
    color: transparent; /* 隐藏文字 */
    cursor: pointer;
    z-index: 99999;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}
.m-home-tabs .post-button::before {
    content: "\1F4DD";
    color: white;
    pointer-events: none;
    font-size:24px;
    margin-top: -3px;
    margin-left: 2px;
}

.m-home-tabs .search-bar {
    position: relative;
    padding: 0 35px 0 14px;
    border: 1px solid #ccc;
    -webkit-border-radius: 16px;
    -moz-border-radius: 16px;
    border-radius: 16px;
}

.m-home-tabs .search-bar input[type="text"] {
    border: 0;
    height: 22px;
    padding: 5px 0;
    text-align: center;
    font-size: 14px;
    width: 100%;
}

.m-home-tabs .search-bar  img {
    width: 18px;
    position: absolute;
    top: 7px;
    right: 10px;
}

.m-home-tabs .data-flow-htn {
    margin-top: 10px;
    padding-bottom: 10px;
}
.m-home-tabs .data-flow {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
    border-bottom: 1px solid #e5e5e5;
}
.m-home-tabs .data-flow .l-i {
    margin-right: 2%;
    margin-right:10px;
}
.m-home-tabs  .data-flow .r-i {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: baseline;
    flex-wrap: nowrap;
    align-content: flex-start;
}

.m-home-tabs  .npntitle {
    font-weight: 700;
    font-size: 16px;
    color: #333;
    height: 20px;
    line-height: 20px;
    overflow: hidden;
}
div#m-tab-company .l-i img  {
    width: 120px;
    height: 90px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}
div#m-tab-company .npntitle img {
    width:16px;
}

div#m-tab-company .company-address {
    font-size: 13px;
    color: #333;
    font-weight: 400;
}
div#m-tab-deal .l-i{
    width:28%;
}
div#m-tab-deal .l-i img{
    width:100%;
}

div#m-tab-deal .r-i {
    width:70%;
}
div#m-tab-deal .npntitle {
    font-weight:normal;
    flex: 1;
}
div#m-tab-deal .npnposttime {
    width:100%;
}
.m-home-tabs .itt-wrap .itt-img img ,.m-home-tabs  .forum_topic_row img.forum_topic_img,.m-home-tabs .data-flow.data-flow-htn .l-i img {
    background-image: url(https://c3.nychinaren.com/images/mobile/default80.png);
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: center;
    height: 100%;
}
#m-tab-company .l-i img {
    width: 120px;
    height: 90px;
    background-image: url(https://c3.nychinaren.com/images/mobile/default.png);
    background-size: cover;
}
.m-home-tabs .pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 16px;
    width: 100%;
}
.m-home-tabs .pagination button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}
.m-home-tabs .page-info {
    font-size: 16px;
    min-width: 50px;
    text-align: center;
}
.m-home-tabs  .msg_prompt {
    font-weight: normal;
    color: #555;
}
.m-home-tabs  .loading {
    display:none;
}