.m-home-tabs {
    min-height: 1000px;
    margin-bottom: 30px;
}
.m-home-tabs .tabs { display: flex; border-bottom: 2px solid #ddd; background: #fff; }
.m-home-tabs .tab { flex: 1; text-align: center; padding: 12px; cursor: pointer; }
.m-home-tabs .tab.active { border-bottom: 3px solid #0558a4; font-weight: bold; color: #0558a4; }
.m-home-tabs .content { padding: 16px; display: none; background: #fff; }
.m-home-tabs .content.active { display: block; }
.m-home-tabs .sub-tabs { display: flex; gap: 8px; margin: 12px 0; }
.m-home-tabs .sub-tab { padding: 8px 16px; background: #eee; border-radius: 4px; cursor: pointer; }
.m-home-tabs .sub-tab.active,.m-home-tabs .section .tag.active { background: #0558a4; color: #fff; }
.m-home-tabs a.sub-tab {display: block;}
.m-home-tabs .section .tags, .search-bar, .list { margin-bottom: 12px; }
.m-home-tabs .section .tags { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.m-home-tabs .section .tag { padding: 6px 12px; background: #e0e0e0; border-radius: 12px; font-size: 14px; cursor: pointer; }
.m-home-tabs input[type="text"] { width: 100%; padding: 8px; border: 1px solid #ccc; border-radius: 4px; }
.m-home-tabs .section { display: none; }
.m-home-tabs .section.active { display: block; }
.m-home-tabs .search-bar {
    position: relative;
}
.m-home-tabs .search-bar img {
    position: absolute;
    right: 5px;
    top: 9px;
}
.m-home-tabs span.btn_forum_post_new {
    display: block;
    background: #fff url(https://c3.nychinaren.com/images/forumicon9.png) no-repeat 0 -740px;
    color: white;
    font-size: 12px;
    font-weight: bold;
    line-height: 26px;
    padding: 0 25px 0 45px;
    cursor: pointer;
}
.m-home-tabs .post-button {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    font-weight: bold;
    color: white;
    background: radial-gradient(ellipse at center, #3b8bdc 0%, #2f7cc5 60%, #246baa 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}
.m-home-tabs .post-button:hover {
    filter: brightness(1.05);
    color: white !important;
}
.m-home-tabs .post-button::before {
    content: "\1F4DD";
    display: inline-block;
    margin-right: 3px;
    margin-top: -2px;
}

.data-flow-htn .tag-ad{ background: grey}
.data-flow.data-flow-htn .r-i{
    flex:auto;
}
.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;
}
div#m-tab-news .l-i  img {
    width:208px;
    height:117px;
}
#m-tab-forum .l-i img{ width:200px;height:120px;}
#m-tab-company .l-i img {
    width: 160px;
    height: 120px;
    background-image: url(https://c3.nychinaren.com/images/mobile/default.png);
    background-size: cover;
}
#m-tab-company .r-i .npntitle img{ width:18px;height:18px;margin-top:-2px;}
#m-tab-company .r-i img.cat_img{ height:10px;}
#m-tab-company .r-i .company-address{ color: #333;}

#m-tab-forum .forum-item, #m-tab-company  .forum-item {
    padding: 6px 0;
    border-bottom: 1px solid #eee;
    width: 100%;
    line-height: 1.6;
    white-space: nowrap;
}

#m-tab-forum  .post-title-block, #m-tab-company   .post-title-block{
    display: inline-flex;
    align-items: center;
    width: 680px;
}
#m-tab-forum  a.forum-name, #m-tab-company a.forum-name{
    font-size:16px;
    font-weight:bold;
    vertical-align: middle;
    margin-left:-8px;
}

#m-tab-forum .post-title, #m-tab-company .post-title{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #333;
    font-size:16px;
    vertical-align: middle;
    display: inline-block;
}

#m-tab-forum .post-time {
    color: #888;
    margin-left: 12px;
    flex-shrink: 0;
    float: right;
    line-height: 28px;
}
#m-tab-forum a:hover{
    color: #0558a4;
}

#m-tab-forum span.img {
    background: url(https://c3.nychinaren.com/templates/horse/images/forum-img.png) no-repeat;
    height: 15px;
    width: 18px;
    display: inline-block;
    line-height: 10px;
    margin-left: 5px;
    padding-right:15px;
}

#m-tab-forum  span.top, #m-tab-forum  span.bid, #m-tab-forum  span.vote, #m-tab-forum  span.hot, #m-tab-forum  span.read, #m-tab-forum  span.new,  #m-tab-forum  span.locked{
    height: 25px;
    width: 25px;
    display: inline-block;
    line-height: 30px;
    margin-right: 3px;
}
#m-tab-forum  span.top {
    background: url(https://c3.nychinaren.com/images/forumicon9.png) no-repeat -115px -813px
}
#m-tab-forum  span.bid {
    background: url(https://c3.nychinaren.com/images/forumicon9.png) no-repeat -119px -1220px
}
#m-tab-forum  span.hot {
    background: url(https://c3.nychinaren.com/images/forumicon9.png) no-repeat -119px -1195px
}
#m-tab-forum  span.vote {
    background: url(https://c3.nychinaren.com/images/forumvoteicon.png) no-repeat;
    background-position: 5px 10px;
}
#m-tab-forum  span.read {
    background: url(https://c3.nychinaren.com/images/forumicon9.png) no-repeat -115px -870px
}
#m-tab-forum  span.new {
    background: url(https://c3.nychinaren.com/images/forumicon9.png) no-repeat -115px -760px
}
#m-tab-forum  span.locked {
    background: url(https://c3.nychinaren.com/images/forumicon9.png) no-repeat -115px -840px
}
#m-tab-company .forum-item a.post-title  img {
    height: 18px;
    width: 18px;
    margin-left: 5px;
    margin-top:-3px;
}
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
}
.tool-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    text-align: center;
    font-size: 16px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: 0.2s ease;
}
.tool-card:hover {
    background-color: #e6f0ff;
    color: #0056b3;
}

