/* v157: Chat 2 tab + đoạn chat realtime + danh bạ người đang theo dõi */
.socialChatPage{position:fixed;inset:0;z-index:10055;display:none;flex-direction:column;background:#fff;color:#111;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.socialChatPage.is-open{display:flex}.socialChatPage__topbar{flex:0 0 auto;min-height:64px;padding:env(safe-area-inset-top) 8px 0;box-sizing:content-box;background:#fff;border-bottom:1px solid #eceff2;display:grid;grid-template-columns:44px 1fr 44px;align-items:end}.socialChatPage__back,.socialChatThread__top>button{width:44px;height:44px;border:0;background:transparent;color:inherit;padding:11px;display:grid;place-items:center}.socialChatPage__back svg,.socialChatThread__top>button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.socialChatPage__title{text-align:center;font-size:16px;font-weight:600;line-height:44px}.socialChatPage__spacer{width:44px;height:44px}
.socialChatTabs{flex:0 0 auto;display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:12px 20px;background:#fff;border-bottom:0}.socialChatTab{height:42px;border:1px solid #dfe2e6;border-radius:10px;background:#fff;color:#111;font-size:16px;font-weight:600}.socialChatTab.is-active{border-color:#c7e1f8;background:#eaf5ff;color:#0878d1}
.socialChatPage__body{flex:1 1 auto;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;background:#fff;padding:10px 0 24px}.socialChatSearch{margin:0 16px 8px;background:#f3f4f6;border:0;border-radius:10px;min-height:40px;padding:0 12px;display:flex;align-items:center;gap:8px}.socialChatSearch svg{width:18px;height:18px;fill:none;stroke:#747b85;stroke-width:2;stroke-linecap:round}.socialChatSearch input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:inherit;font:400 14px/1.2 inherit;padding:0}.socialChatSearch input::placeholder{color:#8a9099}.socialChatList{background:#fff}.socialChatRow{width:100%;min-height:68px;border:0;border-bottom:1px solid #f0f1f3;background:transparent;color:inherit;padding:8px 16px;display:flex;align-items:center;gap:12px;text-align:left}.socialChatRow:active{background:#f5f6f8}.socialChatRow__avatar,.socialChatThread__avatar{width:50px;height:50px;flex:0 0 50px;border-radius:50%;overflow:hidden;background:#e9edf2;display:grid;place-items:center;font-size:18px;font-weight:600;color:#68717d}.socialChatRow__avatar img,.socialChatThread__avatar img{width:100%;height:100%;object-fit:cover;display:block}.socialChatRow__main{flex:1;min-width:0}.socialChatRow__top{display:flex;align-items:center;gap:8px}.socialChatRow__top strong{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px;font-weight:600}.socialChatRow__top time{font-size:13px;font-weight:400;color:#8a9099}.socialChatRow__bottom{margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:400;color:#777f89}.socialChatRow__bottom.is-unread{font-weight:600;color:#222}.socialChatEmpty{min-height:250px;padding:38px 24px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.socialChatEmpty__icon{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:#f0f2f5;color:#59616c;margin-bottom:12px}.socialChatEmpty__icon svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.socialChatEmpty__title{font-size:16px;font-weight:600}.socialChatEmpty__text{margin-top:5px;color:#7b828c;font-size:14px;font-weight:400}.socialChatLoading{padding:35px;text-align:center;color:#8a9099;font-size:14px}
.socialChatThread{position:absolute;inset:0;z-index:2;display:none;flex-direction:column;background:#f3f4f6}.socialChatThread.is-open{display:flex}.socialChatThread__top{flex:0 0 auto;min-height:64px;padding:env(safe-area-inset-top) 8px 0;box-sizing:content-box;background:#fff;border-bottom:1px solid #eceff2;display:grid;grid-template-columns:44px 1fr 44px;align-items:end}.socialChatThread__peer{height:44px;display:flex;align-items:center;justify-content:center;gap:8px;min-width:0}.socialChatThread__peer .socialChatThread__avatar{width:32px;height:32px;flex-basis:32px;font-size:13px}.socialChatThread__peer strong{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px;font-weight:600}.socialChatThread__spacer{width:44px}.socialChatMessages{flex:1;min-height:0;overflow-y:auto;padding:14px 12px;-webkit-overflow-scrolling:touch;display:flex;flex-direction:column;gap:6px}.socialChatBubble{max-width:78%;padding:9px 11px 6px;border-radius:15px;font-size:16px;font-weight:400;line-height:1.3;word-break:break-word}.socialChatBubble time{display:block;margin-top:3px;font-size:11px;color:#7f8790;text-align:right}.socialChatBubble.is-mine{align-self:flex-end;background:#dff0ff;border-bottom-right-radius:5px}.socialChatBubble.is-peer{align-self:flex-start;background:#fff;border-bottom-left-radius:5px}.socialChatThreadEmpty{margin:auto;color:#8a9099;font-size:14px}.socialChatComposer{flex:0 0 auto;padding:8px 10px calc(8px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #eceff2;display:flex;align-items:flex-end;gap:8px}.socialChatComposer textarea{flex:1;min-height:40px;max-height:110px;resize:none;border:0;outline:0;border-radius:20px;background:#f1f3f5;padding:10px 14px;font:400 16px/20px inherit;color:inherit;box-sizing:border-box}.socialChatComposer button{width:40px;height:40px;border:0;background:transparent;color:#0878d1;padding:8px}.socialChatComposer button svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
html.bn-background-dark .socialChatPage,body.bn-background-dark .socialChatPage,html.bn-background-dark .socialChatPage__topbar,body.bn-background-dark .socialChatPage__topbar,html.bn-background-dark .socialChatTabs,body.bn-background-dark .socialChatTabs,html.bn-background-dark .socialChatPage__body,body.bn-background-dark .socialChatPage__body,html.bn-background-dark .socialChatList,body.bn-background-dark .socialChatList,html.bn-background-dark .socialChatThread__top,body.bn-background-dark .socialChatThread__top,html.bn-background-dark .socialChatComposer,body.bn-background-dark .socialChatComposer{background:#171717;color:#fff;border-color:rgba(255,255,255,.1)}html.bn-background-dark .socialChatThread,body.bn-background-dark .socialChatThread{background:#0d0d0d}html.bn-background-dark .socialChatTab,body.bn-background-dark .socialChatTab{background:#171717;color:#fff;border-color:#444}html.bn-background-dark .socialChatTab.is-active,body.bn-background-dark .socialChatTab.is-active{background:#102b40;color:#69baff;border-color:#398dce}html.bn-background-dark .socialChatSearch,body.bn-background-dark .socialChatSearch,html.bn-background-dark .socialChatComposer textarea,body.bn-background-dark .socialChatComposer textarea{background:#292929}html.bn-background-dark .socialChatRow,body.bn-background-dark .socialChatRow{border-color:rgba(255,255,255,.08)}html.bn-background-dark .socialChatBubble.is-peer,body.bn-background-dark .socialChatBubble.is-peer{background:#242424}html.bn-background-dark .socialChatBubble.is-mine,body.bn-background-dark .socialChatBubble.is-mine{background:#123b5c}

/* v159: khôi phục nguyên cụm Theo dõi + Chat ở Trang cá nhân đúng layout v156 */

/* v163: chat luôn mở mới ở đầu + composer 2 nút nằm trong ô nhập */
.socialChatComposer{display:block;padding:8px 10px calc(8px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #eceff2}
.socialChatComposer__field{min-height:44px;width:100%;border-radius:23px;background:#f1f3f5;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;overflow:hidden}
.socialChatComposer__field textarea{width:100%;min-width:0;min-height:44px;max-height:110px;resize:none;border:0;outline:0;background:transparent!important;border-radius:0;padding:12px 4px;font:400 16px/20px inherit;color:inherit;box-sizing:border-box}
.socialChatComposer__field button{width:44px;height:44px;border:0;padding:0;display:grid;place-items:center;background:transparent;box-sizing:border-box;-webkit-tap-highlight-color:transparent}
.socialChatComposer__add{color:#30343a}
.socialChatComposer__add svg{width:24px!important;height:24px!important;fill:none;stroke:currentColor;stroke-width:2!important;stroke-linecap:round;stroke-linejoin:round}
.socialChatComposer__send{justify-self:center;align-self:center;width:36px!important;height:36px!important;border-radius:50%!important;background:#1685f8!important;color:#fff!important}
.socialChatComposer__send svg{width:22px!important;height:22px!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important;stroke-linecap:round;stroke-linejoin:round}
.socialChatComposer__send:disabled{opacity:.5}
.socialChatAttachPreview{padding:0 2px 7px}
.socialChatAttachPreview__item{position:relative;width:70px;height:70px;border-radius:12px;overflow:visible}
.socialChatAttachPreview__item img{display:block;width:70px;height:70px;object-fit:cover;border-radius:12px}
.socialChatAttachPreview__item button{position:absolute;right:-7px;top:-7px;width:24px!important;height:24px!important;border-radius:50%;border:0;background:#50545a!important;color:#fff;font-size:19px;line-height:22px;padding:0!important;display:grid;place-items:center}
.socialChatBubble.has-image{padding:4px 4px 5px;overflow:hidden}.socialChatBubble.has-image>div{padding:5px 7px 1px}.socialChatBubble.has-image time{padding:0 5px 1px}.socialChatBubble__image{display:block;max-width:min(260px,68vw);max-height:340px;width:auto;height:auto;border-radius:12px;object-fit:cover}
html.bn-background-dark .socialChatComposer__field,body.bn-background-dark .socialChatComposer__field{background:#292929}html.bn-background-dark .socialChatComposer__add,body.bn-background-dark .socialChatComposer__add{color:#f2f2f2}

/* v164: ô nhập chat không đổi viền/màu khi focus */
.socialChatComposer__field,.socialChatComposer__field:focus,.socialChatComposer__field:focus-within{border:0!important;outline:0!important;box-shadow:none!important}
.socialChatComposer__field textarea,.socialChatComposer__field textarea:focus,.socialChatComposer__field textarea:focus-visible{border:0!important;outline:0!important;box-shadow:none!important;-webkit-appearance:none;appearance:none}

/* v165: chọn nhiều ảnh + lưới ảnh trong chat */
.socialChatAttachPreview__grid{display:flex;gap:8px;overflow-x:auto;padding:2px 1px 3px;-webkit-overflow-scrolling:touch}
.socialChatAttachPreview__item{flex:0 0 70px}
.socialChatBubble__grid{display:grid;gap:2px;overflow:hidden;border-radius:12px;max-width:min(292px,72vw)}
.socialChatBubble__photo{display:block;width:100%;height:100%;min-width:0;min-height:0;border:0!important;padding:0!important;margin:0;background:transparent!important;overflow:hidden;-webkit-tap-highlight-color:transparent}
.socialChatBubble__photo img{display:block;width:100%;height:100%;object-fit:cover}
.socialChatBubble__grid.count-1{grid-template-columns:1fr}.socialChatBubble__grid.count-1 .socialChatBubble__photo{aspect-ratio:4/3;max-height:340px}
.socialChatBubble__grid.count-2{grid-template-columns:repeat(2,1fr)}.socialChatBubble__grid.count-2 .socialChatBubble__photo{aspect-ratio:1/1}
.socialChatBubble__grid.count-3{grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,110px)}.socialChatBubble__grid.count-3 .socialChatBubble__photo:first-child{grid-row:1/3}
.socialChatBubble__grid.count-4{grid-template-columns:repeat(2,1fr)}.socialChatBubble__grid.count-4 .socialChatBubble__photo{aspect-ratio:1/1}
.socialChatBubble__grid.count-5,.socialChatBubble__grid.count-6{grid-template-columns:repeat(3,1fr)}.socialChatBubble__grid.count-5 .socialChatBubble__photo,.socialChatBubble__grid.count-6 .socialChatBubble__photo{aspect-ratio:1/1}
.socialChatBubble__grid:not(.count-1):not(.count-2):not(.count-3):not(.count-4):not(.count-5):not(.count-6){grid-template-columns:repeat(3,1fr)}
.socialChatBubble__grid:not(.count-1):not(.count-2):not(.count-3):not(.count-4):not(.count-5):not(.count-6) .socialChatBubble__photo{aspect-ratio:1/1}
.socialChatBubble.has-image{max-width:76%;padding:4px 4px 5px}
.socialChatBubble__text{padding:6px 7px 1px!important}

/* v167: ảnh chat hiện ngay khi bấm Gửi + spinner làm mới của app trong lúc upload */
.socialChatBubble__grid.is-pending{position:relative;background:#e9ecef}
.socialChatBubble.is-pending{opacity:1}
.socialChatBubble__grid.is-pending .socialChatBubble__photo img{opacity:.82}
.socialChatPendingSpinner.refreshIndicator__spinner{position:absolute;left:50%;top:50%;z-index:3;width:18px;height:18px;margin:-11px 0 0 -11px;padding:0;border:2px solid rgba(0,0,0,.14);border-top-color:#ff2f86;border-radius:999px;background:rgba(255,255,255,.9);box-shadow:0 2px 8px rgba(0,0,0,.12);box-sizing:content-box;pointer-events:none}
.socialChatBubble.is-pending time{opacity:.65}


/* v168: tin nhắn không co cụm + lưới ảnh cố định */
.socialChatMessages{align-items:stretch;justify-content:flex-start}
.socialChatBubble{flex:0 0 auto;min-height:min-content}
.socialChatThreadEmpty{flex:0 0 auto;margin:auto}
.socialChatBubble.has-image{width:min(292px,76vw);max-width:min(292px,76vw);box-sizing:border-box}
.socialChatBubble__grid{width:100%;max-width:none;min-width:0}
.socialChatBubble__grid.count-1{grid-template-columns:1fr;grid-template-rows:216px}
.socialChatBubble__grid.count-1 .socialChatBubble__photo{aspect-ratio:auto;max-height:none}
.socialChatBubble__grid.count-2{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:143px}
.socialChatBubble__grid.count-2 .socialChatBubble__photo{aspect-ratio:auto}
.socialChatBubble__grid.count-3{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,110px)}
.socialChatBubble__grid.count-4{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,143px)}
.socialChatBubble__grid.count-4 .socialChatBubble__photo{aspect-ratio:auto}
.socialChatBubble__grid.count-5,.socialChatBubble__grid.count-6{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:94px}
.socialChatBubble__grid.count-5 .socialChatBubble__photo,.socialChatBubble__grid.count-6 .socialChatBubble__photo{aspect-ratio:auto}
@media(max-width:390px){.socialChatBubble.has-image{width:min(276px,76vw);max-width:min(276px,76vw)}.socialChatBubble__grid.count-1{grid-template-rows:204px}.socialChatBubble__grid.count-2{grid-template-rows:135px}.socialChatBubble__grid.count-4{grid-template-rows:repeat(2,135px)}.socialChatBubble__grid.count-5,.socialChatBubble__grid.count-6{grid-auto-rows:89px}}

/* v169: mốc ngày giữa các nhóm tin + trạng thái đã xem */
.socialChatDayMarker{flex:0 0 auto;align-self:center;margin:8px auto 6px;padding:5px 11px;border-radius:999px;background:rgba(120,128,138,.18);color:#717983;font-size:12px;font-weight:500;line-height:1.2;text-align:center;white-space:nowrap}
.socialChatSeen{flex:0 0 auto;align-self:flex-end;margin:-2px 5px 2px 0;color:#7f8790;font-size:11px;font-weight:400;line-height:1.2}
html.bn-background-dark .socialChatDayMarker,body.bn-background-dark .socialChatDayMarker{background:rgba(255,255,255,.12);color:#c8cdd3}
html.bn-background-dark .socialChatSeen,body.bn-background-dark .socialChatSeen{color:#9da4ad}


/* v170: preview đoạn chat + số đỏ chưa xem */
.socialChatRow__bottomLine{display:flex;align-items:center;gap:8px;min-width:0;margin-top:3px}
.socialChatRow__bottomLine .socialChatRow__bottom{flex:1;min-width:0;margin-top:0}
.socialChatRow__unread{flex:0 0 auto;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#e53935;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:600;line-height:20px;box-sizing:border-box}


/* v177: Tin nhắn luôn chừa thanh dưới hiện tại */
html.bn-bottom-bar-active .socialChatPage,
body.bn-bottom-bar-active .socialChatPage{bottom:calc(51px + env(safe-area-inset-bottom));overscroll-behavior-x:none;touch-action:pan-y}
html.bn-bottom-bar-active .socialChatComposer,
body.bn-bottom-bar-active .socialChatComposer{padding-bottom:8px}

/* Chỉ ở chế độ tắt Kho lưu trữ BĐS: Tin nhắn là trang gốc của thanh dưới nên không có nút Back */
html.bn-real-estate-storage-off .socialChatPage__back,
body.bn-real-estate-storage-off .socialChatPage__back{visibility:hidden!important;pointer-events:none!important}


/* v188: thanh chat gọn bằng Bảng tin + ẩn thanh dưới chỉ khi đã vào cuộc chat */
.socialChatPage__topbar,.socialChatThread__top{
  min-height:calc(42px + env(safe-area-inset-top));
  padding:env(safe-area-inset-top) 8px 0;
  box-sizing:border-box;
  align-items:center;
}
.socialChatThread__top{grid-template-columns:44px minmax(0,1fr) 44px}
.socialChatThread__top>button{align-self:center;justify-self:center}
.socialChatThread__peer{height:44px;align-self:center;justify-self:center;transform:none}
.socialChatThread__peer .socialChatThread__avatar{width:32px;height:32px;flex:0 0 32px}
.socialChatThread__call{width:44px;height:44px;border:0;background:transparent;color:inherit;padding:11px;display:grid;place-items:center}
.socialChatThread__call svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
html.bn-bottom-bar-active.social-chat-thread-open .bn-bottom-bar,
body.bn-bottom-bar-active.social-chat-thread-open .bn-bottom-bar{display:flex!important}
html.bn-bottom-bar-active.social-chat-thread-open .socialChatPage,
body.bn-bottom-bar-active.social-chat-thread-open .socialChatPage{bottom:calc(51px + env(safe-area-inset-bottom))!important}
html.bn-bottom-bar-active.social-chat-thread-open .socialChatComposer,
body.bn-bottom-bar-active.social-chat-thread-open .socialChatComposer{padding-bottom:8px}

/* v269: Tin nhan - bo duong gach duoi cum tab va thu thanh tren bang dung Bang tin v187 */
.socialChatPage__topbar{
  min-height:calc(42px + env(safe-area-inset-top));
}
.socialChatPage__back,.socialChatPage__spacer{
  width:36px;
  height:36px;
}
.socialChatPage__back{padding:7px}
.socialChatPage__title{line-height:36px}
.socialChatTabs{border-bottom:0}

/* v189: Thu thanh tren khung chat bang dung thanh tren Bang tin v187 */
.socialChatThread__top{
  min-height:calc(42px + env(safe-area-inset-top));
  padding:env(safe-area-inset-top) 8px 0;
  box-sizing:border-box;
  grid-template-columns:36px minmax(0,1fr) 36px;
  align-items:center;
}
.socialChatThread__top>button,
.socialChatThread__call{
  width:36px;
  height:36px;
  padding:7px;
}
.socialChatThread__peer{
  height:36px;
  align-self:center;
  justify-self:center;
}
.socialChatThread__spacer{width:36px}

/* v190: visual viewport cua khung chat duoc dong bo bang JS de thanh tren luon co dinh khi ban phim mo */

/* v202: su kien cuoc goi trong khung chat */
.socialChatCallEvent{display:flex;align-items:center;gap:9px;max-width:78%;margin:4px 0;padding:9px 12px;border-radius:14px;background:rgba(127,135,144,.12);color:inherit;font-size:14px;line-height:1.25}.socialChatCallEvent.is-mine{align-self:flex-end;border-bottom-right-radius:5px}.socialChatCallEvent.is-peer{align-self:flex-start;border-bottom-left-radius:5px}.socialChatCallEvent__icon{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(8,120,209,.12)}.socialChatCallEvent__icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.socialChatCallEvent__body{min-width:0}.socialChatCallEvent__body strong{display:block;font-size:14px;font-weight:500}.socialChatCallEvent__duration{display:block;margin-top:2px;font-size:13px;font-weight:400;color:inherit}.socialChatCallEvent__endReason{display:block;margin-top:2px;font-size:13px;font-weight:400;color:#7f8790}.socialChatCallEvent time{display:block;margin-top:2px;font-size:11px;color:#7f8790}.socialChatCallEvent.is-missed .socialChatCallEvent__body strong{color:#d33}.socialChatCallEvent.is-missed .socialChatCallEvent__icon{background:rgba(211,51,51,.1);color:#d33}html.bn-background-dark .socialChatCallEvent,body.bn-background-dark .socialChatCallEvent{background:rgba(255,255,255,.08)}

/* v215: khung chat kín lớp; chỉ nâng NỘI DUNG tin nhắn khi bàn phím mở */
html.social-chat-thread-open,
body.social-chat-thread-open{
  overflow:hidden!important;
  overscroll-behavior:none!important;
}
.socialChatPage,
.socialChatThread{
  overflow:hidden!important;
  overscroll-behavior:none!important;
  background-clip:padding-box;
}
.socialChatPage{
  position:fixed!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
}
.socialChatThread{
  position:absolute!important;
  inset:0!important;
  width:100%;
  height:100%;
  min-height:0;
  --chat-keyboard-inset:0px;
  --chat-composer-height:60px;
}
.socialChatMessages{
  min-height:0!important;
  overflow-y:auto!important;
  overscroll-behavior-y:contain!important;
  overscroll-behavior-x:none!important;
  touch-action:pan-y;
  padding-bottom:calc(14px + var(--chat-composer-height) + var(--chat-keyboard-inset))!important;
  box-sizing:border-box;
}
.socialChatComposer{
  position:absolute!important;
  left:0;
  right:0;
  bottom:var(--chat-keyboard-inset)!important;
  z-index:3;
  flex-shrink:0!important;
}



/* v218: Tin nhan luon hien thanh duoi, ca bat/tat Kho luu tru va ca trong cuoc chat */
html.bn-bottom-bar-active .socialChatPage,body.bn-bottom-bar-active .socialChatPage{inset:0 0 calc(51px + env(safe-area-inset-bottom)) 0!important;height:auto!important}
html.bn-bottom-bar-active .bn-bottom-bar,body.bn-bottom-bar-active .bn-bottom-bar{display:flex!important}


/* v267: khóa cử chỉ vuốt ngang quay về trong toàn bộ Tin nhắn; chỉ cho phép cuộn dọc. */
.socialChatPage,
.socialChatThread,
.socialChatPage__body,
.socialChatMessages{
  overscroll-behavior-x:none!important;
  touch-action:pan-y!important;
}

/* v272: placeholder 12px, chu nhap 16px; bo hoan toan focus/tap ring xanh o 2 o tim kiem Tin nhan */
.socialChatSearch,
.socialChatSearch:focus,
.socialChatSearch:focus-visible,
.socialChatSearch:focus-within,
.socialChatSearch:active{
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  -webkit-tap-highlight-color:transparent!important;
}
.socialChatSearch input,
.socialChatSearch input:hover,
.socialChatSearch input:focus,
.socialChatSearch input:focus-visible,
.socialChatSearch input:focus-within,
.socialChatSearch input:active{
  font-size:16px!important;
  border:0!important;
  border-color:transparent!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
  -webkit-appearance:none!important;
  appearance:none!important;
  -webkit-tap-highlight-color:transparent!important;
}
.socialChatSearch input::placeholder{
  font-size:12px!important;
}
.socialChatSearch input::-webkit-search-decoration,
.socialChatSearch input::-webkit-search-cancel-button,
.socialChatSearch input::-webkit-search-results-button,
.socialChatSearch input::-webkit-search-results-decoration{
  -webkit-appearance:none;
}

/* v275: tim kiem Tin nhắn - focus do rule toàn app được loại trừ tại index; giữ CSS gọn tại component. */
.socialChatRow[hidden]{display:none!important}
