/* WXSSC 首页 1300px 财经信息站重构 20260709
   主体严格：620 + 20 + 380 + 20 + 260 = 1300px
   只重排外围：首页期货/现货组件保持原有数据与接口逻辑。 */
:root{
  --wx1300-w:1300px;
  --wx1300-left:620px;
  --wx1300-mid:380px;
  --wx1300-right:260px;
  --wx1300-gap:20px;
  --wx1300-navy:#06101e;
  --wx1300-ink:#111827;
  --wx1300-muted:#64748b;
  --wx1300-line:#d8e1ec;
  --wx1300-bg:#eef3f8;
  --wx1300-card:#fff;
  --wx1300-blue:#2563eb;
  --wx1300-red:#e63946;
  --wx1300-green:#059669;
  --wx1300-amber:#c78b2b;
}

html body{
  background:var(--wx1300-bg) !important;
  color:var(--wx1300-ink) !important;
}

html body .wx63-page{
  width:var(--wx1300-w) !important;
  max-width:var(--wx1300-w) !important;
  margin:0 auto !important;
  padding:0 0 58px !important;
}

html body .wx6513d-ticker{
  width:var(--wx1300-w) !important;
  max-width:var(--wx1300-w) !important;
  margin:0 auto !important;
  border-radius:0 !important;
  border:0 !important;
  border-bottom:1px solid rgba(216,225,236,.9) !important;
  box-shadow:none !important;
}

.wx1300-shell,
.wx1300-shell *{
  box-sizing:border-box;
}

.wx1300-shell{
  width:var(--wx1300-w);
  max-width:var(--wx1300-w);
  margin:14px auto 0;
}

.wx1300-daily-brief{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:42px;
  padding:0 14px;
  margin-bottom:10px;
  border:1px solid var(--wx1300-line);
  border-radius:8px;
  background:#fff;
}

.wx1300-daily-brief div{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

.wx1300-daily-brief span,
.wx1300-card-head span{
  display:inline-flex;
  align-items:center;
  height:20px;
  padding:0 7px;
  border-radius:4px;
  background:#eef4ff;
  color:var(--wx1300-blue);
  font-size:10px;
  line-height:1;
  font-weight:950;
  letter-spacing:.08em;
  white-space:nowrap;
}

.wx1300-daily-brief strong{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:14px;
  font-weight:950;
}

.wx1300-daily-brief a,
.wx1300-card-head a{
  flex:0 0 auto;
  color:var(--wx1300-blue);
  text-decoration:none;
  font-size:12px;
  font-weight:900;
}

.wx1300-first-grid{
  display:grid;
  grid-template-columns:var(--wx1300-left) var(--wx1300-mid) var(--wx1300-right);
  gap:var(--wx1300-gap);
  align-items:start;
}

.wx1300-left-col,
.wx1300-mid-col,
.wx1300-right-col{
  display:grid;
  gap:10px;
  min-width:0;
}

.wx1300-card,
.wx1300-shell #wxssc-home-market-deck-v6519,
.wx1300-shell #priceCenter,
.wx1300-shell .wx-home-ads-v685,
.wx1300-shell .wxssc-today-intel-v645-f7,
.wx1300-shell .wx-home-extra-ads-rail-20260709,
.wx1300-shell .wxssc-vip-report-v646-f2b{
  border:1px solid var(--wx1300-line) !important;
  border-radius:8px !important;
  background:var(--wx1300-card) !important;
  box-shadow:none !important;
  overflow:hidden !important;
}

.wx1300-shell #wxssc-home-market-deck-v6519{
  width:100% !important;
  margin:0 !important;
  padding:12px 14px !important;
}

.wx1300-shell #wxssc-home-market-deck-v6519 .hm-head{
  min-height:auto !important;
  padding:0 0 8px !important;
  margin:0 0 10px !important;
  border-bottom:1px solid var(--wx1300-line) !important;
}

.wx1300-shell #wxssc-home-market-deck-v6519 .hm-kicker{
  height:20px !important;
  font-size:11px !important;
}

