/* SP v25: Tường nhà chung toàn hệ thống */
#wallFeaturePage{
  position:fixed;
  inset:0 0 calc(51px + env(safe-area-inset-bottom)) 0;
  z-index:10010;
  display:none;
  flex-direction:column;
  background:#f3f4f6;
  color:#111;
  overflow:hidden;
}
#wallFeaturePage.is-open{display:flex}
.wallTopbar{
  flex:0 0 auto;
  min-height:calc(58px + env(safe-area-inset-top));
  padding:env(safe-area-inset-top) 16px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:#fff;
  border-bottom:1px solid rgba(0,0,0,.10);
  box-sizing:border-box;
}
.wallTopbar__search,.wallTopbar__action{border:0;background:transparent;color:inherit;padding:0;display:flex;align-items:center;font:inherit}
.wallTopbar__search{gap:8px;min-height:44px;font-size:18px;font-weight:500;flex:1 1 auto;min-width:0;box-sizing:border-box}
.wallTopbar__search svg{width:28px;height:28px;fill:currentColor;flex:0 0 auto}
.wallTopbar__actions{flex:0 0 132px;width:132px;display:grid;grid-template-columns:repeat(3,44px);align-items:center;justify-content:end;margin-left:6px}
.wallTopbar__action{width:44px;height:44px;justify-content:center;box-sizing:border-box}
.wallTopbar__action svg{width:22px;height:22px;display:block;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.wallSearchPanel{display:none;flex:0 0 auto;background:#fff;border-bottom:1px solid rgba(0,0,0,.08);padding:8px 12px}
.wallSearchPanel.is-open{display:block}
.wallSearchPanel__box{height:42px;border-radius:10px;background:#f0f1f3;display:flex;align-items:center;padding:0 10px;gap:8px}
.wallSearchPanel__box input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:inherit;font:inherit;font-size:16px}
.wallSearchPanel__box button{border:0;background:transparent;color:#1685f8;font:inherit;font-weight:600;padding:7px 2px}
.wallScroll{
  flex:1 1 auto;
  min-height:0;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-y:contain;
  padding:12px 0 22px;
}
.wallComposer{background:#fff;border-top:1px solid rgba(0,0,0,.06);border-bottom:1px solid rgba(0,0,0,.06)}
.wallComposer{padding:14px 16px 12px;margin-bottom:10px}
.wallComposer__main{display:flex;align-items:center;gap:12px}
.wallAvatar{
  width:48px;height:48px;flex:0 0 48px;border-radius:50%;overflow:hidden;
  background:#e6e8eb;display:flex;align-items:center;justify-content:center;color:#777
}
.wallAvatar img{width:100%;height:100%;object-fit:cover;display:block}
.wallAvatar svg{width:31px;height:31px;fill:#aeb4bc}
.wallComposer__prompt{
  border:0;background:transparent;flex:1;min-width:0;text-align:left;padding:10px 0;
  font:inherit;font-size:19px;font-weight:500;color:#666;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.wallComposer__actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;margin:12px 0 0 60px}
.wallPhotoBtn{
  border:0;background:#eef0f2;border-radius:18px;min-height:34px;padding:0 10px;
  display:inline-flex;align-items:center;gap:6px;width:max-content;font:inherit;font-size:15px;font-weight:600;color:#111
}
.wallPhotoBtn svg{width:19px;height:19px;fill:#22b573}
.wallSelectedCount{font-size:13px;color:#6b7280;font-weight:500}
.wallDraft{display:none;margin-top:12px}
.wallDraft.is-open{display:block}
.wallDraft textarea{
  width:100%;min-height:108px;height:auto;resize:none;box-sizing:border-box;
  border:1px solid #d6d6d8;border-radius:10px;outline:0;overflow-y:hidden;
  background:#fff;color:inherit;font:inherit;font-size:18px;line-height:1.45;padding:10px 12px
}
.wallDraft textarea:focus{
  border-color:#b8b8bc;
}
html.bn-background-dark .wallDraft textarea,body.bn-background-dark .wallDraft textarea{
  background:#292929;border-color:rgba(255,255,255,.16);color:#f5f5f5;
}
.wallDraft__preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:4px 0 10px}
.wallDraft__preview:empty{display:none}
.wallDraft__previewItem{position:relative;aspect-ratio:1/1;border-radius:9px;overflow:hidden;background:#eee}
.wallDraft__previewItem img{width:100%;height:100%;object-fit:cover;display:block}
.wallDraft__remove{position:absolute;right:5px;top:5px;width:26px;height:26px;border:0;border-radius:50%;background:rgba(0,0,0,.64);color:#fff;font-size:18px;line-height:26px;padding:0}
.wallDraft__bottom{display:flex;justify-content:flex-end;gap:9px;border-top:1px solid rgba(0,0,0,.08);padding-top:10px}
.wallDraft__btn{border:0;border-radius:10px;min-height:40px;padding:0 16px;font:inherit;font-weight:600}
.wallDraft__btn--cancel{background:#eef0f2;color:#222}
.wallDraft__btn--post{background:#1685f8;color:#fff;min-width:88px}
.wallDraft__btn:disabled{opacity:.55}
.wallFeed{display:flex;flex-direction:column;gap:10px}














































.wallEmpty,.wallLoading,.wallError{padding:34px 18px;text-align:center;color:#6b7280;font-size:15px}
.wallError{color:#b42318}
html.bn-background-dark #wallFeaturePage,body.bn-background-dark #wallFeaturePage{background:#0d0d0d;color:#fff}
html.bn-background-dark .wallTopbar,body.bn-background-dark .wallTopbar,html.bn-background-dark .wallSearchPanel,body.bn-background-dark .wallSearchPanel,html.bn-background-dark .wallComposer,body.bn-background-dark .wallComposer{background:#171717;border-color:rgba(255,255,255,.10)}
html.bn-background-dark .wallComposer__prompt,body.bn-background-dark .wallComposer__prompt{color:#aaa}
html.bn-background-dark .wallSearchPanel__box,body.bn-background-dark .wallSearchPanel__box{background:#292929}
html.bn-background-dark .wallPhotoBtn,body.bn-background-dark .wallPhotoBtn,html.bn-background-dark .wallDraft__btn--cancel,body.bn-background-dark .wallDraft__btn--cancel{background:#292929;color:#fff}
html.bn-background-dark .wallDraft__bottom,body.bn-background-dark .wallDraft__bottom{border-color:rgba(255,255,255,.10)}



@media (min-width:701px){
  .wallScroll{width:min(720px,100%);margin:0 auto}
  #wallFeaturePage{background:#eceef1}
  html.bn-background-dark #wallFeaturePage,body.bn-background-dark #wallFeaturePage{background:#090909}
}

/* v33: địa chỉ bắt buộc khi đăng Tường nhà */
.wallDraft__location{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:2px 0 12px}
.wallDraft__field{display:flex;flex-direction:column;gap:6px;min-width:0}
.wallDraft__field>span{font-size:13px;font-weight:600;color:#6b7280}
.wallDraft__field select{width:100%;height:43px;border:1px solid rgba(0,0,0,.12);border-radius:10px;background:#fff;color:#111;padding:0 34px 0 10px;font:inherit;font-size:15px;outline:0;box-sizing:border-box}
.wallDraft__field select:disabled{opacity:.55;background:#f3f4f6}

html.bn-background-dark .wallDraft__field>span,body.bn-background-dark .wallDraft__field>span{color:#aaa}
html.bn-background-dark .wallDraft__field select,body.bn-background-dark .wallDraft__field select{background:#242424;color:#fff;border-color:rgba(255,255,255,.14)}
html.bn-background-dark .wallDraft__field select:disabled,body.bn-background-dark .wallDraft__field select:disabled{background:#1d1d1d}

@media (max-width:430px){.wallDraft__location{grid-template-columns:1fr}}
























/* SP v37: bình luận tự bung, 5 dòng + xem thêm, like bình luận */












/* SP v38: trạng thái like bền vững, số bình luận, trả lời bình luận */




/* SP v42: bộ đếm thích + tương tác đầy đủ trong trang chi tiết */







.wallSearchPanel__filters{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}
.wallSearchPanel__filters select{width:100%;min-width:0;height:40px;border:1px solid rgba(0,0,0,.12);border-radius:9px;background:#fff;color:inherit;padding:0 30px 0 10px;font:inherit;font-size:14px;outline:0}
.wallSearchPanel__filters select:disabled{opacity:.55}
html.bn-background-dark .wallSearchPanel__filters select,body.bn-background-dark .wallSearchPanel__filters select{background:#292929;border-color:rgba(255,255,255,.13);color:#f5f5f5}


/* v64: Tỉnh/TP Tường nhà dùng đúng kiểu nút + popup của Tạo bài */
.wallLocationTrigger{
  width:100%;
  min-height:40px;
  margin:0;
  padding:7px 36px 7px 10px;
  border:1px solid #d6d6d8;
  border-radius:10px;
  background:#fff;
  color:#111;
  font:500 14px/21px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  text-align:left;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  position:relative;
  -webkit-appearance:none;
  appearance:none;
}
.wallLocationTrigger::after{
  content:"";
  position:absolute;
  right:12px;
  top:50%;
  width:0;
  height:0;
  border-left:5px solid transparent;
  border-right:5px solid transparent;
  border-top:7px solid #777;
  transform:translateY(-35%);
  pointer-events:none;
}
.wallLocationTrigger.is-empty{color:#8e8e93}
.wallSearchPanel__filters .wallLocationTrigger{height:40px}
.wallLocationPicker{z-index:2147483646}
html.bn-background-dark .wallLocationTrigger,body.bn-background-dark .wallLocationTrigger{
  background:#292929;
  border-color:rgba(255,255,255,.13);
  color:#f5f5f5;
}
html.bn-background-dark .wallLocationTrigger.is-empty,body.bn-background-dark .wallLocationTrigger.is-empty{color:#9a9aa0}


/* v65: Tỉnh/TP và Quận/Huyện cùng cỡ chữ, màu chữ và popup */
.wallLocationTrigger,.wallSearchPanel__filters .wallLocationTrigger{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif !important;
  font-size:14px !important;
  font-weight:500 !important;
  line-height:21px !important;
  color:#111 !important;
}
.wallLocationTrigger.is-empty,.wallSearchPanel__filters .wallLocationTrigger.is-empty{
  color:#8e8e93 !important;
}
html.bn-background-dark .wallLocationTrigger,body.bn-background-dark .wallLocationTrigger,html.bn-background-dark .wallSearchPanel__filters .wallLocationTrigger,body.bn-background-dark .wallSearchPanel__filters .wallLocationTrigger{
  color:#f5f5f5 !important;
}
html.bn-background-dark .wallLocationTrigger.is-empty,body.bn-background-dark .wallLocationTrigger.is-empty,html.bn-background-dark .wallSearchPanel__filters .wallLocationTrigger.is-empty,body.bn-background-dark .wallSearchPanel__filters .wallLocationTrigger.is-empty{
  color:#9a9aa0 !important;
}

/* v67: tab Địa chỉ cũ / Địa chỉ mới giống Tạo bài */
.wallAddressModeTabs{display:flex;gap:8px;padding:2px 0 10px}
.wallAddressModeTabs--search{padding:0 0 8px}
.wallAddressModeTabs .newCreatePicker__tab{flex:1 1 0;min-width:0}


/* v71: ẩn tab địa chỉ bên ngoài, chỉ giữ tab trong popup */
#wallDraftAddressTabs,#wallSearchAddressTabs{
  display:none !important;
}

/* Cho danh sách popup kéo vượt vùng thanh điều hướng dưới */
.wallLocationPicker .newCreatePicker__list{
  padding-bottom:calc(110px + env(safe-area-inset-bottom) + var(--new-create-keyboard-height, 0px)) !important;
  scroll-padding-bottom:calc(120px + env(safe-area-inset-bottom) + var(--new-create-keyboard-height, 0px)) !important;
}

/* Giữ vùng cuộn popup ổn định trên iPhone/PWA */
.wallLocationPicker .newCreatePicker__sheet{
  max-height:calc(100dvh - 12px);
}


/* v72: popup đổi màu tab ngay khi chuyển Địa chỉ cũ / mới */
.wallLocationPicker .newCreatePicker__tab{
  transition:background-color .12s ease,color .12s ease,border-color .12s ease;
}
.wallLocationPicker .newCreatePicker__tab.is-active{
  background:#111 !important;
  color:#fff !important;
  border-color:#111 !important;
}
.wallLocationPicker .newCreatePicker__tab:not(.is-active){
  background:#fff !important;
  color:#111 !important;
}
html.bn-background-dark .wallLocationPicker .newCreatePicker__tab:not(.is-active),body.bn-background-dark .wallLocationPicker .newCreatePicker__tab:not(.is-active){
  background:#292929 !important;
  color:#f5f5f5 !important;
}


/* v73: khu vực hiển thị */
.wallSearchAreaLabel{
  margin:9px 2px 5px;
  font-size:14px;
  font-weight:600;
  color:#5f6368;
}
.wallLocationNeedProvince{
  padding:28px 16px 34px !important;
  text-align:center;
  font-size:15px;
  font-weight:500;
}
html.bn-background-dark .wallSearchAreaLabel,body.bn-background-dark .wallSearchAreaLabel{
  color:#b8b8bd;
}

/* v85: tách đăng Tường nhà thành màn hình full-screen kiểu nhật ký */
.wallComposePage{
  position:absolute;
  inset:0;
  z-index:8;
  display:none;
  flex-direction:column;
  background:#fff;
  color:#111;
  overflow:hidden;
}
.wallComposePage.is-open{display:flex}
.wallComposePage__topbar{
  flex:0 0 auto;
  min-height:calc(58px + env(safe-area-inset-top));
  padding:env(safe-area-inset-top) 14px 0;
  display:grid;
  grid-template-columns:48px minmax(0,1fr) auto;
  align-items:center;
  border-bottom:1px solid rgba(0,0,0,.10);
  background:#fff;
  box-sizing:border-box;
}
.wallComposePage__close{
  width:44px;height:44px;border:0;background:transparent;color:#555;
  padding:0;font:300 42px/40px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  display:flex;align-items:center;justify-content:flex-start;
}
.wallComposePage__audience{min-width:0;text-align:left;padding-left:2px}
.wallComposePage__title{font-size:18px;font-weight:600;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wallComposePage__subtitle{font-size:13px;font-weight:500;color:#8a8f98;line-height:1.2;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wallComposePage__post{
  justify-self:end;border:0;border-radius:18px;min-width:58px;height:34px;padding:0 13px;white-space:nowrap;
  background:#1685f8;color:#fff;font:650 15px/34px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.wallComposePage__post:disabled{opacity:.55}
.wallComposePage__scroll{
  flex:1 1 auto;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;
  padding:0 16px calc(18px + env(safe-area-inset-bottom));
}
.wallComposePage .wallDraft{display:block;margin:0;min-height:100%;padding:0}
.wallComposePage .wallDraft textarea{
  display:block;width:100%;min-height:220px;height:auto;margin:0;padding:22px 0 14px;
  border:0;border-radius:0;background:transparent;box-shadow:none;
  font-size:20px;line-height:1.5;font-weight:400;
}
.wallComposePage .wallDraft textarea:focus{border:0;outline:0}
.wallComposePage .wallDraft__location{
  grid-template-columns:1fr 1fr;gap:10px;margin:8px 0 14px;padding-top:12px;
  border-top:1px solid rgba(0,0,0,.08)
}
.wallComposePage .wallDraft__preview{
  grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;margin:0 0 12px
}
.wallComposePage .wallDraft__previewItem{border-radius:4px}
.wallComposePage__mediaBar{
  position:static;display:flex;align-items:center;gap:10px;
  min-height:54px;margin:0 -16px;padding:0 16px calc(env(safe-area-inset-bottom) * .15);
  border-top:1px solid rgba(0,0,0,.08);background:#fff;
}
.wallComposePage__mediaBtn{
  border:0;background:transparent;color:#1685f8;min-height:44px;padding:0 8px 0 0;
  display:inline-flex;align-items:center;gap:7px;font:600 16px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.wallComposePage__mediaBtn svg{width:26px;height:26px;fill:#1685f8}
.wallComposePage .wallSelectedCount{font-size:14px;color:#7b8088}
html.bn-background-dark .wallComposePage,body.bn-background-dark .wallComposePage,html.bn-background-dark .wallComposePage__topbar,body.bn-background-dark .wallComposePage__topbar,html.bn-background-dark .wallComposePage__mediaBar,body.bn-background-dark .wallComposePage__mediaBar{background:#171717;color:#fff;border-color:rgba(255,255,255,.10)}
html.bn-background-dark .wallComposePage__subtitle,body.bn-background-dark .wallComposePage__subtitle{color:#aaa}
html.bn-background-dark .wallComposePage__close,body.bn-background-dark .wallComposePage__close{color:#ddd}
html.bn-background-dark .wallComposePage .wallDraft__location,body.bn-background-dark .wallComposePage .wallDraft__location{border-color:rgba(255,255,255,.10)}
@media (max-width:430px){.wallComposePage .wallDraft__location{grid-template-columns:1fr}}
#wallFeaturePage.is-composing{inset:0}


/* v86: tinh gọn màn đăng Tường nhà theo giao diện app */
/* 1) Ẩn nút Ảnh ngoài feed, chỉ giữ nút bên trong màn đăng */
.wallComposer__actions{display:none!important}

/* 2) Nút trở lại dùng đúng mẫu nút Trở lại sẵn có của app */
.wallComposePage__close.iconbtn.iconbtn--big{
  justify-self:start!important;
  width:48px!important;
  height:48px!important;
  min-width:48px!important;
  padding:0!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:0!important;
  background:transparent!important;
  color:inherit!important;
  border-radius:18px!important;
}

/* 3) Đưa hai ô khu vực lên cao hơn để luôn thấy trọn trên màn hình nhỏ */
.wallComposePage .wallDraft textarea{
  min-height:150px!important;
  padding-top:18px!important;
  padding-bottom:10px!important;
}
.wallComposePage .wallDraft__location{
  margin-top:2px!important;
  padding-top:10px!important;
}

/* Không để iOS/Chrome tạo viền xanh khi chạm hoặc focus hai ô khu vực */
.wallComposePage .wallLocationTrigger,.wallComposePage .wallLocationTrigger:focus,.wallComposePage .wallLocationTrigger:focus-visible,.wallComposePage .wallLocationTrigger:active{
  outline:none!important;
  box-shadow:none!important;
  -webkit-tap-highlight-color:transparent!important;
}

/* 4) Nút Ảnh trong màn đăng dùng đúng mẫu ngoài feed và nằm bên phải */
.wallComposePage__mediaBar{
  justify-content:flex-end!important;
  gap:8px!important;
}
.wallComposePage__photoBtn.wallPhotoBtn{
  border:0!important;
  background:#eef0f2!important;
  border-radius:18px!important;
  min-height:34px!important;
  padding:0 10px!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  width:max-content!important;
  color:#111!important;
  font:inherit!important;
  font-size:15px!important;
  font-weight:600!important;
  -webkit-tap-highlight-color:transparent!important;
}
.wallComposePage__photoBtn.wallPhotoBtn svg{
  width:19px!important;
  height:19px!important;
  fill:#22b573!important;
}
.wallComposePage__mediaBar .wallSelectedCount{order:-1}
html.bn-background-dark .wallComposePage__photoBtn.wallPhotoBtn,body.bn-background-dark .wallComposePage__photoBtn.wallPhotoBtn{
  background:#292929!important;
  color:#fff!important;
}

@media (max-height:720px){
  .wallComposePage .wallDraft textarea{min-height:110px!important}
}

/* v87: ô nhập nội dung Tường nhà có viền rõ, không đổi màu xanh khi focus */
.wallComposePage .wallDraft textarea{
  margin-top:14px!important;
  min-height:150px!important;
  padding:18px 14px 14px!important;
  border:1.5px solid #1f1f1f!important;
  border-radius:0!important;
  background:#fff!important;
  box-shadow:none!important;
  outline:none!important;
  -webkit-appearance:none!important;
  -webkit-tap-highlight-color:transparent!important;
  box-sizing:border-box!important;
}
.wallComposePage .wallDraft textarea:focus,.wallComposePage .wallDraft textarea:focus-visible,.wallComposePage .wallDraft textarea:active{
  border:1.5px solid #1f1f1f!important;
  outline:none!important;
  box-shadow:none!important;
}
html.bn-background-dark .wallComposePage .wallDraft textarea,body.bn-background-dark .wallComposePage .wallDraft textarea{
  background:#171717!important;
  color:#f5f5f5!important;
  border-color:#d8d8d8!important;
}
@media (max-height:720px){
  .wallComposePage .wallDraft textarea{min-height:110px!important}
}

/* v88: làm viền ô nhập cùng tông với ô Tỉnh/Thành phố và bỏ đường ngang dư bên dưới */
.wallComposePage .wallDraft textarea,.wallComposePage .wallDraft textarea:focus,.wallComposePage .wallDraft textarea:focus-visible,.wallComposePage .wallDraft textarea:active{
  border:1px solid #d6d6d8!important;
  outline:none!important;
  box-shadow:none!important;
}
.wallComposePage .wallDraft__location{
  border-top:0!important;
}

/* v89: chữ ô nhập Tường nhà bằng cỡ chữ nội dung nhật ký */
.wallComposePage .wallDraft textarea,.wallComposePage .wallDraft textarea::placeholder{
  font-size:16px!important;
  line-height:1.45!important;
  font-weight:400!important;
}

/* v119: khóa đúng typography tên người đăng ở card Bảng tin */
#wallFeaturePage #wallFeed .wallPost__name{
  font-size:16px!important;
  font-weight:500!important;
  line-height:1.2!important;
}

/* v121: tên người đăng trên Bảng tin */
#wallFeaturePage #wallFeed .wallPost__head .wallPost__name{
  font-size:16px!important;
  font-weight:500!important;
  line-height:1.2!important;
}

/* SP v123: avatar bình luận + mở Trang cá nhân bằng cùng lõi Bảng tin */







/* v127: popup người thích giữ chiều cao ổn định, cao hơn 50px và tự tăng theo danh sách */






















/* v129: nút Ảnh nằm trong luồng nội dung, cuộn theo trang; chừa đáy để thanh dưới không che */
html.bn-bottom-bar-active #wallFeaturePage.is-composing .wallComposePage__scroll,body.bn-bottom-bar-active #wallFeaturePage.is-composing .wallComposePage__scroll{
  padding-bottom:calc(72px + env(safe-area-inset-bottom))!important;
  scroll-padding-bottom:calc(72px + env(safe-area-inset-bottom))!important;
}




/* v170: số tin nhắn chưa xem trên icon Chat, cùng kiểu badge chuông */
.wallTopbar__chat{position:relative}
.wallChatBadge{position:absolute;top:2px;right:0;min-width:20px;height:18px;padding:0 5px;border-radius:999px;background:#e53935;color:#fff;font-size:11px;font-weight:600;line-height:18px;text-align:center;display:none;align-items:center;justify-content:center;box-sizing:border-box;border:2px solid #fff}

/* v175: PostSocialCore owns shared post UI outside WallFeature. */


/* v178: chế độ không dùng Kho lưu trữ BĐS đã có Tin nhắn ở thanh dưới.
   Ẩn Chat trên Bảng tin và thu đúng vùng hành động còn 2 cột để Tạo bài + Thông báo cân lại. */
html.bn-real-estate-storage-off #wallChatBtn,
body.bn-real-estate-storage-off #wallChatBtn{display:none!important}
html.bn-real-estate-storage-off .wallTopbar__actions,
body.bn-real-estate-storage-off .wallTopbar__actions{
  flex-basis:88px;
  width:88px;
  grid-template-columns:repeat(2,44px);
}

/* ===== v185: Bảng tin sắc nét, phẳng, thu gọn lưới ảnh theo mẫu đã chốt ===== */
#wallFeaturePage{
  background:#fff;
}
#wallFeaturePage .wallTopbar{
  background:#fff;
  border-bottom:1px solid #e7e8eb;
}
#wallFeaturePage .wallTopbar__search{
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  padding:0!important;
}
#wallFeaturePage .wallTopbar__search svg{
  width:27px;
  height:27px;
}
#wallFeaturePage .wallScroll{
  background:#fff;
  padding-top:0;
}
#wallFeaturePage #wallFeed{
  gap:0;
  background:#fff;
}
#wallFeaturePage #wallFeed .wallPost{
  margin:0;
  padding:15px 14px 10px;
  background:#fff;
  border-top:0;
  border-bottom:1px solid #e7e8eb;
  border-radius:0;
  box-shadow:none;
}
#wallFeaturePage #wallFeed .wallPost__head{
  align-items:flex-start;
  gap:11px;
  margin-bottom:13px;
}
#wallFeaturePage #wallFeed .wallPost__avatar{
  width:48px;
  height:48px;
  flex-basis:48px;
}
#wallFeaturePage #wallFeed .wallPost__who{
  padding-top:1px;
}
#wallFeaturePage #wallFeed .wallPost__name{
  font-size:17px!important;
  font-weight:588!important;
  line-height:1.2!important;
  letter-spacing:-.12px;
}
#wallFeaturePage #wallFeed .wallPost__time{
  margin-top:3px;
  font-size:13.5px;
  line-height:1.25;
  color:#6f7379;
}
#wallFeaturePage #wallFeed .wallPost__location{
  display:flex;
  align-items:center;
  gap:5px;
  margin-top:4px;
  font-size:13.5px;
  line-height:1.3;
  font-weight:500;
  color:#6b6f75;
}
#wallFeaturePage #wallFeed .wallPost__location::before{
  content:"";
  width:14px;
  height:14px;
  flex:0 0 14px;
  background-color:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5Z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5Z'/%3E%3C/svg%3E") center/contain no-repeat;
}
#wallFeaturePage #wallFeed .wallPost__textWrap{
  margin:0 0 12px;
}
#wallFeaturePage #wallFeed .wallPost__text{
  font-size:16px;
  line-height:1.42;
  letter-spacing:-.08px;
}
#wallFeaturePage #wallFeed .wallPost__images{
  gap:3px;
  border-radius:9px;
  background:#eceef0;
}
#wallFeaturePage #wallFeed .wallPost__images[data-count="2"]{
  height:280px;
  max-height:280px;
}
#wallFeaturePage #wallFeed .wallPost__images[data-count="2"] .wallPost__image{
  height:100%;
}
#wallFeaturePage #wallFeed .wallPost__images[data-count="3"]{
  height:320px;
  max-height:320px;
}
#wallFeaturePage #wallFeed .wallPost__images[data-count="4"]{
  height:340px;
  max-height:340px;
}
#wallFeaturePage #wallFeed .wallPost__more{
  font-size:24px;
  font-weight:600;
  background:rgba(0,0,0,.38);
}
#wallFeaturePage #wallFeed .wallPost__actions{
  margin-top:10px;
  padding-top:6px;
  border-top:1px solid #e8e9eb;
}
#wallFeaturePage #wallFeed .wallPost__action{
  min-height:36px;
  font-size:15px;
  font-weight:500;
  color:#5f6368;
}
#wallFeaturePage #wallFeed .wallPost__action svg{
  width:20px;
  height:20px;
  stroke-width:1.8;
}
@media (max-width:430px){
  #wallFeaturePage #wallFeed .wallPost{padding-left:14px;padding-right:14px}
  #wallFeaturePage #wallFeed .wallPost__images[data-count="2"]{height:260px;max-height:260px}
  #wallFeaturePage #wallFeed .wallPost__images[data-count="3"]{height:305px;max-height:305px}
  #wallFeaturePage #wallFeed .wallPost__images[data-count="4"]{height:330px;max-height:330px}
}
html.bn-background-dark #wallFeaturePage,
body.bn-background-dark #wallFeaturePage,
html.bn-background-dark #wallFeaturePage .wallScroll,
body.bn-background-dark #wallFeaturePage .wallScroll,
html.bn-background-dark #wallFeaturePage #wallFeed,
body.bn-background-dark #wallFeaturePage #wallFeed{
  background:#0d0d0d;
}
html.bn-background-dark #wallFeaturePage #wallFeed .wallPost,
body.bn-background-dark #wallFeaturePage #wallFeed .wallPost{
  background:#171717;
  border-color:rgba(255,255,255,.10);
}

/* ===== v186: Thu toi da thanh tren Bang tin + bo hieu ung xanh tim kiem ===== */
#wallFeaturePage .wallTopbar{
  min-height:calc(46px + env(safe-area-inset-top));
}
#wallFeaturePage .wallTopbar__search{
  min-height:36px;
  outline:0!important;
  -webkit-tap-highlight-color:transparent;
}
#wallFeaturePage .wallTopbar__search:focus,
#wallFeaturePage .wallTopbar__search:focus-visible,
#wallFeaturePage .wallTopbar__search:active{
  outline:0!important;
  border:0!important;
  box-shadow:none!important;
  background:transparent!important;
}
#wallFeaturePage .wallTopbar__action{
  width:40px;
  height:40px;
}
#wallFeaturePage .wallTopbar__actions{
  align-items:center;
}
#wallFeaturePage .wallSearchPanel__box input:focus,
#wallFeaturePage .wallSearchPanel__box input:focus-visible,
#wallFeaturePage .wallSearchPanel__box input:active{
  outline:0!important;
  border:0!important;
  box-shadow:none!important;
}

