/* WXSSC 首页世界财经站风格精修 20260709
   原则：不改“不锈钢期货主连”和“无锡现货主流报价”的结构与数据逻辑，只重排外围资讯、广告、研报模块。 */

:root{
  --wxwf-bg:#eef4fb;
  --wxwf-paper:#ffffff;
  --wxwf-ink:#0b1220;
  --wxwf-muted:#617084;
  --wxwf-line:#dbe5f1;
  --wxwf-blue:#2563eb;
  --wxwf-navy:#07111f;
  --wxwf-gold:#b7791f;
  --wxwf-red:#e11d48;
  --wxwf-green:#16a34a;
  --wxwf-shadow:0 18px 46px rgba(15,23,42,.08);
  --wxwf-radius:18px;
}

html body{
  background:
    radial-gradient(circle at 18% 0%, rgba(37,99,235,.11), transparent 30%),
    linear-gradient(180deg,#f7fbff 0%, var(--wxwf-bg) 420px, #edf4fb 100%) !important;
  color:var(--wxwf-ink) !important;
}

html body .wx63-page{
  max-width:1380px !important;
  padding-left:18px !important;
  padding-right:18px !important;
}

html body .wx6513d-ticker{
  margin-top:0 !important;
  border-radius:0 0 18px 18px !important;
  border-color:rgba(37,99,235,.12) !important;
  box-shadow:0 14px 34px rgba(15,23,42,.07) !important;
}

html body #wxssc-home-market-deck-v6519.wxssc-market-light-card{
  margin-top:22px !important;
  border:1px solid rgba(37,99,235,.14) !important;
  border-radius:24px !important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.96),rgba(248,251,255,.96)) !important;
  box-shadow:var(--wxwf-shadow) !important;
}

html body #wxssc-home-market-deck-v6519 .hm-head{
  border-bottom:1px solid rgba(219,229,241,.86) !important;
  padding-bottom:16px !important;
}

html body #wxssc-home-market-deck-v6519 .hm-title::after{
  content:" · WUXI STAINLESS DESK";
  color:#94a3b8;
  font-size:12px;
  letter-spacing:.08em;
  font-weight:900;
}

html body .wx-home-ads-v685{
  max-width:1380px !important;
  margin:16px auto 12px !important;
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:12px !important;
}

html body .wx-home-ad-v685{
  min-height:58px !important;
  border-radius:16px !important;
  background:#fff !important;
  border:1px solid rgba(219,229,241,.96) !important;
  box-shadow:0 10px 28px rgba(15,23,42,.055) !important;
}

