/* 页面：首页、内页主视觉、行情中心与行情产品、芯片元器件、错误页 */

/* 首页主视觉 */
.hero,.phero{position:relative;height:428px;overflow:hidden;background:linear-gradient(100deg,#FFEEE9 0%,#FFF5F1 40%,#FFFBF9 64%,#FFF3EA 100%)}
.hero::before,.phero::before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse 36% 58% at 74% 72%,rgba(255,154,82,.16),transparent 70%);pointer-events:none}
.hero-art,.phero-art{position:absolute;top:0;right:max(-120px,calc(50% - 820px));width:820px;height:428px;pointer-events:none;user-select:none}
.hero .wrap,.phero .wrap{height:100%}
.hero-l,.phero-c{position:relative;z-index:1;display:flex;flex-direction:column;justify-content:center;height:100%;max-width:760px;padding-left:30px}
.hero h1,.phero h1{font-size:48px;line-height:64px;font-weight:800;color:#222;letter-spacing:.01em}
.hero h1 em,.phero h1 em{font-style:normal;color:var(--brand)}
.hero .lead,.phero .lead{margin-top:22px;max-width:720px;font-size:16px;line-height:1.8;color:var(--ink2)}
.cta{display:flex;flex-wrap:wrap;gap:18px;margin-top:32px}
.hero .cta .btn,.phero .cta .btn{min-width:170px;font-size:16px}
.phero .ticks{display:flex;flex-wrap:wrap;gap:12px 38px;margin-top:34px;font-size:16px;color:var(--brand)}
.phero .ticks span{display:flex;align-items:center;gap:8px}
.phero .ticks .ic{width:18px;height:18px}

/* 首页 */
.quick-card{display:grid;grid-template-columns:repeat(6,1fr);margin-top:30px;background:#fff;border-radius:10px;box-shadow:var(--shadow)}
.qk{display:flex;flex-direction:column;align-items:center;justify-content:center;height:180px;padding:0 10px;border-right:1px solid #EFEFEF;text-align:center}
.qk:last-child{border-right:0}
.qk svg,.qk img{width:40px;height:40px;object-fit:contain;transition:transform .2s}
.qk:hover svg,.qk:hover img{transform:translateY(-4px)}
.qk strong{margin:18px 0 10px;font-size:16px;font-weight:700}
.qk:hover strong{color:var(--brand)}
.qk p{display:flex;flex-direction:column;font-size:14px;line-height:20.3px;color:var(--ink2)}
.box{margin-top:24px;padding:20px;background:#fff;border-radius:10px;box-shadow:var(--shadow)}
.box-h{display:flex;align-items:center;justify-content:space-between;gap:20px}
.box h2{font-size:32px;line-height:42px;font-weight:800}
.box-h .more{display:inline-flex;align-items:center;gap:4px;font-size:16px;font-weight:500;color:var(--brand);white-space:nowrap}
.box-h .more .ic{width:16px;height:16px;stroke-width:2}
.box-desc{margin:6px 0 18px;font-size:16px;line-height:24px;color:var(--ink2)}
.cat-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:16px;margin-top:24px}
.cat-card{background:#fff;border:1px solid #F0F0F0;border-radius:6px;overflow:hidden;transition:box-shadow .2s,transform .2s}
.cat-card:hover{transform:translateY(-3px);box-shadow:0 10px 22px -8px rgba(0,0,0,.16)}
.cat-img{display:flex;align-items:center;justify-content:center;height:129px;background:#F5F5F5}
.cat-img img{width:100%;height:100%;object-fit:cover}
.cat-img svg{width:136px;height:75px;transition:transform .25s}
.cat-card:hover .cat-img svg{transform:scale(1.06)}
.cat-card h3{margin:14px 12px 8px;font-size:16px;line-height:22.4px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cat-card h3 a:hover,.cat-subs a:hover{color:var(--brand)}
.cat-subs{display:flex;flex-direction:column;gap:4px;margin:0 12px 15px;font-size:14px;line-height:21px;color:var(--ink2)}
.cat-subs a{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* 手机上按 6 个一页分组（.cat-page）；电脑上分组不占位，照常一行 8 个；翻页条只在手机上显示 */
.cat-page{display:contents}
.cat-pager{display:none}

/* 首页：行情快报条（页面最上方，压在主视觉之上）
   循环滚动：内容写两遍，每条自带右内边距（不是 gap），位移 -50% 正好是一遍的宽度，接缝处不跳；
   两侧做淡出遮罩，右边缘不出现硬切 */
.mktick{background:#fff;border-bottom:1px solid var(--line)}
.mktick-in{display:flex;align-items:center;gap:18px;height:46px}
.mt-lead{display:inline-flex;align-items:center;gap:6px;flex:none;font-size:14px;font-weight:700;color:var(--brand)}
.mt-lead .ic{width:16px;height:16px}
.mt-roll{position:relative;flex:1;min-width:0;overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 20px,#000 calc(100% - 20px),transparent 100%);
  mask-image:linear-gradient(90deg,transparent 0,#000 20px,#000 calc(100% - 20px),transparent 100%)}
.mt-track{display:flex;align-items:center;width:max-content;will-change:transform}
.mt-it{display:inline-flex;align-items:baseline;gap:7px;flex:none;padding-right:26px;font-size:13px;color:var(--ink2);white-space:nowrap}
.mt-it:hover .mt-n{color:var(--brand)}
.mt-n{color:var(--ink)}
.mt-it b{font-size:14px;font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums}
.mt-it i{font-style:normal;font-weight:600;font-variant-numeric:tabular-nums}
.mt-idx .mt-n{color:var(--ink2)}
.mt-idx b{color:var(--brand)}
.mt-sep{flex:none;width:1px;height:14px;margin-right:26px;background:var(--line2)}
.mt-more{display:inline-flex;align-items:center;gap:2px;flex:none;font-size:13px;font-weight:600;color:var(--brand)}
.mt-more .ic{width:14px;height:14px;stroke-width:2}

/* 首页行情区 */
.mk-row{display:grid;grid-template-columns:minmax(0,1fr) 402px;gap:24px;border-radius:19px}
.mk-main .box-h{margin-bottom:18px}
.mk-cols{display:grid;grid-template-columns:minmax(0,600fr) minmax(0,342fr);gap:24px;align-items:start}
.mk-card{background:#fff;border:2px solid #F1F1F1;border-radius:10px;overflow:hidden}
.mk-card.empty{padding:80px 20px}
.mk-tabs{display:grid;grid-template-columns:repeat(var(--n,4),1fr);height:46px;background:#F5F5F5;border-bottom:1px solid #E9E9E9}
.mk-tabs button{display:flex;align-items:center;justify-content:center;gap:4px;font-size:16px;font-weight:700;color:var(--ink)}
.mk-tabs button .ic{display:none;width:17px;height:17px;fill:currentColor;stroke:none}
.mk-tabs button.on{background:#fff;color:var(--brand);border-radius:8px 8px 0 0;box-shadow:inset 0 2px 0 var(--brand),inset 2px 0 0 var(--brand),inset -2px 0 0 var(--brand)}
.mk-tabs button.on .ic{display:block}
.mk-tr{display:grid;grid-template-columns:1.4fr 1fr .9fr 1fr;align-items:center;height:40px;padding:0 10px;border-bottom:1px solid #F3F3F3;font-size:16px;text-align:center}
.mk-tr span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mk-tr span:first-child{padding-left:2px;text-align:left}
.mk-th{height:44px;border-bottom:1px solid #EEE}
.mk-th span:first-child{text-align:center}
a.mk-tr:hover{background:var(--brand-bg2)}
[data-tabpane] a.mk-tr:last-child{border-bottom:0}
.mk-note{margin-top:12px;font-size:14px;line-height:24px;color:var(--ink3)}
.hot-card{background:#fff;border:2px solid #F1F1F1;border-radius:10px}
.hot-h{height:35px;padding-left:20px;border-bottom:2px solid #F1F1F1;font-size:16px;font-weight:700;line-height:33px}
.hot-it{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:14px;align-items:center;height:86px;padding:0 20px;border-bottom:2px solid #F1F1F1}
.hot-it:last-child{border-bottom:0}
.hot-img{display:grid;place-items:center;width:48px;height:48px}
.hot-img img{max-width:100%;max-height:100%;object-fit:contain}
.hot-img svg{width:48px;height:27px}
.hot-t b{display:block;font-size:16px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hot-t span{display:block;margin-top:3px;font-size:13px;color:var(--ink2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hot-it .btn{height:30px;padding:0 8px 0 12px;gap:2px;font-size:13px}
.hot-it .btn .ic{width:14px;height:14px}
.mk-cta{position:relative;min-height:390px;padding:36px 26px 30px;overflow:hidden;border-radius:10px;color:#fff;background:linear-gradient(140deg,#FF9A4D 0%,#FF7C22 45%,#FF680A 100%)}
.mk-cta::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 88% 18%,rgba(255,255,255,.24),transparent 42%),repeating-linear-gradient(135deg,rgba(255,255,255,.05) 0 2px,transparent 2px 16px)}
.mk-cta>*{position:relative}
.mk-cta img{position:absolute;right:-14px;bottom:62px;width:214px;height:auto}
.mk-cta h3{font-size:26px;line-height:32.5px;font-weight:800}
.mk-cta p{max-width:320px;margin:10px 0 22px;font-size:14px;line-height:23px;color:rgba(255,255,255,.92)}
.mk-cta li{display:flex;align-items:center;gap:10px;margin-bottom:18px;font-size:18px;font-weight:700;line-height:18px}
.mk-cta li .ic{width:20px;height:20px;stroke-width:2.6}
.mk-cta .btn{height:54px;margin-top:6px;padding:0 28px;background:#fff;color:var(--brand);font-size:18px;font-weight:800}
.mk-cta .btn:hover{background:#FFF3EA}

/* 首页采购流程、入驻横幅、常见问题、小程序、合作伙伴 */
.flow-box{padding:34px 20px 42px}
.flow-box h2{margin-bottom:30px}
.flow{display:grid;grid-template-columns:repeat(4,1fr);gap:48px}
.flow li{position:relative;display:flex;gap:8px}
.flow-ic{flex:none;display:grid;place-items:center;width:53px;height:53px;border-radius:50%;background:var(--brand-bg)}
.flow-ic svg,.flow-ic img{width:32px;height:32px;object-fit:contain}
.flow-h{display:flex;align-items:center;gap:8px;margin-bottom:8px}
.flow-h b{font-size:26px;line-height:26px;font-weight:400;color:var(--brand)}
.flow-h strong{font-size:20px;line-height:26px;font-weight:800}
.flow li p{margin-left:22px;font-size:16px;line-height:22px;color:var(--ink2)}
.flow-arrow{position:absolute;right:0;top:10px;width:40px;height:40px;color:var(--brand);stroke-width:1.8}
.join-banner{position:relative;height:300px;margin-top:24px;padding:45px 0 0 40px;overflow:hidden;border-radius:10px;background:linear-gradient(100deg,#FDE9DB 0%,#FEF2E9 55%,#FDE6D6 100%);box-shadow:var(--shadow)}
.jb-art{position:absolute;right:40px;bottom:-6px;width:520px;height:300px;pointer-events:none}
.jb-c{position:relative;max-width:820px}
.join-banner h2,.jb-sub{font-size:32px;line-height:42px;font-weight:800}
.jb-tags{display:flex;flex-wrap:wrap;gap:12px 52px;margin:28px 0 38px;font-size:16px;font-weight:500;line-height:22px;color:var(--brand)}
.jb-tags li{display:flex;align-items:center;gap:8px}
.jb-tags .ic{width:20px;height:20px;stroke-width:2.4}
.join-banner .cta{margin-top:0;gap:28px}
.join-banner .btn{min-width:170px;font-size:16px}
.join-banner .btn.line{background:transparent}
.faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 36px}
.faq-it{display:block;padding:14px 18px;border:1px solid #DDD;border-radius:8px;transition:border-color .15s,box-shadow .15s}
.faq-it:hover{border-color:var(--brand-line);box-shadow:0 8px 18px -10px rgba(255,118,26,.45)}
.faq-it h3{position:relative;padding-left:22px;font-size:16px;line-height:22px;font-weight:800}
.faq-it h3::before{content:"";position:absolute;left:0;top:7px;width:8px;height:8px;border-radius:50%;background:var(--brand)}
.faq-it p{display:-webkit-box;margin:11px 0 0 24px;overflow:hidden;font-size:14px;line-height:22px;color:var(--ink2);-webkit-line-clamp:2;-webkit-box-orient:vertical}
.app-row{display:grid;grid-template-columns:1fr 1fr;gap:37px;padding:18px 20px;border-radius:19px}
.app-card{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 20px;background:#F6F7F9;border-radius:19px;box-shadow:var(--shadow)}
.app-info{min-width:0}
.app-info h2{margin-bottom:8px}
.app-sub{margin-bottom:14px;font-size:20px;font-weight:500;line-height:28px}
.checks{display:grid;grid-template-columns:repeat(2,max-content);gap:8px 26px;margin-bottom:24px;font-size:16px;line-height:22px}
.checks span{display:flex;align-items:center;gap:10px}
.checks .ic{width:18px;height:18px;stroke-width:2.6}
.scan-tip{display:inline-flex;align-items:center;padding:0 14px;border-left:4px solid var(--brand);border-radius:0 17px 17px 0;background:#FFF0E6;font-size:17px;font-weight:800;line-height:34px;color:var(--brand)}
.app-qr{flex:none;display:grid;place-items:center;width:190px;height:190px;padding:8px;background:#fff;border-radius:8px}
.app-qr img,.app-qr svg{width:100%;height:100%;object-fit:contain}
.app-qr.ph svg{width:84px;height:84px}
.partner-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:16px 12px;margin-top:15px}
.partner{display:flex;align-items:center;justify-content:center;height:82px;padding:0 22px;border-radius:4px;background:#fff;box-shadow:1px 5px 8px rgba(0,0,0,.06);font-size:18px;color:var(--ink2);transition:transform .2s}
.partner img{max-width:150px;max-height:40px;object-fit:contain}
a.partner:hover{transform:translateY(-2px)}
.home{padding-bottom:10px}

/* 内页分段：胶囊选项卡、资讯卡片 */
.pills{display:flex;flex-wrap:wrap;gap:12px}
.pills a{height:40px;display:inline-flex;align-items:center;padding:0 26px;border:1px solid #DCDCDC;border-radius:20px;background:#fff;font-size:18px;color:var(--ink2)}
.pills a:hover{border-color:var(--brand);color:var(--brand)}
.pills a.on{border-color:var(--brand);background:var(--brand);color:#fff}
.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px 34px}
.news-card{display:flex;gap:16px;padding:20px;background:#fff;border:1px solid #EEE;border-radius:6px;transition:box-shadow .2s}
.news-card:hover{box-shadow:0 10px 24px -12px rgba(0,0,0,.2)}
.nc-img{flex:none;display:grid;place-items:center;width:180px;height:140px;overflow:hidden;border-radius:4px;background:#F5F5F5}
.nc-img img{width:100%;height:100%;object-fit:cover}
.nc-img svg{width:130px;height:72px}
.nc-b{display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:0}
.nc-b b{display:-webkit-box;overflow:hidden;font-size:18px;line-height:28px;font-weight:700;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.news-card:hover b{color:var(--brand)}
.nc-b .faint{margin-top:auto;font-size:13px}
.more-c{margin-top:36px;text-align:center}
.more-c .btn{height:34px;border-radius:17px;padding:0 20px 0 24px;gap:4px;font-size:16px}
.more-c .btn .ic{width:16px;height:16px}

/* 行情中心 */
.mk-hero .phero-c h1 .dot{margin:0 20px;font-style:normal;color:#222}
.sector-card{position:absolute;right:max(20px,calc(50% - 700px));top:64px;z-index:2;width:220px;padding:18px 20px;background:rgba(255,255,255,.78);border:1px solid rgba(255,154,82,.35);border-radius:10px;box-shadow:0 18px 40px -18px rgba(255,118,26,.45);backdrop-filter:blur(6px)}
.sector-card b{display:block;margin-bottom:8px;font-size:15px}
.sector-card a{display:flex;justify-content:space-between;padding:6px 0;font-size:14px;color:var(--ink2)}
.sector-card a:hover{color:var(--brand)}
.mk-search{position:relative;z-index:3;display:flex;align-items:center;max-width:984px;height:48px;margin:-24px auto 0;padding-left:16px;background:#fff;border:2px solid var(--brand);border-radius:6px;box-shadow:0 10px 24px -14px rgba(255,118,26,.6)}
.mk-search .ic{width:22px;height:22px;color:var(--ink3)}
.mk-search input{flex:1;min-width:0;height:100%;padding:0 12px;border:0;outline:0;font-size:16px;background:none}
.mk-search .btn{height:100%;margin-right:-1px;padding:0 26px;border-radius:0 3px 3px 0;font-size:16px}
.mk-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}
.mk-bar-r{display:flex;align-items:center;gap:12px;font-size:15px;color:var(--ink2)}
.mk-bar-r b{font-weight:600;color:var(--ink)}
.mk-bar-r .seg-on{position:relative;padding-bottom:2px;font-weight:500;color:var(--brand)}
.mk-bar-r .seg-on::after{content:"";position:absolute;left:0;right:0;bottom:-4px;height:2px;background:var(--brand)}
.trend{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:24px;align-items:stretch}
.trend-main{display:grid;grid-template-columns:230px minmax(0,1fr);gap:10px 24px;padding:22px 22px 16px;border-radius:14px}
.trend-info h3{font-size:20px;font-weight:500}
.trend-price{margin-top:34px;font-size:30px;font-weight:700}
.trend-chg{display:flex;gap:18px;margin-top:6px;font-size:16px}
.trend-info dl{display:grid;grid-template-columns:auto 1fr;gap:18px 0;margin-top:38px;font-size:16px}
.trend-info dt{color:var(--ink)}
.trend-chart{min-width:0}
.trend-note{grid-column:1 / -1;font-size:12px;color:var(--ink3)}
.trend-side{display:flex;flex-direction:column;justify-content:space-around;padding:18px 22px;border-radius:14px}
.trend-side div{display:flex;align-items:center;gap:14px;padding:8px 0}
.ti{flex:none;display:grid;place-items:center;width:38px;height:38px;border-radius:8px;background:var(--brand-bg);color:var(--brand)}
.ti.up{background:rgba(240,45,45,.08);color:var(--up)}
.ti.dn{background:rgba(16,164,82,.08);color:var(--down)}
.ti.vi{background:#F1ECFF;color:#7C5CFA}
.ti .ic{width:20px;height:20px}
.trend-side p{display:flex;flex-direction:column;font-size:13px;color:var(--ink2)}
.trend-side p b{margin-top:2px;font-size:19px;color:var(--ink)}
.mk2{display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:24px;align-items:start}
.cg{display:grid;grid-template-columns:56px minmax(0,1fr) auto auto;gap:14px;align-items:center;min-height:52px;padding:0 20px;border-bottom:1px solid var(--line)}
.cg:last-child{border-bottom:0}
.cg .d{font-size:13px;color:var(--ink3)}
.cg .m{font-size:15px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cg .p{font-size:14px;color:var(--ink2)}
.cg .p s{color:var(--ink3)}
.cg .p b{color:var(--ink)}
.mk-movers ol{padding:6px 0}
.mk-movers li a{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:12px;align-items:center;height:50px;padding:0 20px;font-size:15px}
.mk-movers li a:hover{background:var(--brand-bg2)}
.mk-movers li b{display:grid;place-items:center;width:22px;height:22px;border-radius:4px;background:#F2F2F2;font-size:13px;color:var(--ink2)}
.mk-movers li:nth-child(-n+3) b{background:var(--brand);color:#fff}
.mk-movers li span:nth-child(2){white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tbl-wrap{overflow-x:auto}
.qt{width:100%;border-collapse:collapse;font-size:15px}
.qt th{height:46px;padding:0 14px;background:#F5F5F5;font-weight:500;color:var(--ink2);text-align:left;white-space:nowrap}
.qt td{height:52px;padding:0 14px;border-bottom:1px solid #F2F2F2;white-space:nowrap}
.qt .n{text-align:right}
.qt .c{text-align:center}
.qt .b{font-weight:600}
.qt tbody tr:hover{background:var(--brand-bg2)}
.qt td a:hover{color:var(--brand)}
.qt tbody tr:last-child td{border-bottom:0}
.spk{width:60px;height:20px;vertical-align:middle}
.spk polyline{fill:none;stroke:var(--ink3);stroke-width:1.4;stroke-linejoin:round;stroke-linecap:round}
.spk.up polyline{stroke:var(--up)}.spk.dn polyline{stroke:var(--down)}
.spk-flat{display:inline-block;width:32px;height:1px;background:var(--line2);vertical-align:middle}
.mk-desc h3{margin-bottom:18px;font-size:22px;font-weight:800}
.mk-desc li{position:relative;padding-left:14px;font-size:16px;line-height:34px;color:var(--ink)}
.mk-desc li::before{content:"";position:absolute;left:0;top:15px;width:5px;height:5px;border-radius:50%;background:var(--ink2)}

/* K 线（行情中心与行情产品共用；悬停提示见 kline.js） */
.kbox{position:relative}
.kl{display:block;width:100%;height:auto;overflow:visible}
.kl .gl{stroke:#F0F0F0}
.kl .ax{fill:var(--ink3);font-size:11px}
.kl .k.up path{stroke:var(--up)}.kl .k.up rect{fill:var(--up);stroke:var(--up)}
.kl .k.dn path{stroke:var(--down)}.kl .k.dn rect{fill:var(--down);stroke:var(--down)}
.kl .ma{fill:none;stroke:#4C8DF6;stroke-width:1.4;stroke-linejoin:round}
.kl .lastl{stroke:rgba(255,118,26,.6)}.kl .lastt{fill:var(--brand)}.kl .lastv{fill:#fff;font-size:11px;font-weight:600}
.kl .xh{stroke:rgba(0,0,0,.25);visibility:hidden}
.kbox .tip{position:absolute;z-index:3;min-width:140px;padding:8px 10px;background:#fff;border:1px solid var(--line2);border-radius:6px;box-shadow:var(--shadow2);font-size:12px;color:var(--ink2);pointer-events:none;visibility:hidden}
.kbox .tip b{display:block;margin-bottom:4px;color:var(--ink)}
.kbox .tip div{display:flex;justify-content:space-between;gap:16px}
.kbox .tip span:not(.l){color:var(--ink)}
.kbox .tip span.up{color:var(--up)}.kbox .tip span.dn{color:var(--down)}

/* 行情产品详情 */
.mi-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px 24px;align-items:center;padding:26px 28px}
.mi-head h1{font-size:28px;font-weight:800}
.mi-head .mi-t p{margin-top:8px;font-size:14px}
.mi-price{display:flex;align-items:center;gap:12px;justify-self:end}
.mi-price .price{font-size:36px}
.mi-act{display:flex;flex-wrap:wrap;gap:12px}
.mi-hl{display:flex;gap:10px 18px;align-items:center;justify-content:flex-end;font-size:14px;color:var(--ink3)}
.mi-hl dd{color:var(--ink);font-weight:600}
.mi-body{margin-top:20px}
.mi-body .panel-b{padding:16px 20px}
.mi-quotes{margin-top:20px}

/* 芯片元器件频道：主视觉搜索、服务入口、分类、行情表、品牌墙、现货、BOM 流程、号召条 */
.chip-hero{height:auto;min-height:428px}
.chip-hero .phero-c{height:auto;min-height:428px;padding-top:44px;padding-bottom:44px}
.chip-hs{display:flex;align-items:center;gap:10px;width:600px;max-width:100%;height:52px;margin-top:26px;padding:0 6px 0 16px;background:#fff;border:2px solid var(--brand);border-radius:6px}
.chip-hs>.ic{width:20px;height:20px;color:var(--ink3)}
.chip-hs input{flex:1;min-width:0;height:100%;border:0;outline:0;font-size:15px;background:transparent}
.chip-hs .btn{height:38px;padding:0 22px}
.chip-hot{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;margin-top:14px;font-size:14px}
.chip-hot span{color:var(--ink3)}
.chip-hot a{color:var(--ink2)}
.chip-hot a:hover{color:var(--brand)}
.chip-acts{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:24px}
.chip-act{display:block;padding:22px 22px 20px;background:#fff;border-radius:10px;box-shadow:var(--shadow);transition:transform .2s,box-shadow .2s}
.chip-act:hover{transform:translateY(-3px);box-shadow:0 12px 26px -12px rgba(255,118,26,.4)}
.chip-act-ic{display:grid;place-items:center;width:46px;height:46px;border-radius:10px;background:var(--brand-bg);color:var(--brand)}
.chip-act-ic .ic{width:24px;height:24px}
.chip-act strong{display:block;margin:16px 0 6px;font-size:18px;font-weight:800}
.chip-act:hover strong{color:var(--brand)}
.chip-act p{font-size:14px;line-height:22px;color:var(--ink2)}
.chip-cats{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin-top:20px}
.chip-cats a{display:flex;align-items:center;gap:12px;height:62px;padding:0 18px;border:1px solid #EEE;border-radius:8px;font-size:15px;font-weight:700;transition:border-color .15s,color .15s,background .15s}
.chip-cats a:hover{border-color:var(--brand-line);color:var(--brand);background:var(--brand-bg2)}
.chip-cat-ic{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:8px;background:var(--brand-bg);color:var(--brand)}
.chip-cat-ic .ic{width:20px;height:20px}
.chip-qt .sep{margin:0 8px;color:var(--line2)}
.chip-brands{display:grid;grid-template-columns:repeat(8,1fr);gap:12px;margin-top:20px}
.chip-brands a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;height:64px;border:1px solid #EEE;border-radius:8px;text-align:center;transition:border-color .15s,background .15s}
.chip-brands a:hover{border-color:var(--brand-line);background:var(--brand-bg2)}
.chip-brands b{font-size:16px;font-weight:800}
.chip-brands a:hover b{color:var(--brand)}
.chip-brands small{font-size:12px;color:var(--ink3)}
.chip-total{margin-left:10px;font-size:14px;font-weight:400;color:var(--ink3)}
.chip-grid{margin-top:20px}
.chip-empty{margin-top:20px;padding:46px 20px;border-radius:8px;background:var(--soft);text-align:center}
.chip-empty b{display:block;font-size:18px;font-weight:800}
.chip-empty p{margin-top:8px;font-size:14px;color:var(--ink2)}
.chip-empty .cta{justify-content:center;margin-top:20px}
.chip-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin-top:20px}
.chip-steps li{display:flex;gap:14px}
.chip-steps em{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:50%;background:var(--brand);color:#fff;font-style:normal;font-size:18px;font-weight:800}
.chip-steps strong{display:block;font-size:17px;font-weight:800}
.chip-steps p{margin-top:6px;font-size:14px;line-height:22px;color:var(--ink2)}
.chip-cta{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:24px;padding:30px 36px;border-radius:10px;color:#fff;background:linear-gradient(110deg,#FF9A4D 0%,#FF7C22 50%,#FF680A 100%)}
.chip-cta b{font-size:26px;font-weight:800}
.chip-cta p{margin-top:6px;font-size:15px;color:rgba(255,255,255,.9)}
.chip-cta .cta{margin-top:0;flex:none}
.chip-cta .btn{min-width:150px;height:44px;font-size:16px;font-weight:800;background:#fff;color:var(--brand)}
.chip-cta .btn.line{background:transparent;border-color:#fff;color:#fff}
@media (max-width:1100px){
  .chip-acts{grid-template-columns:1fr 1fr}
  .chip-cats{grid-template-columns:repeat(3,1fr)}
  .chip-brands{grid-template-columns:repeat(5,1fr)}
  .chip-steps{grid-template-columns:1fr 1fr}
}

/* 错误页 */
.msg-page{padding:110px 0 70px;text-align:center}
.msg-page::before{content:"";display:block;width:160px;height:120px;margin:0 auto 26px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 120'%3E%3Cellipse cx='80' cy='108' rx='64' ry='9' fill='%23FFE7D6'/%3E%3Crect x='30' y='20' width='100' height='74' rx='10' fill='%23fff' stroke='%23FFC7A3' stroke-width='3'/%3E%3Cpath d='M30 38h100' stroke='%23FFC7A3' stroke-width='3'/%3E%3Ccircle cx='42' cy='29' r='3' fill='%23FF9A52'/%3E%3Ccircle cx='52' cy='29' r='3' fill='%23FFC7A3'/%3E%3Cpath d='M66 58l12 12M78 58L66 70M92 58l12 12M104 58L92 70' stroke='%23FF761A' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat}
.msg-page h1{font-size:26px;font-weight:800}
.msg-page p{margin-top:10px;color:var(--ink2)}
.msg-page .cta{justify-content:center}

/* 响应式 */
@media (max-width:1439px){
  .cat-grid{grid-template-columns:repeat(7,1fr)}
  .mk-row{grid-template-columns:minmax(0,1fr) 340px}
  .mk-cols{grid-template-columns:minmax(0,1fr) 300px}
}
@media (max-width:1240px){
  .hero h1,.phero h1{font-size:40px;line-height:54px}
  .hero-art,.phero-art{opacity:.55}
  .sector-card{display:none}
  .cat-grid{grid-template-columns:repeat(5,1fr)}
  .mk-row{grid-template-columns:1fr}
  .mk-cta{min-height:0}
  .mk-cta img{bottom:16px;width:180px}
  .flow{gap:24px}
  .flow-arrow{display:none}
  .jb-art{opacity:.4}
  .news-grid{grid-template-columns:1fr 1fr}
  .trend{grid-template-columns:1fr}
  .trend-side{flex-direction:row;flex-wrap:wrap}
  .mk2{grid-template-columns:1fr}
}
@media (max-width:1100px){
  .quick-card{grid-template-columns:repeat(3,1fr)}
  .qk:nth-child(3){border-right:0}
  .qk:nth-child(n+4){border-top:1px solid #EFEFEF}
  .mk-cols{grid-template-columns:1fr}
  .flow{grid-template-columns:1fr 1fr}
  .faq-grid,.app-row{grid-template-columns:1fr}
  .partner-grid{grid-template-columns:repeat(4,1fr)}
  .trend-main{grid-template-columns:1fr}
}
@media (max-width:767px){
  .hero,.phero{height:auto}
  .hero-art,.phero-art{display:none}
  .hero-l,.phero-c{padding:28px 0 26px}
  .hero h1,.phero h1{font-size:25px;line-height:1.4}
  .hero .lead,.phero .lead{margin-top:10px;font-size:13px;line-height:1.75}
  .cta{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}
  .hero .cta .btn,.phero .cta .btn{min-width:0;height:40px;font-size:15px}
  .hero .cta .btn:nth-child(3){display:none}
  .phero .ticks{gap:8px 18px;margin-top:16px;font-size:13px}
  .quick-card{margin-top:14px}
  .qk{height:auto;padding:16px 4px}
  .qk svg,.qk img{width:32px;height:32px}
  .qk strong{margin:10px 0 4px;font-size:14px}
  .qk p{font-size:12px;line-height:18px}
  .qk p span+span{display:none}
  .box{margin-top:14px;padding:14px}
  .box h2{font-size:20px;line-height:28px}
  .box-h .more{font-size:13px}
  .box-desc{font-size:13px}
  /* 算力硬件产品与服务：一页 3×2，左右滑动翻页（scroll-snap），下面是翻页箭头和圆点（home.js） */
  .cat-grid{display:flex;gap:0;margin-top:14px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .cat-grid::-webkit-scrollbar{display:none}
  .cat-page{display:grid;flex:0 0 100%;grid-template-columns:repeat(3,minmax(0,1fr));align-content:start;gap:8px;scroll-snap-align:start;scroll-snap-stop:always}
  .cat-card:hover{transform:none;box-shadow:none}
  .cat-img{height:80px}
  .cat-img svg{width:96px;height:53px}
  .cat-card h3{margin:8px 8px 2px;font-size:14px;line-height:20px}
  .cat-subs{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:0 8px 10px;font-size:12px;line-height:17px;color:var(--ink3)}
  .cat-subs a{display:inline;white-space:normal}
  .cat-subs a+a::before{content:'、'}
  .cat-pager{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:12px}
  .cp-btn{display:flex;align-items:center;justify-content:center;width:26px;height:26px;padding:0;border:1px solid var(--brand-line);border-radius:4px;background:#fff;color:var(--brand)}
  .cp-btn .ic{width:12px;height:12px}
  .cp-prev .ic{transform:rotate(180deg)}
  .cp-btn:disabled{opacity:.4}
  .cp-dots{display:flex;align-items:center;gap:4px}
  .cp-dot{width:6px;height:6px;padding:0;border:0;border-radius:3px;background:var(--brand-line);transition:width .2s}
  .cp-dot.on{width:18px;background:var(--brand)}
  .mk-tr{font-size:13px}
  .hot-it{height:72px;padding:0 12px}
  .mk-cta{padding:22px 18px}
  .mk-cta img{display:none}
  .mk-cta h3{font-size:20px}
  .mk-cta li{font-size:15px;margin-bottom:12px}
  .mk-cta .btn{height:44px;font-size:16px}
  .flow-box{padding:18px 14px 20px}
  .flow-box h2{margin-bottom:16px}
  .flow{grid-template-columns:1fr;gap:16px}
  .flow-h strong{font-size:17px}
  .flow li p{font-size:14px}
  .join-banner{height:auto;margin-top:14px;padding:22px 18px}
  .join-banner h2,.jb-sub{font-size:21px;line-height:30px}
  .jb-art{display:none}
  .jb-tags{gap:8px 18px;margin:16px 0 20px;font-size:14px}
  .join-banner .btn{min-width:0}
  .faq-grid{gap:10px}
  .app-row{gap:12px;padding:12px}
  .app-card{padding:14px}
  .app-info h2{font-size:20px}
  .app-sub{font-size:15px}
  .checks{grid-template-columns:1fr;font-size:14px;margin-bottom:14px}
  .scan-tip{font-size:13px}
  .app-qr{width:110px;height:110px}
  .partner-grid{grid-template-columns:repeat(2,1fr)}
  .pills{gap:8px}
  .pills a{height:32px;padding:0 16px;font-size:14px}
  .news-grid{grid-template-columns:1fr}
  .news-card{padding:12px}
  .nc-img{width:110px;height:86px}
  .nc-b b{font-size:15px;line-height:22px}
  .mk-hero .phero-c h1 .dot{margin:0 8px}
  .mk-search{margin-top:14px;height:42px}
  .mk-search .btn{padding:0 14px;font-size:14px}
  .trend-main{padding:14px}
  .trend-price{margin-top:12px}
  .trend-info dl{margin-top:14px;gap:8px 0;font-size:14px}
  .trend-side div{flex:1 1 45%}
  .cg{grid-template-columns:44px minmax(0,1fr) auto;row-gap:2px;padding:10px 14px}
  .cg .p{grid-column:2;font-size:12px}
  .cg .pill{grid-column:3;grid-row:1 / span 2}
  .mk-movers li a{padding:0 14px}
  .qt th:nth-child(2),.qt td:nth-child(2),.qt th:nth-child(n+5),.qt td:nth-child(n+5){display:none}
  .qt td{height:auto;padding:12px 8px;white-space:normal}
  .mi-head{grid-template-columns:1fr;padding:18px}
  .mi-price{justify-self:start}
  .mi-hl{justify-content:flex-start}
  .chip-hero .phero-c{min-height:0;padding:26px 0}
  .chip-hs{height:46px;margin-top:16px}
  .chip-hs .btn{padding:0 14px}
  .chip-acts{gap:12px;margin-top:14px}
  .chip-act{padding:14px}
  .chip-act strong{margin:10px 0 4px;font-size:15px}
  .chip-act p{font-size:12px;line-height:18px}
  .chip-cats{grid-template-columns:1fr 1fr;gap:10px}
  .chip-cats a{height:50px;padding:0 12px;font-size:14px}
  .chip-brands{grid-template-columns:repeat(3,1fr);gap:8px}
  .chip-qt th:nth-child(2),.chip-qt td:nth-child(2),.chip-qt th:nth-child(5),.chip-qt td:nth-child(5){display:none}
  .chip-steps{grid-template-columns:1fr}
  .chip-cta{flex-direction:column;align-items:stretch;padding:22px}
  .chip-cta b{font-size:20px}
  .mktick-in{height:auto;gap:10px;padding:8px 0;flex-wrap:wrap}
  .mt-lead{font-size:13px}
  .mt-roll{flex-basis:100%}
  .mt-it{padding-right:20px;font-size:12px}
  .mt-sep{margin-right:20px}
  .mt-more{display:none}
}

/* GPU / 服务器维修落地页：常见故障选项卡、问答、嵌入的提交表单 */
.rp-faults{display:grid;grid-template-columns:300px minmax(0,1fr);gap:20px;margin-top:20px}
.rp-tabs{display:flex;flex-direction:column;gap:10px}
.rp-tabs button{display:flex;align-items:center;gap:12px;height:58px;padding:0 16px;border:1px solid #EEE;border-radius:8px;background:#fff;font-size:16px;font-weight:700;text-align:left;transition:border-color .15s,background .15s,color .15s}
.rp-tabs button .ic{width:22px;height:22px;color:var(--brand)}
.rp-tabs button span{flex:1}
.rp-tabs button .rp-arr{width:16px;height:16px;color:var(--ink4)}
.rp-tabs button:hover{border-color:var(--brand-line)}
.rp-tabs button.on{border-color:var(--brand);background:var(--brand-bg);color:var(--brand)}
.rp-tabs button.on .rp-arr{color:var(--brand)}
.rp-pane{padding:28px 30px;border:1px solid #F6E3D6;border-radius:10px;background:linear-gradient(135deg,#FFF6EF,#FFFBF8 60%,#fff)}
.rp-pane-h{display:flex;align-items:center;gap:14px}
.rp-pane-ic{display:grid;place-items:center;width:52px;height:52px;border-radius:12px;background:var(--brand);color:#fff}
.rp-pane-ic .ic{width:28px;height:28px}
.rp-pane h3{font-size:24px;font-weight:800}
.rp-cols{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:24px 0}
.rp-cols b{display:block;margin-bottom:10px;font-size:15px;color:var(--ink2)}
.rp-cols li{position:relative;padding-left:16px;font-size:15px;line-height:30px}
.rp-cols li::before{content:"";position:absolute;left:0;top:13px;width:6px;height:6px;border-radius:50%;background:var(--brand)}
.rp-pane .btn{gap:4px}
.rp-pane .btn .ic{width:16px;height:16px}
.rp-qa{display:grid;grid-template-columns:1fr 1fr;gap:16px 24px;margin-top:20px}
.rp-qa-it{padding:16px 20px;border-radius:8px;background:var(--soft)}
.rp-qa-it p{display:flex;gap:10px;line-height:24px}
.rp-qa-it i{flex:none;font-style:normal;font-weight:800}
.rp-qa-it .q{font-size:16px;font-weight:700;color:var(--brand)}
.rp-qa-it .a{margin-top:8px;font-size:14px;color:var(--ink2)}
.rp-qa-it .a i{color:var(--ink)}
#repair-form .form-page{margin:0;padding:0;border:0;box-shadow:none;background:transparent}
@media (max-width:1100px){
  .rp-faults{grid-template-columns:240px minmax(0,1fr)}
  .rp-qa{grid-template-columns:1fr}
}
@media (max-width:767px){
  .rp-faults{grid-template-columns:1fr}
  .rp-tabs{flex-direction:row;overflow-x:auto;scrollbar-width:none}
  .rp-tabs button{flex:none;height:44px;font-size:14px}
  .rp-tabs .rp-arr{display:none}
  .rp-pane{padding:18px}
  .rp-pane h3{font-size:18px}
  .rp-cols{grid-template-columns:1fr;gap:12px;margin:16px 0}
}

/* 行情中心：周期切换（日 / 周 / 月）、均线图例、互动预测、产品行情列表（页签按钮、代码列、自选） */
.pills button{height:40px;display:inline-flex;align-items:center;gap:4px;padding:0 26px;border:1px solid #DCDCDC;border-radius:20px;background:#fff;font-size:18px;color:var(--ink2);cursor:pointer}
.pills button:hover{border-color:var(--brand);color:var(--brand)}
.pills button.on{border-color:var(--brand);background:var(--brand);color:#fff}
.pills button .ic{width:16px;height:16px}
.seg{display:flex;align-items:center;gap:24px}
.seg button{position:relative;padding:4px 0;font-size:15px;color:var(--ink2)}
.seg button:hover{color:var(--brand)}
.seg button.on{font-weight:600;color:var(--brand)}
.seg button.on::after{content:"";position:absolute;left:0;right:0;bottom:-4px;height:2px;background:var(--brand)}
.kl-ma{display:flex;flex-wrap:wrap;gap:4px 18px;margin-bottom:6px;font-size:12px;font-variant-numeric:tabular-nums}
.kl-ma .m5{color:#F59E0B}.kl-ma .m10{color:#8B5CF6}.kl-ma .m20{color:#0EA5E9}
.kl .ma{fill:none;stroke-width:1.3}
.kl .ma.m5{stroke:#F59E0B}.kl .ma.m10{stroke:#8B5CF6}.kl .ma.m20{stroke:#0EA5E9}

.pred-row{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px;align-items:stretch}
.pred-main{padding:28px 30px;min-height:240px}
.pred-h{display:flex;align-items:center;gap:14px}
.pred-av{flex:none;width:46px;height:46px;border-radius:50%;object-fit:cover;background:var(--brand-bg)}
.pred-t{flex:1;min-width:0;font-size:20px;font-weight:800;line-height:1.5}
.pred-t b{margin-right:8px;color:var(--brand)}
.pred-nav{display:flex;align-items:center;gap:8px;flex:none;font-size:13px;color:var(--ink3)}
.pred-nav button{display:grid;place-items:center;width:28px;height:28px;border:1px solid var(--line2);border-radius:50%;color:var(--ink2)}
.pred-nav button:hover{border-color:var(--brand);color:var(--brand)}
.pred-nav .ic{width:14px;height:14px}
.pred-bar{position:relative;display:flex;height:52px;margin-top:28px;border-radius:26px;overflow:hidden}
.pred-yes,.pred-no{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 24px;font-size:17px;font-weight:800;color:#fff}
.pred-yes span,.pred-no span{display:inline-flex;align-items:center;gap:6px}
.pred-yes{flex:none;width:var(--yes,50%);background:linear-gradient(90deg,#FF8A35,#FF6A0A)}
.pred-no{flex:1;background:linear-gradient(90deg,#16B05A,#0E9348)}
.pred-yes .ic,.pred-no .ic{width:20px;height:20px;stroke-width:2.6}
.pred-bar button:not([disabled]):hover{filter:brightness(1.07)}
.pred-bar button[disabled]{cursor:default;opacity:1}
.pred-vs{position:absolute;top:50%;left:calc(var(--yes,50%) - 19px);z-index:2;display:grid;place-items:center;width:38px;height:38px;margin-top:-19px;border:3px solid #fff;border-radius:50%;background:#2B2B2B;color:#fff;font-size:12px;font-style:normal;font-weight:800}
.pred-meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px 22px;margin-top:22px;font-size:14px;color:var(--ink2)}
.pred-meta b{color:var(--ink)}
.pred-tag{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:3px;background:var(--brand-bg);font-size:12px;color:var(--brand)}
.pred-n{margin-left:auto}
.pred-n b{font-size:18px;color:var(--brand)}
.pred-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:200px;text-align:center}
.pred-empty-ic{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:var(--brand-bg);color:var(--brand)}
.pred-empty-ic .ic{width:28px;height:28px}
.pred-empty b{font-size:18px;font-weight:800}
.pred-empty p{font-size:14px;color:var(--ink2)}
.pred-empty .btn{margin-top:6px}
.pred-side{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;text-align:center}
.pred-side img{width:230px;height:auto}
.pred-side .btn{height:44px;font-size:16px}
.pred-side p{font-size:13px;line-height:20px;color:var(--ink3)}

.mk-apply{height:38px;gap:4px;border-radius:19px}
.mk-apply .ic{width:16px;height:16px}
.ql .ql-code{max-width:160px;overflow:hidden;text-overflow:ellipsis;font-size:13px}
.ql .ql-ops{white-space:nowrap}
.ql-fav{display:inline-flex;align-items:center;gap:3px;margin-right:14px;font-size:14px;color:var(--ink2)}
.ql-fav .ic{width:15px;height:15px}
.ql-fav:hover,.ql-fav.on{color:var(--brand)}
.ql-fav.on .ic{fill:var(--brand)}
@media (max-width:1100px){
  .pred-row{grid-template-columns:1fr}
  .pred-side{flex-direction:row;justify-content:space-between;text-align:left}
  .pred-side img{display:none}
  .pred-side .btn{flex:none;width:auto;padding:0 28px}
}
@media (max-width:767px){
  .pills button{height:34px;padding:0 14px;font-size:14px}
  .seg{gap:16px}
  .pred-main{padding:18px}
  .pred-t{font-size:16px}
  .pred-bar{height:44px;margin-top:18px}
  .pred-yes,.pred-no{padding:0 14px;font-size:14px}
  .pred-n{margin-left:0}
  .pred-side{flex-direction:column;align-items:stretch}
  .pred-side .btn{width:100%}
  .ql .ql-code,.ql .ql-spk{display:none}
  .ql-fav{margin-right:8px}
  .ql-fav span{display:none}
  .mk-apply{height:34px;padding:0 12px;font-size:13px}
}