/* ===== v187: Giam them 4px thanh tren Bang tin ===== */
#wallFeaturePage .wallTopbar{
  min-height:calc(42px + env(safe-area-inset-top));
}
#wallFeaturePage .wallTopbar__search{
  min-height:32px;
}
#wallFeaturePage .wallTopbar__action{
  width:36px;
  height:36px;
}


/* v219: báo bài mới nổi, không chèn bài làm giật vị trí đang đọc */
#wallFeaturePage .wallNewPostButton{
  position:absolute;
  z-index:35;
  left:50%;
  top:calc(env(safe-area-inset-top,0px) + 58px);
  transform:translate(-50%,-8px);
  opacity:0;
  pointer-events:none;
  border:0;
  border-radius:999px;
  min-height:36px;
  padding:0 17px;
  background:#1685f8;
  color:#fff;
  font:inherit;
  font-size:15px;
  font-weight:600;
  box-shadow:0 4px 14px rgba(0,0,0,.18);
  transition:opacity .16s ease,transform .16s ease;
}
#wallFeaturePage .wallNewPostButton.is-visible{opacity:1;pointer-events:auto;transform:translate(-50%,0)}

/* v235: Bảng tin - xem thêm/thu gọn nhẹ, xanh, căn giữa; bỏ gạch trên hàng tương tác */
#wallFeaturePage #wallFeed .wallPost__textWrap.has-overflow .wallPost__moreText{
  display:block!important;
  width:max-content;
  max-width:100%;
  margin:4px auto 0;
  padding:2px 0 0;
  color:#1685f8;
  font-weight:400;
  text-align:center;
}
#wallFeaturePage #wallFeed .wallPost__textWrap:not(.has-overflow) .wallPost__moreText{
  display:none!important;
}
#wallFeaturePage #wallFeed .wallPost__actions{
  border-top:0;
}
html.bn-background-dark #wallFeaturePage #wallFeed .wallPost__moreText,
body.bn-background-dark #wallFeaturePage #wallFeed .wallPost__moreText{
  color:#4ea1ff;
}

