/* 全部讨论页移动端头部 — 频道风格 */
.LaogeAllHead {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 10px;
  background: #161d29;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1200;
}
.LaogeAllHead-title {
  flex: 1 1 auto;
  min-width: 40px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.LaogeAllHead-publish {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 30px;
  padding: 0 12px;
  border: none;
  border-radius: 15px;
  background: rgba(40, 167, 69, 0.9);
  color: #fff;
  font-size: 13px;
  cursor: pointer;
}
.LaogeAllHead-publish:active { transform: scale(0.96); }
.LaogeAllHead-pubIcon { font-size: 12px; }
.LaogeAllHead-iconBtn {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #cdd5df;
  font-size: 15px;
  cursor: pointer;
}
.LaogeAllHead-iconBtn:active { transform: scale(0.94); }
.LaogeAllHead-searchIcon { font-size: 13px; }
.LaogeAllHead-online {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 9px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.08);
  color: #cdd5df;
  font-size: 12px;
  min-width: 30px;
}
.LaogeAllHead-online:empty, .LaogeAllHead-onlineN:empty { display: none; }
.LaogeAllHead-onlineDot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4caf50;
  box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.18);
}
.LaogeAllHead-user {
  flex-shrink: 1;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  max-width: 110px;
  text-decoration: none;
}
.LaogeAllHead-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.LaogeAllHead-name {
  color: #e8edf3;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.LaogeAllHead-close { font-size: 19px; line-height: 1; }

/* 隐藏旧头部元素：返回箭头、抽屉按钮、标题下拉、排序、发布铅笔、工具栏 */
body.laoge-allhead .Navigation-back { display: none !important; }
body.laoge-allhead .Navigation-drawer { display: none !important; }
body.laoge-allhead .Header-title { display: none !important; }
body.laoge-allhead li.item-nav { display: none !important; }
body.laoge-allhead li.item-newDiscussion { display: none !important; }
body.laoge-allhead .item-sort,
body.laoge-allhead .DiscussionSort,
body.laoge-allhead .IndexPage-sort { display: none !important; }
body.laoge-allhead .IndexPage-toolbar { display: none !important; }
body.laoge-allhead .App-primaryControl { display: none !important; }

@media (min-width: 769px) {
  .LaogeAllHead { display: none !important; }
}