html body .wx-home-ad-v685.is-blue:not(.has-img){
  background:linear-gradient(90deg,#fff,#f3f7ff) !important;
}

html body .wx-home-ad-v685.is-dark:not(.has-img){
  background:linear-gradient(90deg,#fff,#fff8ed) !important;
}

.wxwf-intel-matrix-20260709{
  max-width:1380px;
  margin:12px auto 18px;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}

.wxwf-intel-card-20260709{
  position:relative;
  min-height:112px;
  padding:17px 18px 16px;
  border-radius:18px;
  border:1px solid rgba(219,229,241,.95);
  background:linear-gradient(180deg,#fff,#f9fbff);
  box-shadow:0 12px 30px rgba(15,23,42,.055);
  text-decoration:none;
  color:var(--wxwf-ink);
  overflow:hidden;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}

.wxwf-intel-card-20260709::after{
  content:"";
  position:absolute;
  right:-34px;
  bottom:-42px;
  width:118px;
  height:118px;
  border-radius:50%;
  background:rgba(37,99,235,.08);
}

.wxwf-intel-card-20260709:hover{
  transform:translateY(-2px);
  border-color:rgba(37,99,235,.28);
  box-shadow:0 18px 42px rgba(15,23,42,.09);
}

.wxwf-intel-card-20260709.is-primary{
  background:linear-gradient(135deg,#081120,#17243a);
  color:#fff;
  border-color:rgba(255,255,255,.12);
}

.wxwf-intel-card-20260709.is-primary::after{
  background:rgba(37,99,235,.22);
}

.wxwf-intel-card-20260709.is-premium{
  background:linear-gradient(135deg,#fff,#fff7e8);
  border-color:rgba(183,121,31,.18);
}

.wxwf-intel-kicker-20260709{
  display:inline-flex;
  align-items:center;
  height:22px;
  padding:0 9px;
  border-radius:999px;
  background:rgba(37,99,235,.09);
  color:var(--wxwf-blue);
  font-size:10px;
  font-weight:1000;
  letter-spacing:.08em;
}

.wxwf-intel-card-20260709.is-primary .wxwf-intel-kicker-20260709{
  background:rgba(255,255,255,.14);
  color:#dbeafe;
}

.wxwf-intel-card-20260709.is-premium .wxwf-intel-kicker-20260709{
  background:rgba(183,121,31,.10);
  color:var(--wxwf-gold);
}

.wxwf-intel-card-20260709 strong{
  position:relative;
  z-index:1;
  display:block;
  margin-top:11px;
  font-size:17px;
  line-height:1.25;
  font-weight:1000;
  letter-spacing:-.03em;
}

.wxwf-intel-card-20260709 em{
  position:relative;
  z-index:1;
  display:block;
  margin-top:8px;
  font-style:normal;
  color:var(--wxwf-muted);
  font-size:12px;
  line-height:1.45;
  font-weight:780;
}

.wxwf-intel-card-20260709.is-primary em{
  color:#cbd5e1;
}

html body .wx63-main{
  max-width:1380px !important;
  margin:18px auto 0 !important;
  grid-template-columns:minmax(0,1fr) 390px !important;
  gap:18px !important;
  align-items:start !important;
}

html body .wx63-left,
html body .wx63-right{
  gap:18px !important;
}

html body #priceCenter.wx-home-price-light-v672d,
html body .wx63-card,
html body .wxssc-today-intel-v645-f7,
html body .wxssc-vip-report-v646-f2b,
html body .wx-price-carousel-ads-v685i,
html body .wx-home-extra-ads-rail-20260709{
  border-radius:var(--wxwf-radius) !important;
  border:1px solid rgba(219,229,241,.98) !important;
  background:#fff !important;
  box-shadow:0 14px 38px rgba(15,23,42,.06) !important;
}

html body #priceCenter.wx-home-price-light-v672d:before{
  background:linear-gradient(90deg,#0f172a,#2563eb,#16a34a) !important;
}

html body .wx-price-carousel-ads-v685i{
  --wx-pca-height-v685l:178px;
  overflow:hidden !important;
}

html body .wx-price-carousel-ads-v685i::before{
  content:"SPONSORED · 无锡不锈钢产业服务";
  display:flex;
  align-items:center;
  height:36px;
  padding:0 16px;
  border-bottom:1px solid rgba(219,229,241,.9);
  color:#64748b;
  background:#fbfdff;
  font-size:11px;
  font-weight:1000;
  letter-spacing:.08em;
}

html body .wx-pca-v685i-frame,
html body .wx-pca-v685i-empty{
  height:178px !important;
  min-height:178px !important;
  max-height:178px !important;
}

html body .wx-pca-v685i-slide{
  padding:20px 22px !important;
}

html body .wx-pca-v685i-slide.has-img{
  background-size:cover !important;
}

html body .wx-pca-v685i-slide.has-img::before{
  background:linear-gradient(90deg,rgba(7,17,31,.74),rgba(7,17,31,.30),rgba(7,17,31,.08)) !important;
}

html body .wx-pca-v685i-title{
  max-width:520px;
  font-size:22px !important;
  letter-spacing:-.04em !important;
}

html body .wx-pca-v685i-sub{
  max-width:560px !important;
  font-size:12px !important;
}

html body .wx-pca-v685i-action{
  background:#fff !important;
  color:#0f172a !important;
  border-color:rgba(255,255,255,.5) !important;
}

html body .wxsti46-top,
html body .wxvip-head{
  padding-bottom:10px !important;
  border-bottom:1px solid rgba(219,229,241,.92) !important;
}

html body .wxsti46-kicker,
html body .wxvip-kicker{
  border-radius:999px !important;
  background:#eef4ff !important;
  color:var(--wxwf-blue) !important;
}

html body .wxsti46-title h2,
html body .wxvip-title h2{
  color:#0b1220 !important;
  font-size:22px !important;
  letter-spacing:-.04em !important;
}

html body .wxsti46-list{
  max-height:520px !important;
  overflow:auto !important;
  padding-right:2px !important;
}

html body .wxsti46-list::-webkit-scrollbar{width:5px;}
html body .wxsti46-list::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px;}

html body .wx-home-extra-ads-rail-20260709{
  padding:18px !important;
  background:linear-gradient(180deg,#fff,#f8fbff) !important;
}

html body .wx-home-extra-ads-rail-20260709 .wx-home-extra-head-20260709 h2::after{
  content:" · NATIVE ADS";
  color:#94a3b8;
  font-size:10px;
  letter-spacing:.08em;
}

html body .wx-home-extra-ads-rail-20260709 .wx-home-extra-ad-20260709{
  border-radius:14px !important;
  min-height:86px !important;
  box-shadow:none !important;
  border:1px solid rgba(219,229,241,.92) !important;
}

html body .wx-home-extra-ads-rail-20260709 .wx-home-extra-ad-20260709 img,
html body .wx-home-extra-ads-rail-20260709 .wx-home-extra-ad-20260709:first-child img{
  height:92px !important;
}

html body .wxvip-valuebar{
  grid-template-columns:1fr !important;
  gap:8px !important;
}

html body .wxvip-value{
  border-radius:12px !important;
  background:#f8fafc !important;
  border-color:#e2e8f0 !important;
}

.wxwf-focus-strip-20260709{
  max-width:1380px;
  margin:22px auto 28px;
  padding:20px;
  border-radius:22px;
  border:1px solid rgba(219,229,241,.96);
  background:linear-gradient(135deg,#07111f,#102039 58%,#132b4d);
  color:#fff;
  box-shadow:0 18px 46px rgba(15,23,42,.12);
}

.wxwf-focus-head-20260709{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:14px;
}

.wxwf-focus-head-20260709 span{
  display:inline-flex;
  align-items:center;
  height:24px;
  padding:0 10px;
  border-radius:999px;
  background:rgba(37,99,235,.22);
  color:#bfdbfe;
  font-size:10px;
  font-weight:1000;
  letter-spacing:.10em;
}

.wxwf-focus-head-20260709 h2{
  margin:0 auto 0 0;
  font-size:22px;
  line-height:1.15;
  font-weight:1000;
  letter-spacing:-.04em;
}

.wxwf-focus-head-20260709 a{
  color:#fff;
  text-decoration:none;
  font-size:12px;
  font-weight:900;
  opacity:.86;
}

.wxwf-focus-grid-20260709{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}

.wxwf-focus-grid-20260709 a{
  display:block;
  padding:15px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  text-decoration:none;
  color:#fff;
}

.wxwf-focus-grid-20260709 b{
  display:block;
  font-size:15px;
  line-height:1.25;
  font-weight:1000;
}

.wxwf-focus-grid-20260709 em{
  display:block;
  margin-top:7px;
  color:#cbd5e1;
  font-style:normal;
  font-size:12px;
  line-height:1.45;
  font-weight:760;
}

@media(max-width:1180px){
  html body .wx63-main{
    grid-template-columns:1fr !important;
  }

  .wxwf-intel-matrix-20260709,
  .wxwf-focus-grid-20260709{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:760px){
  html body .wx63-page{
    padding-left:10px !important;
    padding-right:10px !important;
  }

  html body #wxssc-home-market-deck-v6519.wxssc-market-light-card{
    margin-top:12px !important;
    border-radius:18px !important;
  }

  html body .wx-home-ads-v685,
  .wxwf-intel-matrix-20260709,
  .wxwf-focus-grid-20260709{
    grid-template-columns:1fr !important;
  }

  .wxwf-intel-matrix-20260709{
    margin-top:10px;
  }

  .wxwf-intel-card-20260709{
    min-height:92px;
    padding:14px 15px;
  }

  html body .wx63-main{
    margin-top:14px !important;
    gap:14px !important;
  }

  html body .wx-price-carousel-ads-v685i{
    --wx-pca-height-v685l:138px;
  }

  html body .wx-pca-v685i-frame,
  html body .wx-pca-v685i-empty{
    height:138px !important;
    min-height:138px !important;
    max-height:138px !important;
  }

  html body .wx-pca-v685i-title{
    font-size:17px !important;
    white-space:normal !important;
  }

  html body .wx-pca-v685i-sub,
  html body .wx-pca-v685i-action{
    display:none !important;
  }

  .wxwf-focus-strip-20260709{
    margin:16px auto 22px;
    padding:16px;
    border-radius:18px;
  }

  .wxwf-focus-head-20260709{
    align-items:flex-start;
    flex-direction:column;
    gap:8px;
  }

  .wxwf-focus-head-20260709 h2{
    font-size:19px;
  }
}

/* WXSSC 20260709 精修补丁：logo、空广告、底部遮挡、手机端一致性 */
html body .wx-global-logo.wxssc-official-logo-host-v685o,
html body .wx55-logo.wxssc-official-logo-host-v685o,
html body .brand > .logo.wxssc-official-logo-host-v685o{
  background:#fff url('/uploads/ads/ad_v110_1781269636158___20260610145805_599_2.webp?wxlogo=20260709_world_fix') center/cover no-repeat !important;
  border:1px solid rgba(255,255,255,.18) !important;
}

html body .wx-global-logo.wxssc-official-logo-host-v685o > img,
html body .wx55-logo.wxssc-official-logo-host-v685o > img,
html body .brand > .logo.wxssc-official-logo-host-v685o > img{
  opacity:1 !important;
  background:#fff !important;
}

html body .wx-home-ad-v685.has-img{
  min-height:72px !important;
  padding:14px 16px !important;
  color:#0f172a !important;
  background:
    linear-gradient(90deg,rgba(255,255,255,.96),rgba(248,251,255,.88)),
    var(--wx-home-ad-bg, none) center/cover no-repeat !important;
}

html body .wx-home-ad-v685.has-img::after{
  content:"";
  position:absolute;
  inset:auto 16px 12px auto;
  width:86px;
  height:36px;
  border-radius:999px;
  background:rgba(37,99,235,.08);
  pointer-events:none;
}

html body .wx-home-ad-v685.has-img .wx-home-ad-main-v685{
  position:relative !important;
  inset:auto !important;
  z-index:2 !important;
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
}

html body .wx-home-ad-v685.has-img .wx-home-ad-text-v685,
html body .wx-home-ad-v685.has-img .wx-home-ad-action-v685{
  display:inline-flex !important;
  color:#0f172a !important;
  text-shadow:none !important;
}

html body .wx-home-ad-v685.has-img .wx-home-ad-text-v685{
  display:block !important;
}

html body .wx-home-ad-v685.has-img .wx-home-ad-title-v685{
  color:#0f172a !important;
}

html body .wx-home-ad-v685.has-img .wx-home-ad-sub-v685{
  color:#64748b !important;
  opacity:1 !important;
}

html body .wx-home-ad-v685.has-img .wx-home-ad-action-v685{
  position:relative !important;
  z-index:2 !important;
  margin-left:auto !important;
  background:#0f172a !important;
  color:#fff !important;
}

html body .wx-home-ad-v685.has-img .wx-home-ad-badge-v685{
  background:#eef4ff !important;
  color:#2563eb !important;
  border-color:#dbe7ff !important;
}

html body .wx63-page{
  padding-bottom:58px !important;
}

html body .wx6514c-bottom-market{
  box-shadow:0 -12px 26px rgba(15,23,42,.18) !important;
}

@media(max-width:760px){
  html body.wx-mobile-home-v1-ready{
    background:#eef4fb !important;
  }

  html body.wx-mobile-home-v1-ready .wx63-page{
    padding-bottom:0 !important;
  }

  #wxMobileHomeV1{
    background:
      radial-gradient(circle at 20% 0%, rgba(37,99,235,.14), transparent 28%),
      linear-gradient(180deg,#f8fbff 0,#eef4fb 190px,#f3f6fa 100%) !important;
    padding-bottom:68px !important;
  }

  #wxMobileHomeV1 .wxm-appbar{
    height:54px !important;
    padding:8px 10px !important;
    background:#07111f !important;
    border-bottom:1px solid rgba(255,255,255,.08) !important;
    box-shadow:0 10px 24px rgba(7,17,31,.20) !important;
  }

  #wxMobileHomeV1 .wxm-logo{
    width:34px !important;
    height:34px !important;
    border-radius:9px !important;
    background:#fff !important;
    box-shadow:0 0 0 1px rgba(255,255,255,.15) !important;
  }

  #wxMobileHomeV1 .wxm-brand b{
    font-size:15px !important;
    letter-spacing:-.03em !important;
  }

  #wxMobileHomeV1 .wxm-brand span{
    color:#9fb2cc !important;
    letter-spacing:.05em !important;
  }

  #wxMobileHomeV1 .wxm-nav a:not(.is-on):nth-child(n+3){
    display:none !important;
  }

  #wxMobileHomeV1 .wxm-nav a{
    height:30px !important;
    border-radius:999px !important;
    font-size:12px !important;
  }

  #wxMobileHomeV1 .wxm-page{
    padding:10px 9px 0 !important;
  }

  #wxMobileHomeV1 .wxm-hero,
  #wxMobileHomeV1 .wxm-card{
    border-radius:16px !important;
    border:1px solid rgba(219,229,241,.96) !important;
    background:rgba(255,255,255,.96) !important;
    box-shadow:0 12px 28px rgba(15,23,42,.06) !important;
  }

  #wxMobileHomeV1 .wxm-hero{
    padding:15px 14px !important;
  }

  #wxMobileHomeV1 .wxm-kicker{
    background:#eef4ff !important;
    color:#2563eb !important;
    font-size:10px !important;
    letter-spacing:.04em !important;
  }

  #wxMobileHomeV1 .wxm-hero h1{
    margin-top:9px !important;
    font-size:22px !important;
    line-height:1.15 !important;
    letter-spacing:-.05em !important;
  }

  #wxMobileHomeV1 .wxm-hero p{
    color:#617084 !important;
    font-size:12px !important;
  }

  #wxMobileHomeV1 .wxm-actions{
    grid-template-columns:1fr 82px !important;
    gap:8px !important;
  }

  #wxMobileHomeV1 .wxm-search,
  #wxMobileHomeV1 .wxm-primary{
    height:38px !important;
    border-radius:12px !important;
  }

  #wxMobileHomeV1 .wxm-tabs a{
    height:28px !important;
    border-radius:999px !important;
    background:#fff !important;
    color:#2563eb !important;
    font-weight:950 !important;
  }

  #wxMobileHomeV1 .wxm-grid{
    gap:10px !important;
    margin-top:10px !important;
  }

  #wxMobileHomeV1 .wxm-card-head{
    padding:13px 13px 0 !important;
  }

  #wxMobileHomeV1 .wxm-card-title span{
    color:#2563eb !important;
    letter-spacing:.08em !important;
  }

  #wxMobileHomeV1 .wxm-card-title h2{
    font-size:19px !important;
    letter-spacing:-.04em !important;
  }

  #wxMobileHomeV1 .wxm-market{
    padding:12px !important;
  }

  #wxMobileHomeV1 .wxm-market-main{
    border-radius:14px !important;
    background:linear-gradient(135deg,#f8fbff,#fff) !important;
    border-color:#e2e8f0 !important;
  }

  #wxMobileHomeV1 .wxm-market-main b{
    font-size:34px !important;
    color:#16a34a !important;
  }

  #wxMobileHomeV1 .wxm-mini{
    border-radius:12px !important;
    background:#fbfdff !important;
  }

  #wxMobileHomeV1 .wxm-ad{
    min-height:48px !important;
    border-radius:14px !important;
    background:linear-gradient(100deg,#07111f,#18345d 58%,#2563eb) !important;
    box-shadow:0 12px 26px rgba(37,99,235,.16) !important;
  }

  #wxMobileHomeV1 .wxm-quote-list,
  #wxMobileHomeV1 .wxm-feed{
    padding-left:13px !important;
    padding-right:13px !important;
  }

  #wxMobileHomeV1 .wxm-quote{
    grid-template-columns:minmax(0,1fr) 86px !important;
    min-height:58px !important;
  }

  #wxMobileHomeV1 .wxm-news{
    grid-template-columns:42px 46px minmax(0,1fr) !important;
  }

  #wxMobileHomeV1 .wxm-bottom{
    height:58px !important;
    border-top:1px solid rgba(219,229,241,.96) !important;
    box-shadow:0 -14px 30px rgba(15,23,42,.08) !important;
  }
}