/* v236: phân trang thật 50 bài/lần ở Bảng tin */
#wallFeaturePage #wallFeed .wallFeedPager{display:flex;align-items:center;justify-content:center;min-height:48px;padding:4px 16px 12px;background:transparent}
#wallFeaturePage #wallFeed .wallFeedPager__more{border:0;background:transparent;color:#1685f8;font:400 15px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;padding:8px 14px;margin:0;cursor:pointer;-webkit-tap-highlight-color:transparent}
#wallFeaturePage #wallFeed .wallFeedPager__more:active{opacity:.55}
#wallFeaturePage #wallFeed .wallFeedPager__loading{min-height:34px;display:flex;align-items:center;justify-content:center}
#wallFeaturePage #wallFeed .wallFeedPager__spinner{display:block;flex:0 0 auto}
html.bn-background-dark #wallFeaturePage #wallFeed .wallFeedPager__more,body.bn-background-dark #wallFeaturePage #wallFeed .wallFeedPager__more{color:#4ea1ff}

/* v238: đồng bộ cỡ chữ Xem thêm + spinner phân trang với spinner mở Tạo bài */
#wallFeaturePage #wallFeed .wallPost__moreText{
  font-size:14px!important;
}
#wallFeaturePage #wallFeed .wallFeedPager__more{
  font:400 16px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  font-size:16px!important;
}
#wallFeaturePage #wallFeed .wallFeedPager__spinner.refreshIndicator__spinner{
  width:27px;
  height:27px;
  border-width:3px;
  box-sizing:border-box;
}