.wx1300-shell #wxssc-home-market-deck-v6519 .hm-title{
  margin-top:6px !important;
  font-size:22px !important;
  line-height:1.15 !important;
  letter-spacing:-.04em !important;
}

.wx1300-shell #wxssc-home-market-deck-v6519 .hm-title::after,
.wx1300-shell #wxssc-home-market-deck-v6519 .hm-sub,
.wx1300-shell #wxssc-home-market-deck-v6519 .hm-safe,
.wx1300-shell #wxssc-home-market-deck-v6519 .hm-panel.hm-spot,
.wx1300-shell #wxssc-home-market-deck-v6519 .hm-joint-decision-v684{
  display:none !important;
}

.wx1300-shell #wxssc-home-market-deck-v6519 .hm-layout{
  display:block !important;
}

.wx1300-shell .wx-ss-futures-ref-v6566e{
  width:100% !important;
  max-width:100% !important;
  border:0 !important;
  box-shadow:none !important;
  padding:0 !important;
  background:#fff !important;
}

.wx1300-shell .wx-ss-fr-head-v6566e{
  padding:0 0 8px !important;
  margin:0 !important;
}

.wx1300-shell .wx-ss-fr-title-v6566e{
  font-size:19px !important;
  line-height:1.15 !important;
}

.wx1300-shell .wx-ss-fr-body-v6566e{
  display:grid !important;
  grid-template-columns:190px minmax(0,1fr) !important;
  gap:10px !important;
}

.wx1300-shell .wx-ss-fr-price-card-v6566e,
.wx1300-shell .wx-ss-fr-context-v6566e{
  border-radius:6px !important;
  border:1px solid var(--wx1300-line) !important;
  background:#fbfdff !important;
  box-shadow:none !important;
}

.wx1300-shell .wx-ss-fr-price-v6566e{
  font-size:43px !important;
  line-height:1 !important;
  letter-spacing:-.06em !important;
}

.wx1300-shell .wx-ss-fr-mini-trend-v6566e{
  height:142px !important;
}

.wx1300-shell .wx-ss-fr-metrics-v6566e{
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:0 !important;
  margin-top:9px !important;
  border:1px solid var(--wx1300-line) !important;
  border-radius:6px !important;
  overflow:hidden !important;
}

.wx1300-shell .wx-ss-fr-metric-v6566e{
  min-height:42px !important;
  padding:7px 9px !important;
  border:0 !important;
  border-right:1px solid var(--wx1300-line) !important;
  border-bottom:1px solid var(--wx1300-line) !important;
  border-radius:0 !important;
  background:#fff !important;
}

.wx1300-shell .wx-ss-fr-metric-v6566e:nth-child(4n){ border-right:0 !important; }
.wx1300-shell .wx-ss-fr-metric-v6566e:nth-child(n+5){ border-bottom:0 !important; }

.wx1300-shell .wx-ss-fr-bottom-v6566e{
  margin-top:8px !important;
  padding-top:8px !important;
  font-size:11px !important;
}

.wx1300-shell #priceCenter{
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
}

.wx1300-shell #priceCenter::before{
  height:3px !important;
  border-radius:0 !important;
  background:linear-gradient(90deg,var(--wx1300-blue),var(--wx1300-green)) !important;
}

.wx1300-shell #priceCenter .wx-hpl672d-inner{
  padding:12px 14px !important;
}

.wx1300-shell #priceCenter h2,
.wx1300-shell #priceCenter .wx-hpl672d-title{
  font-size:20px !important;
  letter-spacing:-.04em !important;
}

.wx1300-shell #priceCenter table{
  font-size:12px !important;
}

.wx1300-shell #priceCenter th,
.wx1300-shell #priceCenter td{
  padding-top:8px !important;
  padding-bottom:8px !important;
}

.wx1300-shell .wx-home-ads-v685{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:8px !important;
  width:100% !important;
  max-width:100% !important;
  margin:0 !important;
  padding:8px !important;
}