/* WXSSC 20260709 手机端横向溢出与底栏三等分补丁 */
@media(max-width:760px){
  html,
  html body.wx-mobile-home-v1-ready{
    width:100% !important;
    max-width:100% !important;
    overflow-x:hidden !important;
  }

  #wxMobileHomeV1,
  #wxMobileHomeV1 .wxm-page,
  #wxMobileHomeV1 .wxm-grid,
  #wxMobileHomeV1 .wxm-card,
  #wxMobileHomeV1 .wxm-hero{
    width:100% !important;
    max-width:100% !important;
    overflow-x:hidden !important;
  }

  #wxMobileHomeV1 .wxm-appbar{
    width:100vw !important;
    max-width:100vw !important;
    overflow:hidden !important;
  }

  #wxMobileHomeV1 .wxm-nav{
    flex:0 0 auto !important;
    max-width:136px !important;
    overflow:hidden !important;
  }

  #wxMobileHomeV1 .wxm-ad span{
    min-width:0 !important;
    gap:8px !important;
    overflow:hidden !important;
  }

  #wxMobileHomeV1 .wxm-ad span b{
    min-width:0 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }

  #wxMobileHomeV1 .wxm-bottom{
    width:100vw !important;
    max-width:100vw !important;
    left:0 !important;
    right:auto !important;
    grid-template-columns:repeat(3,1fr) !important;
    overflow:hidden !important;
  }

  #wxMobileHomeV1 .wxm-bottom a{
    min-width:0 !important;
    width:100% !important;
    overflow:hidden !important;
  }

  #wxMobileHomeV1 .wxm-bottom span{
    max-width:100% !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }
}

/* WXSSC 20260709 微信手机视口保险：取消历史最小宽度影响 */
@media(max-width:760px){
  html,
  body,
  html body.wx-mobile-home-v1-ready,
  #wxMobileHomeV1,
  #wxMobileHomeV1 *{
    min-width:0 !important;
  }

  #wxMobileHomeV1 .wxm-bottom{
    left:0 !important;
    right:0 !important;
    width:100% !important;
    max-width:100% !important;
  }
}
