/* WXSSC V68.6-I3B flash-news toolbar tuning
   Fix I3 over-sticky / crowded toolbar.
   Visual only.
*/

/* 取消 I3 双层 sticky，避免遮挡内容和首屏跳到列表中段 */
html body .wx55-main .wx55-tabs[data-wx55-tabs],
html body .wx55-tools{
  position:relative !important;
  top:auto !important;
  z-index:5 !important;
}

/* 分类行：轻一点，留出呼吸感 */
html body .wx55-main .wx55-tabs[data-wx55-tabs]{
  min-height:44px !important;
  padding:7px 14px 6px !important;
  display:flex !important;
  align-items:center !important;
  flex-wrap:wrap !important;
  gap:7px !important;
  background:#fff !important;
  border-bottom:1px solid rgba(148,163,184,.14) !important;
}

/* 分类按钮再收窄一点，不挤压 */
html body .wx55-main .wx55-tab,
html body .wx55-main .wx55-chip{
  height:29px !important;
  min-height:29px !important;
  padding:0 11px !important;
  font-size:12px !important;
  font-weight:900 !important;
}

/* 第二行工具栏：明确成为控制台状态栏 */
html body .wx55-tools{
  min-height:40px !important;
  height:40px !important;
  padding:5px 14px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:12px !important;
  background:linear-gradient(180deg,#fbfdff,#f8fbff) !important;
  border-bottom:1px solid rgba(148,163,184,.16) !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
}

/* 日期和只看重要：更像信息状态 */
html body .wx55-date{
  flex:0 0 auto !important;
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  white-space:nowrap !important;
}

html body #wx55Date{
  height:28px !important;
  padding:0 9px !important;
  border-radius:8px !important;
  background:transparent !important;
  border:0 !important;
  color:#334155 !important;
  font-size:13px !important;
  font-weight:950 !important;
}

html body .wx55-check{
  height:28px !important;
  padding:0 8px !important;
  border-radius:8px !important;
  background:#fff !important;
  border:1px solid rgba(148,163,184,.18) !important;
  color:#64748b !important;
  font-size:12px !important;
  font-weight:850 !important;
}

/* 右侧工具组：更像终端工具条 */
html body .wx55-righttools{
  flex:1 1 auto !important;
  min-width:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:7px !important;
}

html body .wx55-search{
  flex:1 1 310px !important;
  width:auto !important;
  min-width:260px !important;
  max-width:360px !important;
  height:29px !important;
  border-radius:999px !important;
  font-size:12px !important;
  padding:0 13px !important;
  background:#fff !important;
  border:1px solid rgba(148,163,184,.20) !important;
}

/* 按钮统一小号，不抢列表 */
html body .wx55-btn{
  height:29px !important;
  padding:0 10px !important;
  border-radius:999px !important;
  font-size:12px !important;
  font-weight:900 !important;
  border:1px solid rgba(148,163,184,.18) !important;
  box-shadow:none !important;
}

html body #wx55Voice{
  min-width:72px !important;
}

html body #wx55Auto{
  min-width:72px !important;
  color:#2563eb !important;
  background:#eff6ff !important;
}

html body #wx55Refresh{
  min-width:48px !important;
  background:#2563eb !important;
  color:#fff !important;
}

/* SSE 提示条再弱一点 */
html body .wx55-newbar{
  height:26px !important;
  min-height:26px !important;
  line-height:26px !important;
  font-size:12px !important;
  background:#f6fbff !important;
  color:#2563eb !important;
  border-top:1px solid rgba(37,99,235,.08) !important;
  border-bottom:1px solid rgba(37,99,235,.08) !important;
}

/* 列表第一行不要被工具栏压住 */
html body .wx55-feed{
  padding-top:0 !important;
}

/* 中屏：允许搜索另起一行，避免挤 */
@media(max-width:1100px){
  html body .wx55-tools{
    height:auto !important;
    min-height:40px !important;
    flex-wrap:wrap !important;
  }

  html body .wx55-date{
    flex:1 1 100% !important;
  }

  html body .wx55-righttools{
    width:100% !important;
    justify-content:flex-start !important;
    flex-wrap:wrap !important;
  }

  html body .wx55-search{
    max-width:none !important;
    min-width:220px !important;
  }
}