.tool-card {
    position: relative;
    white-space: nowrap;
}

.tool-card::before {
    content: "";
    font-size: 16px;
    margin-right: 4px;
}

.icon-site::before { content: "📌"; }
.icon-unit::before { content: "📐"; }
.icon-zh::before { content: "🔁"; }
.icon-surname::before { content: "👨‍👩‍👧‍👦"; }
.icon-mortgage::before { content: "🏠"; }
.icon-zipcode::before { content: "📮"; }
.icon-festival::before { content: "🎉"; }
.icon-weather::before { content: "🌦️"; }
.icon-size::before { content: "👟"; margin-top: -6px;}
.icon-tariff::before { content: "💸"; }
.icon-license::before { content: "🚗"; margin-top: -6px;}
.icon-naturalization::before { content: "🛂"; }
.icon-time::before { content: "⏰"; }
.icon-card::before { content: "🆔⬆️"; }

.tool-card:hover {
    background-color: #e6f0ff;
}

div#m-tab-deal .l-i img{
    width:150px;
    height:150px;
}

div#m-tab-deal .npncontent{
    width:100%;
    font-size:18px;
}
div#m-tab-deal span.newprice {
    color:#ff0000;
    margin-right: 10px;
}
div#m-tab-deal span.oldprice {
    color: #999;
    text-decoration: line-through;
    margin-right: 10px;
}

div#m-tab-deal .npnposttime {
    width:100%;
    white-space:nowrap;
}
div#m-tab-deal .dis_publish {
    float:right;
}
div#m-tab-deal .dis_storename {
    color:#333;
    display:inline-block;
}

.m-home-tabs .content .pagination {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 14px;
    white-space: nowrap;
    justify-content: center;
}
.m-home-tabs .content .pagination button {
    padding: 4px 10px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
    border-radius: 4px;
}
.m-home-tabs .content .pagination button.active {
    background: #0558a4;
    color: #fff;
    border-color: #0558a4;
}
.m-home-tabs .content .pagination button:disabled {
    color: #ccc;
    cursor: not-allowed;
}
.m-home-tabs .content .pagination .jump {
    display: flex;
    align-items: center;
    gap: 4px;
}
.m-home-tabs .content .pagination .jump input {
    width: 40px;
    text-align: center;
}
.m-home-tabs .content .pagination button.prev {
    background-image: url(https://c3.nychinaren.com/images/mobile/arrow_left.png);
}
.m-home-tabs .content .pagination button.next {
    background-image: url(https://c3.nychinaren.com/images/mobile/arrow_right.png);
}
.m-home-tabs .content .pagination button.prev ,.m-home-tabs .content .pagination button.next {
    background-repeat: no-repeat;
    height: 30px;
    width: 30px;
    background-size:50%;
    background-position-x:center;
    background-position-y:center;
}
.m-home-tabs .content .pagination button.disabled{
    opacity: 0.5;
}
.m-home-tabs .tips {
    margin-left: 10px;
}
.m-home-tabs dl.highlight_tour dt {
    text-align:center
}
.m-home-tabs  dd.comment{
    display:flex;
}
.m-home-tabs  .tips p {
    margin:5px 0px;
}
.m-home-tabs  dd.comment .prompt {
    float: left;
    width: 30%;
    text-align: right;
    font-size: 25px;
    color: #ff6711;
    line-height: 30px;
    letter-spacing: 2px;
}
.m-home-tabs  form#cse-search-box{
    display:flex;
    flex-direction: row;
    flex-wrap: nowrap;
    margin: 10px 0px 15px 0px;
}
.m-home-tabs  form#cse-search-box input[type="text"]{
    width: 60%;
}
.m-home-tabs  form#cse-search-box input[type="submit"], .m-home-tabs  .tips a.toForum {
    background-image: -moz-linear-gradient(top, #ffffff, #e6eaed);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6eaed));
    background-image: -webkit-linear-gradient(top, #ffffff, #e6eaed);
    background-image: -o-linear-gradient(top, #ffffff, #e6eaed);
    background-image: linear-gradient(to bottom, #ffffff, #e6eaed);
    background-repeat: repeat-x;
    border: 1px solid #d6d6d6;
    border-radius: 4px;
    font-weight: bold;
    color: #333;
}
.m-home-tabs  form#cse-search-box input[type="submit"] {
    height: 38px;
    padding: 0px 15px;
    margin-left: 8px;
}
.m-home-tabs  .tips a.toForum {
    padding: 5px 15px;
    margin-left:15px;
}
.sec-wrap.sec-wrap-1 .row.cat-wrap {
    margin: 10px 0px;
}
