*{box-sizing:border-box;margin:0;padding:0}
body{font:14px/1.6 -apple-system,"PingFang SC","Microsoft YaHei",sans-serif;background:#f5f5f5;color:#333;padding-bottom:54px}
a{color:inherit;text-decoration:none}
ul{list-style:none}
img{max-width:100%;display:block}

.nm-head{display:flex;align-items:center;gap:10px;padding:10px 12px;background:#fff;position:sticky;top:0;z-index:40}
.nm-head .logo{flex:0 0 auto;font-size:17px;font-weight:700;color:#ff6700;max-width:110px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.nm-head .so{flex:1}
.nm-head input{width:100%;height:34px;border:0;background:#f2f2f2;border-radius:17px;padding:0 14px;outline:0;font-size:13px}
.nm-tabs{display:flex;overflow-x:auto;background:#fff;border-bottom:1px solid #eee;padding:0 6px;scrollbar-width:none}
.nm-tabs::-webkit-scrollbar{display:none}
.nm-tabs a{flex:0 0 auto;padding:10px 12px;font-size:14px;color:#333;position:relative;white-space:nowrap}
.nm-tabs a.on{color:#ff6700;font-weight:700}
.nm-tabs a.on:after{content:"";position:absolute;left:50%;bottom:0;width:18px;margin-left:-9px;height:2px;background:#ff6700}

.nm-banner{background:#222}
.nm-banner img{width:100%;aspect-ratio:16/9;object-fit:cover}
.nm-sec{background:#fff;margin:8px 0 0;padding:12px}
.nm-sec .hd{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
.nm-sec .hd h2{font-size:16px;margin:0}
.nm-sec .hd a{color:#999;font-size:12px}
.nm-tags{display:flex;flex-wrap:wrap;gap:8px}
.nm-tags a{display:inline-block;padding:5px 12px;background:#f5f5f5;border-radius:14px;font-size:12px;color:#666}
.nm-tags a:active{background:#fff0e6;color:#ff6700}

.nm-list li{border-bottom:1px solid #f2f2f2}
.nm-list li:last-child{border-bottom:0}
.nm-list a{display:flex;gap:12px;padding:12px 0}
.nm-list .thumb{flex:0 0 110px;width:110px;height:78px;overflow:hidden;background:#f0f0f0;border-radius:4px}
.nm-list .thumb img{width:100%;height:100%;object-fit:cover}
.nm-list .info{flex:1;min-width:0}
.nm-list h3{font-size:15px;font-weight:600;margin:0 0 6px;line-height:1.35;max-height:2.7em;overflow:hidden}
.nm-list p.pname{font-size:12px;color:#666;margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.nm-list .date{display:block;margin-top:6px;font-size:11px;color:#bbb}
.ph{display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:#ff6700;background:#f7f7f7;font-size:28px}

.nm-page-hd{background:#fff;padding:14px 12px 8px}
.nm-page-hd h1{font-size:18px;margin:0}
.nm-sub{display:flex;overflow-x:auto;background:#fff;padding:0 8px 8px;gap:8px;scrollbar-width:none}
.nm-sub a{flex:0 0 auto;padding:5px 12px;border:1px solid #e5e5e5;border-radius:14px;font-size:12px;color:#666}
.nm-sub a.on{border-color:#ff6700;color:#ff6700}
.nm-list{background:#fff;padding:0 12px}
.nm-pager{display:flex;justify-content:center;gap:16px;padding:16px;background:#fff;font-size:13px;color:#666}
.nm-pager a{color:#ff6700}
.nm-empty{text-align:center;color:#999;padding:40px 12px;background:#fff}

.nm-article{background:#fff;padding:16px 14px 24px;margin-bottom:8px}
.nm-article h1{font-size:20px;font-weight:700;line-height:1.4;margin:0 0 10px}
.nm-article .meta{color:#999;font-size:12px;margin-bottom:14px}
.nm-article .meta span{margin-right:12px}
.nm-article h2.lead{color:#666;font-size:14px;font-weight:400;line-height:1.6;margin:0 0 14px;padding-bottom:12px;border-bottom:1px dashed #eee}
.nm-product-spec{margin:0 0 16px;padding:12px;background:#fafafa;border:1px solid #eee}
.nm-product-spec .hd{font-size:14px;font-weight:700;margin:0 0 6px;color:#333}
.nm-product-spec .txt{font-size:13px;line-height:1.7;color:#555;white-space:pre-wrap;word-break:break-word}
.nm-article .body{font-size:15px;line-height:1.85;word-break:break-word}
.nm-article .body p{margin:0 0 1em}
.nm-article .body img{max-width:100%;height:auto;margin:8px 0}
.nm-gallery{margin-top:14px}
.nm-gallery p{margin:0 0 8px}
.nm-goods{display:flex;gap:10px;align-items:center;margin:18px 0;padding:12px;background:#fafafa;border:1px solid #eee}
.nm-goods img,.nm-goods .ph{width:88px;height:88px;object-fit:cover;flex:0 0 88px}
.nm-goods .nm-ginfo{flex:1;min-width:0}
.nm-goods h3{font-size:14px;margin:0 0 4px}
.nm-goods .shop{font-size:11px;color:#999;margin:0}
.nm-goods .price{color:#c00;font-weight:700;margin:4px 0;font-size:15px}
.nm-goods .price del{margin-left:6px;color:#999;font-size:11px;font-weight:400}
.nm-goods .stats{font-size:11px;color:#999;margin:0}
.nm-goods .btn{flex:0 0 auto;display:inline-block;background:#ff6700;color:#fff;padding:8px 12px;font-size:12px;white-space:nowrap}

.nm-buybar{position:fixed;left:0;right:0;bottom:0;z-index:60;display:flex;gap:10px;padding:8px 12px;background:#fff;border-top:1px solid #eee}
.nm-buybar .back{flex:0 0 70px;height:40px;line-height:38px;text-align:center;border:1px solid #ddd}
.nm-buybar .buy{flex:1;height:40px;line-height:40px;text-align:center;background:#ff6700;color:#fff;font-size:15px}
body.is-detail{padding-bottom:56px}
body.is-detail .nm-tabbar{display:none}

.nm-foot{text-align:center;color:#999;font-size:11px;padding:16px 12px}
.nm-tabbar{position:fixed;left:0;right:0;bottom:0;z-index:50;height:50px;background:#fff;border-top:1px solid #eee;display:flex}
.nm-tabbar a{flex:1;display:flex;align-items:center;justify-content:center;font-size:12px;color:#666}
.nm-tabbar a.on{color:#ff6700;font-weight:600}

.ad-float{position:fixed;left:0;right:0;z-index:1000;background:rgba(0,0,0,.82);text-align:center}
.ad-float-top{top:0}
.ad-float-bottom{bottom:50px}
.ad-inner img{max-width:100%;max-height:80px;margin:0 auto}
.ad-close{position:absolute;right:6px;top:4px;width:22px;height:22px;border:0;border-radius:50%;background:rgba(0,0,0,.55);color:#fff}
body.has-ad-top{padding-top:72px}
