/* =========================================================
 * CC商聊 · r174 视觉微调
 * 1. 输入栏「加号」展开的功能面板:图标底改为深黑,图标转白,尺寸略放大
 * 2. 表情面板:整体抬高(即使表情很少也撑起高度)
 * 3. 扫一扫:顶部标题条沉浸化(黑底白字,不再有白条)
 * =======================================================*/

/* ---------- 1. 加号面板:黑底白图标 ---------- */
.plus-ico {
  background: #1b1d21 !important;
  border-color: #1b1d21 !important;
  color: #fff !important;
  box-shadow: 0 2px 10px rgba(20, 22, 28, .16) !important;
}
.plus-ico > svg,
.plus-ico > i {
  width: 29px !important;
  height: 29px !important;
  color: #fff !important;
  stroke: #fff !important;
}
.plus-ico > svg * {
  stroke: #fff !important;
  color: #fff !important;
  fill: none !important;
}
.plus-item:active .plus-ico {
  background: #000 !important;
  border-color: #000 !important;
}
/* 面板里功能名保持浅灰,跟图 1 一致 */
.plus-item > span:last-child {
  color: #7a7f88 !important;
  font-size: 11px !important;
}

/* ---------- 2. 表情面板:抬高 ---------- */
/* 高度由 r174.js 按屏高动态设置,这里兜底 */
.jy-emoji-panel {
  display: flex !important;
  flex-direction: column !important;
  min-height: 38vh !important;
}
.jy-emoji-panel > .max-h-52 {
  max-height: none !important;
  min-height: 0 !important;
  flex: 1 1 auto !important;
}

/* ---------- 3. 扫一扫:顶部沉浸 ---------- */
.scan-page > .app-header {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #fff !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 8 !important;
  padding-top: calc(.35rem + env(safe-area-inset-top, 0px)) !important;
}
.scan-page > .app-header * {
  color: #fff !important;
  background-color: transparent !important;
  border-color: transparent !important;
}
.scan-page > .app-header svg {
  stroke: #fff !important;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .55));
}