/* v242: nút Thích Bảng tin giữ trạng thái xanh và không chớp khi ghi Firebase */
#wallFeaturePage #wallFeed .wallPost__action.is-active,
#wallFeaturePage #wallFeed .wallPost__likeBtn.is-active{
  color:#1685f8;
}
#wallFeaturePage #wallFeed .wallPost__likeBtn{
  -webkit-tap-highlight-color:transparent;
  touch-action:manipulation;
}
html.bn-background-dark #wallFeaturePage #wallFeed .wallPost__action.is-active,
body.bn-background-dark #wallFeaturePage #wallFeed .wallPost__action.is-active,
html.bn-background-dark #wallFeaturePage #wallFeed .wallPost__likeBtn.is-active,
body.bn-background-dark #wallFeaturePage #wallFeed .wallPost__likeBtn.is-active{
  color:#4ea1ff;
}


/* v252: Bang tin - ten nguoi xanh dam hon; toan bo composer mo khung dang. */
#wallFeaturePage #wallFeed .wallPost__name{
  color:#064f8f!important;
}
#wallFeaturePage .wallComposer{
  position:relative;
  box-sizing:border-box;
  width:calc(100% - 24px);
  min-height:78px;
  margin:10px 12px 10px;
  padding:10px 64px 10px 14px;
  border:0!important;
  border-radius:14px;
  background:#fff;
  box-shadow:0 1px 5px rgba(0,0,0,.07);
}
#wallFeaturePage .wallComposer__main{
  min-height:58px;
  gap:12px;
}
#wallFeaturePage .wallComposer__prompt{
  padding:10px 0;
  font-size:17px;
  font-weight:400;
  color:#6f7379;
}
#wallFeaturePage .wallComposer::after{
  content:"";
  position:absolute;
  right:12px;
  top:50%;
  width:38px;
  height:38px;
  transform:translateY(-50%);
  border-radius:8px;
  background-color:#f3f4f6;
  background-repeat:no-repeat;
  background-position:center;
  background-size:23px 23px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f6368' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2' ry='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpolyline points='21 15 16 10 5 21'/%3E%3C/svg%3E");
  pointer-events:none;
}
html.bn-background-dark #wallFeaturePage .wallComposer,
body.bn-background-dark #wallFeaturePage .wallComposer{background:#171717}