.wx1300-shell .wx-home-ad-v685{
  min-height:50px !important;
  padding:9px 10px !important;
  border-radius:6px !important;
  box-shadow:none !important;
}

.wx1300-shell .wx-price-carousel-ads-v685i{
  display:none !important;
}

.wx1300-shell .wxssc-today-intel-v645-f7{
  width:100% !important;
  margin:0 !important;
  padding:12px !important;
  border-top:3px solid var(--wx1300-red) !important;
}

.wx1300-shell .wxsti46-title h2{
  font-size:22px !important;
  letter-spacing:-.04em !important;
}

.wx1300-shell .wxsti46-sub{
  font-size:12px !important;
}

.wx1300-shell .wxsti46-livebar,
.wx1300-shell .wxsti46-tabs{
  margin-top:9px !important;
  padding:7px !important;
  border-radius:6px !important;
}

.wx1300-shell .wxsti46-tabs{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:6px !important;
}

.wx1300-shell .wxsti46-list{
  max-height:492px !important;
  overflow:auto !important;
  padding-right:2px !important;
}

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

.wx1300-shell .wxsti46-foot{
  margin-top:10px !important;
  padding-top:9px !important;
}

.wx1300-card{
  padding:12px;
}

.wx1300-card-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  padding-bottom:9px;
  margin-bottom:8px;
  border-bottom:1px solid var(--wx1300-line);
}

.wx1300-card-head h2{
  margin:6px 0 0;
  font-size:18px;
  line-height:1.15;
  font-weight:1000;
  letter-spacing:-.04em;
}

.wx1300-ref-table{
  display:grid;
}

.wx1300-ref-table a{
  display:grid;
  grid-template-columns:1fr auto auto;
  gap:8px;
  align-items:center;
  min-height:31px;
  border-bottom:1px solid #edf2f7;
  color:var(--wx1300-ink);
  text-decoration:none;
  font-size:12px;
  font-weight:850;
}

.wx1300-ref-table a:last-child{ border-bottom:0; }
.wx1300-ref-table b{ font-family:ui-monospace,SFMono-Regular,Consolas,monospace; font-size:13px; }
.wx1300-ref-table b.up,.wx1300-ref-table em{ color:var(--wx1300-red); }
.wx1300-ref-table b.down,.wx1300-ref-table a:nth-child(2) em,.wx1300-ref-table a:nth-child(3) em{ color:var(--wx1300-green); }
.wx1300-ref-table em{ font-style:normal; font-size:11px; font-weight:900; }

.wx1300-ai-card strong{
  display:block;
  margin-bottom:8px;
  font-size:14px;
  line-height:1.55;
  font-weight:1000;
}

.wx1300-ai-card p{
  margin:7px 0 0;
  color:var(--wx1300-muted);
  font-size:12px;
  line-height:1.55;
  font-weight:760;
}

.wx1300-ai-cta{
  display:flex;
  align-items:center;
  justify-content:center;
  height:32px;
  margin-top:10px;
  border-radius:6px;
  background:var(--wx1300-navy);
  color:#fff;
  text-decoration:none;
  font-size:12px;
  font-weight:950;
}

.wx1300-native-service a{
  display:block;
  padding:9px 0;
  border-bottom:1px solid #edf2f7;
  color:var(--wx1300-ink);
  text-decoration:none;
}

.wx1300-native-service a:last-child{ border-bottom:0; padding-bottom:0; }
.wx1300-native-service b{ display:block; font-size:13px; line-height:1.35; font-weight:950; }
.wx1300-native-service em{ display:block; margin-top:3px; color:var(--wx1300-muted); font-style:normal; font-size:11px; font-weight:760; }

.wx1300-shell .wx-home-extra-ads-rail-20260709{
  width:100% !important;
  margin:0 !important;
  padding:12px !important;
}

.wx1300-shell .wx-home-extra-ads-rail-20260709 .wx-home-extra-ad-20260709,
.wx1300-shell .wx-home-extra-ads-rail-20260709 .wx-home-extra-ad-20260709 img,
.wx1300-shell .wx-home-extra-ads-rail-20260709 .wx-home-extra-ad-20260709:first-child img{
  height:58px !important;
  min-height:58px !important;
  border-radius:6px !important;
}

