/* WXSSC V68.6-I6B flash sidebar comfort tuning
   Fix I6 over-compression. Visual only.
   Do not touch feed / SSE / API / JS.
*/

/* 右栏整体：适度紧凑，不极限压缩 */
html body .wx55-side{
  gap:11px !important;
}

/* 卡片恢复舒适内距 */
html body .wx55-side .wx55-card,
html body .wx55-side .wx-v6569a-side-card,
html body .wx55-side .wx-i4-card{
  overflow:visible !important;
}

/* 卡片标题：36px -> 38px，避免标题区域太薄 */
html body .wx55-side .wx55-card-head,
html body .wx55-side .wx-v6569a-card-head,
html body .wx55-side .wx-i4-card-head{
  height:38px !important;
  min-height:38px !important;
  padding:0 13px !important;
}

html body .wx55-side .wx55-card-head b,
html body .wx55-side .wx-v6569a-card-head b,
html body .wx55-side .wx-i4-card-head b{
  font-size:14.5px !important;
  line-height:1.2 !important;
}

/* 旗下产品：不再硬卡 37px，恢复 41px 左右 */
html body .wx-i4-products{
  padding:8px !important;
  gap:7px !important;
}

html body .wx-i4-product{
  min-height:41px !important;
  height:auto !important;
  padding:7px 10px !important;
  grid-template-columns:30px minmax(0,1fr) auto !important;
  gap:9px !important;
  border-radius:11px !important;
}

html body .wx-i4-product i{
  width:30px !important;
  height:30px !important;
  border-radius:10px !important;
  font-size:12px !important;
}

html body .wx-i4-product b{
  font-size:13px !important;
  line-height:1.18 !important;
}

html body .wx-i4-product span{
  margin-top:2px !important;
  font-size:11px !important;
  line-height:1.2 !important;
}

html body .wx-i4-product em{
  font-size:10px !important;
}

/* 行情参考：恢复一点高度，避免文字贴边 */
html body .wx-i4-market{
  padding:8px 10px 9px !important;
}

html body .wx-i4-market-top{
  gap:5px !important;
  margin-bottom:6px !important;
}

html body .wx-i4-market-chip{
  min-height:40px !important;
  padding:6px !important;
  border-radius:10px !important;
}

html body .wx-i4-market-chip span{
  font-size:10.5px !important;
  line-height:1.15 !important;
}

html body .wx-i4-market-chip b{
  margin-top:4px !important;
  font-size:13.5px !important;
  line-height:1.08 !important;
}

html body .wx-i4-market-row{
  min-height:30px !important;
  padding:5px 0 !important;
}

html body .wx-i4-market-row b{
  font-size:12px !important;
  line-height:1.18 !important;
}

html body .wx-i4-market-row span{
  font-size:10.5px !important;
  line-height:1.15 !important;
}

html body .wx-i4-market-row strong{
  font-size:13px !important;
}

/* 热门情报：34px -> 38px，解决行内容压扁 */
html body .wx-i4-hot{
  padding:8px !important;
  gap:7px !important;
}

html body .wx-i4-hot-row{
  min-height:38px !important;
  padding:7px 9px !important;
  grid-template-columns:26px minmax(0,1fr) auto !important;
  gap:8px !important;
  border-radius:11px !important;
}

html body .wx-i4-hot-rank{
  width:24px !important;
  height:24px !important;
  border-radius:8px !important;
  font-size:12px !important;
}

html body .wx-i4-hot-row b{
  font-size:12px !important;
  line-height:1.15 !important;
}

html body .wx-i4-hot-row span{
  margin-top:2px !important;
  font-size:10.5px !important;
  line-height:1.15 !important;
}

html body .wx-i4-hot-row em{
  min-width:44px !important;
  height:22px !important;
  font-size:11px !important;
}

/* 重点事件 / 微信入口：恢复可读性，内容不裁切 */
html body .wx-i4-community{
  padding:9px !important;
  gap:8px !important;
}

html body .wx-i4-community-main{
  padding:11px !important;
  border-radius:12px !important;
}

html body .wx-i4-community-main b{
  font-size:13px !important;
  line-height:1.2 !important;
}

html body .wx-i4-community-main span{
  margin-top:4px !important;
  font-size:11.5px !important;
  line-height:1.45 !important;
}

html body .wx-i4-community-actions{
  gap:8px !important;
}

html body .wx-i4-community-actions a{
  height:32px !important;
  font-size:12px !important;
}

/* 防止右栏内容被裁切 */
html body .wx-i4-card,
html body .wx-i4-card *,
html body .wx55-side .wx55-card,
html body .wx55-side .wx55-card *{
  text-overflow:ellipsis;
}

html body .wx-i4-community,
html body .wx-i4-products,
html body .wx-i4-hot,
html body .wx-i4-market{
  overflow:visible !important;
}

/* 小屏保持正常舒适密度 */
@media(max-width:900px){
  html body .wx55-side{
    gap:12px !important;
  }
}