/* v253: thiết kế lại màn Đăng Bảng tin theo mẫu đã chốt, giữ nguyên luồng đăng gốc. */
#wallFeaturePage .wallComposePage__topbar{
  min-height:calc(62px + env(safe-area-inset-top));
  padding-left:16px;
  padding-right:16px;
  grid-template-columns:48px minmax(0,1fr) auto;
}
#wallFeaturePage .wallComposePage__audience{padding-left:4px}
#wallFeaturePage .wallComposePage__title{
  font-size:18px;
  font-weight:500;
  line-height:1.16;
  color:#111;
}
#wallFeaturePage .wallComposePage__subtitle{
  position:relative;
  padding-left:18px;
  margin-top:3px;
  font-size:13px;
  font-weight:500;
  color:#8a8f98;
}
#wallFeaturePage .wallComposePage__subtitle::before{
  content:"";
  position:absolute;
  left:0;
  top:50%;
  width:14px;
  height:14px;
  transform:translateY(-50%);
  opacity:.86;
  background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm6.92 6h-3.01a15.7 15.7 0 0 0-1.38-3.09A8.06 8.06 0 0 1 18.92 8ZM12 4c.83 1.06 1.5 2.42 1.87 4h-3.74C10.5 6.42 11.17 5.06 12 4ZM4.26 14a8.17 8.17 0 0 1 0-4h3.36a16.5 16.5 0 0 0 0 4H4.26Zm.82 2h3.01a15.7 15.7 0 0 0 1.38 3.09A8.06 8.06 0 0 1 5.08 16Zm3.01-8H5.08a8.06 8.06 0 0 1 4.39-3.09A15.7 15.7 0 0 0 8.09 8ZM12 20c-.83-1.06-1.5-2.42-1.87-4h3.74c-.37 1.58-1.04 2.94-1.87 4Zm2.24-6H9.76a14.6 14.6 0 0 1 0-4h4.48a14.6 14.6 0 0 1 0 4Zm.29 5.09A15.7 15.7 0 0 0 15.91 16h3.01a8.06 8.06 0 0 1-4.39 3.09ZM16.38 14a16.5 16.5 0 0 0 0-4h3.36a8.17 8.17 0 0 1 0 4h-3.36Z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm6.92 6h-3.01a15.7 15.7 0 0 0-1.38-3.09A8.06 8.06 0 0 1 18.92 8ZM12 4c.83 1.06 1.5 2.42 1.87 4h-3.74C10.5 6.42 11.17 5.06 12 4ZM4.26 14a8.17 8.17 0 0 1 0-4h3.36a16.5 16.5 0 0 0 0 4H4.26Zm.82 2h3.01a15.7 15.7 0 0 0 1.38 3.09A8.06 8.06 0 0 1 5.08 16Zm3.01-8H5.08a8.06 8.06 0 0 1 4.39-3.09A15.7 15.7 0 0 0 8.09 8ZM12 20c-.83-1.06-1.5-2.42-1.87-4h3.74c-.37 1.58-1.04 2.94-1.87 4Zm2.24-6H9.76a14.6 14.6 0 0 1 0-4h4.48a14.6 14.6 0 0 1 0 4Zm.29 5.09A15.7 15.7 0 0 0 15.91 16h3.01a8.06 8.06 0 0 1-4.39 3.09ZM16.38 14a16.5 16.5 0 0 0 0-4h3.36a8.17 8.17 0 0 1 0 4h-3.36Z'/%3E%3C/svg%3E") center/contain no-repeat;
}
#wallFeaturePage .wallComposePage__post{
  min-width:66px;
  height:36px;
  border-radius:20px;
  padding:0 16px;
  font-size:15px;
  font-weight:600;
  line-height:36px;
}
#wallFeaturePage .wallComposePage__scroll{
  padding:14px 16px calc(20px + env(safe-area-inset-bottom));
}
#wallFeaturePage .wallComposePage__textBox{
  position:relative;
  min-height:196px;
  margin:0 0 18px;
  border:1px solid #d8dade;
  border-radius:14px;
  background:#fff;
  box-shadow:0 1px 4px rgba(0,0,0,.05);
  overflow:hidden;
}
#wallFeaturePage .wallComposePage .wallDraft textarea,
#wallFeaturePage .wallComposePage .wallDraft textarea:focus,
#wallFeaturePage .wallComposePage .wallDraft textarea:focus-visible,
#wallFeaturePage .wallComposePage .wallDraft textarea:active{
  width:100%;
  min-height:154px!important;
  margin:0!important;
  padding:18px 18px 42px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  outline:none!important;
  box-sizing:border-box!important;
  resize:none;
  font-size:17px!important;
  line-height:1.45!important;
  font-weight:400!important;
  color:#23252a;
}
#wallFeaturePage .wallComposePage .wallDraft textarea::placeholder{
  color:#8d929b;
  font-size:17px!important;
  font-weight:400!important;
  opacity:1;
}
#wallFeaturePage .wallComposePage__counter{
  position:absolute;
  right:16px;
  bottom:14px;
  font-size:14px;
  line-height:1;
  font-weight:400;
  color:#7d838d;
  pointer-events:none;
}
#wallFeaturePage .wallComposePage .wallDraft__location{
  display:grid;
  grid-template-columns:1fr!important;
  gap:14px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
}
#wallFeaturePage .wallComposePage .wallDraft__field{
  display:block;
  position:relative;
}
#wallFeaturePage .wallComposePage .wallDraft__field>span{
  display:block;
  position:relative;
  padding-left:24px;
  margin:0 0 8px;
  font-size:16px;
  line-height:1.3;
  font-weight:500;
  color:#272a2f;
}
#wallFeaturePage .wallComposePage .wallDraft__field>span::before{
  content:"";
  position:absolute;
  left:0;
  top:50%;
  width:17px;
  height:17px;
  transform:translateY(-50%);
  background:#1685f8;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5Z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5Z'/%3E%3C/svg%3E") center/contain no-repeat;
}
#wallFeaturePage .wallComposePage .wallLocationTrigger{
  min-height:44px;
  padding:0 42px 0 16px!important;
  border:1px solid #d8dade!important;
  border-radius:13px!important;
  background:#fff!important;
  box-shadow:0 1px 3px rgba(0,0,0,.04)!important;
  font-size:16px!important;
  font-weight:400!important;
  color:#34373c!important;
}
#wallFeaturePage .wallComposePage .wallLocationTrigger.is-empty{color:#969ba4!important}
#wallFeaturePage .wallComposePage__mediaBar{
  min-height:46px;
  margin:16px 0 0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  justify-content:flex-end!important;
}
#wallFeaturePage .wallComposePage__photoBtn.wallPhotoBtn{
  min-height:38px!important;
  border-radius:21px!important;
  padding:0 13px!important;
  background:#eef0f2!important;
  font-size:16px!important;
  font-weight:500!important;
}
#wallFeaturePage .wallComposePage__photoBtn.wallPhotoBtn svg{
  width:20px!important;
  height:20px!important;
}
#wallFeaturePage .wallComposePage .wallDraft__preview{
  margin:16px 0 0!important;
}
html.bn-background-dark #wallFeaturePage .wallComposePage__title,
body.bn-background-dark #wallFeaturePage .wallComposePage__title{color:#f5f5f5}
html.bn-background-dark #wallFeaturePage .wallComposePage__textBox,
body.bn-background-dark #wallFeaturePage .wallComposePage__textBox,
html.bn-background-dark #wallFeaturePage .wallComposePage .wallLocationTrigger,
body.bn-background-dark #wallFeaturePage .wallComposePage .wallLocationTrigger{
  background:#1d1d1f!important;
  border-color:#3a3a3c!important;
}
html.bn-background-dark #wallFeaturePage .wallComposePage .wallDraft__field>span,
body.bn-background-dark #wallFeaturePage .wallComposePage .wallDraft__field>span{color:#f2f2f3}
html.bn-background-dark #wallFeaturePage .wallComposePage .wallDraft textarea,
body.bn-background-dark #wallFeaturePage .wallComposePage .wallDraft textarea{color:#f5f5f5!important}