.wx1300-shell .wxssc-vip-report-v646-f2b{
  width:100% !important;
  margin:0 !important;
  padding:12px !important;
}

.wx1300-shell .wxvip-head{ padding-bottom:8px !important; margin-bottom:8px !important; }
.wx1300-shell .wxvip-title h2{ font-size:20px !important; }
.wx1300-shell .wxvip-valuebar{ display:none !important; }
.wx1300-shell .wxvip-tabs{ gap:5px !important; margin:8px 0 !important; }
.wx1300-shell .wxvip-tabs button{ height:25px !important; padding:0 7px !important; font-size:11px !important; }
.wx1300-shell .wxvip-list{ max-height:260px !important; overflow:hidden !important; }
.wx1300-shell .wxvip-cta{ margin-top:10px !important; padding:10px !important; border-radius:6px !important; }
.wx1300-shell .wxvip-cta strong{ font-size:13px !important; }
.wx1300-shell .wxvip-cta span{ display:none !important; }

.wx1300-lower-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin-top:10px;
}

.wx1300-list-card ul{
  list-style:none;
  margin:0;
  padding:0;
}

.wx1300-list-card li{
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  gap:8px;
  align-items:start;
  min-height:30px;
  padding:7px 0;
  border-bottom:1px solid #edf2f7;
}

.wx1300-list-card li:last-child{ border-bottom:0; }
.wx1300-list-card time{ color:#7b8aa0; font-size:11px; font-weight:900; }
.wx1300-list-card a{ color:var(--wx1300-ink); text-decoration:none; font-size:12px; line-height:1.45; font-weight:850; overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }

html[data-wx1300-home="ready"] body .wxwf-intel-matrix-20260709[hidden],
html[data-wx1300-home="ready"] body .wx63-main[hidden],
html[data-wx1300-home="ready"] body .wxwf-focus-strip-20260709[hidden]{
  display:none !important;
}

html[data-wx1300-home="ready"] body .wx-footer-dark-inner{
  max-width:var(--wx1300-w) !important;
}

html[data-wx1300-home="ready"] body .wx6514c-bottom-market .wxbm14c-wrap{
  max-width:var(--wx1300-w) !important;
}

@media(max-width:1340px){
  html body .wx63-page,
  html body .wx6513d-ticker,
  .wx1300-shell{
    width:calc(100vw - 24px) !important;
    max-width:var(--wx1300-w) !important;
  }

  .wx1300-first-grid{
    grid-template-columns:minmax(0,1fr) 360px !important;
  }

  .wx1300-right-col{
    grid-column:1 / -1;
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media(max-width:900px){
  .wx1300-shell{ display:none !important; }
}

/* WXSSC 1300 偏差修正：左栏期货区只保留期货主连，避免旧现货概览挤压竖排 */
html[data-wx1300-home="ready"] body .wx1300-shell #wxssc-home-market-deck-v6519 .hm-panel.hm-spot,
html[data-wx1300-home="ready"] body .wx1300-shell #wxssc-home-market-deck-v6519 [data-wxssc-spot-tabs-v684],
html[data-wx1300-home="ready"] body .wx1300-shell #wxssc-home-market-deck-v6519 .hm-joint-decision-v684{
  display:none !important;
  visibility:hidden !important;
  width:0 !important;
  height:0 !important;
  overflow:hidden !important;
}

html[data-wx1300-home="ready"] body .wx1300-shell #wxssc-home-market-deck-v6519 .hm-layout{
  display:block !important;
  grid-template-columns:1fr !important;
}

html[data-wx1300-home="ready"] body .wx1300-shell #wxssc-home-market-deck-v6519 .wx-ss-futures-ref-v6566e{
  display:block !important;
}

html[data-wx1300-home="ready"] body .wx1300-shell #wxssc-home-market-deck-v6519 .wx-ss-fr-body-v6566e{
  grid-template-columns:190px 1fr !important;
}
