
*:before, *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
*, :after, :before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}


h1 {
  margin-bottom: 16px;
}

.tabs {
    display: flex;
    gap: 16px;
    font-size: 15px;
    display: flex;
    gap: 16px;
    font-size: 15px;
    line-height: 2.2;
}

.tabs a {
  text-decoration: none;
  color: #6b7280;
  font-weight: 500;
}

.tabs a.active {
  color: #2563eb;
  border-bottom: 2px solid #2563eb;
}

.question-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.question {
  display: flex;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px;
  align-items: flex-start;
  margin-bottom: 8px;
  cursor: pointer;
}

.vote {
  text-align: center;
  font-size: 14px;
  color: #6b7280;
}
.Fvl {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.Fvl .num {
    font-weight: 600;
}
.question .contentHCD {
    margin-left: 15px;
    overflow: hidden;
}
.question>.vote span {
  display: block;
  font-weight: bold;
  margin-top: 4px;
  font-size: 16px;
}
.question .likeImg img {
    max-height: 150px;
    max-width: 150px;
    margin-right: 10px;
}
.question .likeImg .vote {
    margin-top: 5px;
}
.question .likeImg .vote span {
    font-weight: bold;
    margin-top: 4px;
}
.tabHot .question:hover {
    background: #f6f9fb;
}

.content h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
}

.meta {
  display: flex;
  gap: 8px;
  font-size: 14px;
  color: #6b7280;
  margin-top: 8px;
}

.tag {
  background: #fee2e2;
  color: #b91c1c;
  padding: 2px 8px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
}

.tag.orange {
  background: #ffedd5;
  color: #c2410c;
}

.tag.yellow {
  background: #fef9c3;
  color: #a16207;
}
.author .fa-user {
    margin-right: 5px;
}
.lvAcc {
    margin-top: -3px;
    margin-left: -7px;
}

.back-arrow {
  display: inline-block;
  font-size: 18px;
  color: #444;
  text-decoration: none;
  margin-bottom: 10px;
}
.question-card {
    max-height: calc(100vh - 160px);
    overflow-x: hidden;
    width: 100%;
    padding: 10px 25px;
    margin: auto;
}
.question-header {
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
}
.question-header .post-actions {
    display: flex;
    align-items: center;
    gap: 5px;
}
.post-actions .tn {
    display: flex;
    justify-content: space-between;
    gap: 5px;
}
.post-actions .tn .num {
    transform: translateY(4px);
}
.question-header i.met1 {
    color: #f91616;
}
.question-header i.met0 {
    color: #b5b0ad;
}
.question-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    margin-top: 8px;
}
.question-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}
.question-description {
    font-size: 15px;
    margin-bottom: 15px;
}
.report-button {
    background: #f97316;
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
}

.answers {
    border-top: 1px solid #eee;
    padding-top: 16px;
}

.answers h3 {
    font-size: 16px;
    margin-bottom: 16px;
}

.answer {
    display: flex;
    gap: 10px;
    position: relative;
}
.answerreply {
    position: relative;
    display: flex;
    gap: 10px;
    margin-top: 8px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 5px;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ccc;
    flex-shrink: 0;
}

.answer-content {
    flex: 1;
}

.answer-text {
    margin-bottom: 6px;
}

.answer-footer {
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 12px;
}

.answer-footer i {
    color: #666;
}
.nameacc {
    margin-bottom: 3px;
    font-weight: bold;
}
.replyitem {
    margin-top: -5px;
}
.timpost {
    font-size: 20px;
}
.comment-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background-color: #f0f2f5;
  border-radius: 16px;
  padding: 10px 12px;
  width: 100%;
}

.comment-box .reply-container .imgr,.messageItemM .bubbleContent .imgr {
  display: flex; gap: 5px;flex-wrap: wrap;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.input-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

.input-text {
  border: none;
  background: transparent;
  resize: none;
  outline: none;
  font-size: 14px;
  line-height: 18px;
  color: #333;
  width: 100%;
  overflow-y: hidden;
}
.commentBoxViewPost .input-text {
  max-height: 60vh;
  overflow: auto;
}

.action-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.icons {
  display: flex;
  gap: 3px;
}

.icons button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.icons img {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}

.icons img:hover {
  opacity: 1;
}

.send-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.question .meta .pt8 {
    padding-top: 8px;
}
.privewtxt {
    margin-top: 10px;
}
.question-Popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #3a3a3adb;
}
.question-Popup .FPost {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 70px);
}
.question-Body {
    position: relative;
    background: white;
    width: max-content;
    margin: 30px auto;
    border-radius: 16px;
    min-width: 400px;
    max-width: 720px;
}
 .close-button {
    width: 40px;
    height: 40px;
    background-color: #f7f7f7; /* màu nền xám nhạt */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    position: absolute;
    right: 15px;
    top: 5px;
    z-index: 999;
}

.close-button:hover {
    background-color: #dcdfe3;
}

.close-button span,.close-button-post span {
    font-size: 20px;
    /*color: #1c1e21;*/
    color: #969697;
    font-weight: bold;
    line-height: 1;
}
.question-Popup .marginT {
    height: 12px;
}
.scroll-container {
  overflow-y: auto;
  scrollbar-gutter: stable; /* Giữ chỗ cho scrollbar */
}

/* Thiết kế scrollbar mặc định (ẩn nhưng vẫn chiếm chỗ) */
.scroll-container::-webkit-scrollbar {
  width: 6px;
}

.scroll-container::-webkit-scrollbar-thumb {
  background-color: transparent; /* ẩn nhưng vẫn chiếm chỗ */
  border-radius: 3px;
}

/* Khi hover thì hiện thanh cuộn bằng cách đổi màu */
.scroll-container:hover::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.3); /* hiện thanh cuộn */
}

/* Firefox */
.scroll-container {
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}

.scroll-container:hover {
  scrollbar-color: rgba(0,0,0,0.3) transparent;
}


.scrollmessage {
  overflow-y: auto;
  scrollbar-gutter: stable; /* Giữ chỗ cho scrollbar */
}

/* Thiết kế scrollbar mặc định (ẩn nhưng vẫn chiếm chỗ) */
.scrollmessage::-webkit-scrollbar {
  width: 6px;
}

.scrollmessage::-webkit-scrollbar-thumb {
  background-color: transparent; /* ẩn nhưng vẫn chiếm chỗ */
  border-radius: 3px;
}

/* Khi hover thì hiện thanh cuộn bằng cách đổi màu */
.scrollmessage:hover::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.3); /* hiện thanh cuộn */
}

/* Firefox */
.scrollmessage {
  scrollbar-width: thin;
  /*scrollbar-color: transparent transparent;*/
}

.scrollmessage:hover {
  scrollbar-color: rgba(0,0,0,0.3) transparent;
}


.xphk {
    font-weight: bold;
    cursor: pointer; 
    margin-bottom: 12px;
}


.question-message {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px;
  align-items: flex-start;
  margin-bottom: 8px;

  display: flex;
  flex-direction: column;
  min-height: 310px;
  max-height: calc(100vh - 120px);
}
.question-message .input-text {
    max-height: 50vh;
    overflow: auto;
}
.chat-container {
  margin-left: 12px;
  font-size: 13.4px;
  overflow: auto;
  height: calc(100vh - 300px);
  padding-bottom: 20px;
}

.chat-message {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
}

.chat-message img.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin-right: 8px;
}

.message-content {
  border-radius: 12px;
  padding: 6px 10px;
  width: 100%;
  position: relative;
}

.user-name {
  font-weight: bold;
  margin-bottom: 4px;
  cursor: pointer;
}

.bubble {
  background: #f0f2f5;
  max-width: calc(100% - 85px);
  padding: 8px 10px;
  border-radius: 12px;
  margin-bottom: 9px;
  line-height: 1.4;
  word-wrap: break-word;
  float: left;
}
.tabHot .time {
  font-size: 11px;
  color: #888;
  margin-top: 2px;
}

.question-message .time {
  font-size: 11px;
  color: #888;
  margin-top: 2px;
  display: none;
}

.reaction {
  margin-top: 8px;
  font-size: 13px;
  color: #d00;
}
.question-message .comment-box {
    max-width: 100%;
}
.bubble .reaction
{
    position: absolute;
    right: 0;
    margin-right: 20px;
}
.bubble .reaction1
{
    background: #f0f2f5;
    padding: 3px 8px;
    border-radius: 12px;
}
.action-icons {
    display: flex;
    gap: 3px;
    margin-top: -7px;
    width: max-content;
    margin-left: 8px;
}

.action-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #f0f2f5;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: #606770;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.action-btn:hover {
  background-color: #d8dce0;
}
.action-btn.replybtn {
  transform: rotateX(180deg) rotateY(180deg);
}
.replybtn .rp {
  margin-top: 8px;
}
.messageItem {
    display: flex;
}
.messageItem:hover {
    
}
.bubbleContent {
    position: relative;   
    min-width: 62px;
}
.comment-wrapper {
  margin: 10px 0;
  cursor: pointer;
}

.username {
  font-weight: bold;
  margin-bottom: 4px;
}

.quoted-comment {
  background-color: #ffffff;
  padding: 8px 12px;
  border-left: 4px solid #1877f2; /* xanh Facebook */
  border-radius: 8px;
  margin-bottom: 6px;
}

.quoted-username {
  font-weight: bold;
  margin-bottom: 2px;
}

.quoted-text {
  color: #050505;
}

.messageItem a {
  color: #1877f2;
  text-decoration: none;
  font-weight: 500;
}
.reaction .reaction2 {
    font-size: 21px;
    color: #7a7a7a;
    transform: translateY(-5px);
    position: absolute;
    cursor: pointer;
    margin-left: 5px;
    transition: 0.3s;
}

.reaction2::before {
    content: "\2661";/* ♡ */
}
.reaction2:hover::before {
    content: "\2764\FE0F"; /* ❤️ */
    font-size: 16px;
}
.reaction1::before {
    content: "\2764\FE0F"; /* ❤️ */
}
.reaction-menu .icontim::before {
    content: "\2764\FE0F"; /* ❤️ */
}

.messageItem {
  position: relative;
}

.bubble {
  position: relative;
  background: #f1f1f1;
  padding: 10px;
  border-radius: 12px;
}

.bubbleContent {
  padding: 8px;
}

.reaction-menu {
  position: absolute;
  display: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #ccc;
  border-radius: 12px;
  padding: 6px 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  z-index: 999;
  min-width: 110px;
}

.reaction-menu button {
  background: none;
  border: none;
  font-size: 18px;
  margin: 0 5px;
}

.messageItemM .shmenuai0 {
  display:none;
}
.messageItemM .reaction2 {
  display:none;
}
.messageItemM:hover .action-icons {
  display: flex;
}
.messageItemM:hover .reaction2 {
  display: unset;
}
.activeHide {
    display: none;
}
.activeAtop {
    margin-top: -70px;
}
.activeColor {
    background: #f0f2f5;
}
.question-message .time.showblock {
    display: block;
    padding-left: 49px;
    margin-bottom: 10px;
}
.messageItemM .reaction2.timshow {
    display: unset;
}
.timN0 {
    display: none;
}

.chat-message .avatar-wrapper {
  position: relative;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

.chat-message .avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.chat-message .avatar-fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ccc;
  border-radius: 50%;
  color: white;
  font-weight: bold;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}
.avatar .avatar-fallback,.sav .avatar-fallback,.avatarS .avatar-fallback,.avatarS .avatarNt {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ccc;
  border-radius: 50%;
  color: white;
  font-weight: bold;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.question-Popup .ant {
    display: flex;
    align-items: center;
    gap: 10px;
}
.question-Popup .ant .nameA {
    font-weight: bold;
}
.question-Popup .sav {
    width: 32px;
    height: 32px;
}

.reply-container {
  background-color: #ffffff;
  border-radius: 6px;
  padding: 10px;
}

.reply-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-left: 3px solid #007bff;
  padding-left: 10px;
  margin-bottom: 8px;
}

.reply-info {
  display: flex;
  align-items: center;
}

.reply-icon {
  font-size: 20px;
  margin-right: 6px;
  color: #007bff;
}

.reply-text span {
  font-size: 13px;
  color: #666;
}

.reply-close {
  cursor: pointer;
  color: #888;
  font-size: 18px;
  padding: 2px 8px;
}

.reply-input {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 20px;
  padding: 6px 10px;
}

.reply-input input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 14px;
}
.mention {
  color: #007bff;
  font-weight: bold;
}

.reply-actions {
  display: flex;
  align-items: center;
  gap: 5px;
}
.replyNone {
    display: none;
}
.comment-box .input-text:empty::before {
  content: attr(data-placeholder);
  color: #999;
  pointer-events: none;
  display: block;
}
.comment-box .input-text strong {
  color: #007bff;
}

.reply-close:hover {
    color: #202020;
}
.reply-container .reply-text img {
    max-width: 80px;
    max-height: 50px;
}
.replyimageNone {
    display: none;
}
.messageItemM .bubbleContent strong {
  color: #1877f2;
  font-weight: 500;
  cursor: pointer;
}
.replySimage img {
    max-width: 150px;
    max-height: 80px;
}
.highlight {
    background: #cfedff;
    animation: highlightAnimation 3s ease forwards;
}



.send-btn {
	opacity: 0.4;
	pointer-events: none;
	transition: opacity 0.3s;
}
.send-btn.active {
	opacity: 1;
	pointer-events: auto;
}
.send-btn.active svg {
	fill:#0db6f7;
}



/* Modal */
.modal {
  display: none; 
  position: fixed;
  z-index: 999999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}

.modal-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

.modal .close {
  position: absolute;
  top: 20px; right: 30px;
  color: white;
  font-size: 30px;
  cursor: pointer;
}







/* Avatar style */
#accountPopup {
    display: flex;
    display: none;
    position: fixed;
    z-index: 999998;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}
#accountPopup .avatar,.avatarS .avatar-fallback,.avatarS .avatarNt {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
}
.avatarS .avatar-fallback {
  margin: 0px auto;
  font-size: 28px;
  padding-top: 5px;
}
.avatarS .avatarNt {
  margin: 0px auto;
  font-size: 28px;
}

/* Overlay covers entire screen */
#accountPopup .popup-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Centered popup */
#accountPopup .popup-content {
  background: white;
  border-radius: 10px;
  min-width: 480px;
  position: relative;
  font-family: Arial, sans-serif;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  animation: fadeIn 0.2s ease;
}

/* Header (cover) */
#accountPopup .cover-photo {
  height: 60px;
  background-image: url('https://example.com/cover.jpg');
  background-size: cover;
  background-position: center;
}

/* Avatar & name block */
#accountPopup .avatar-info {
  text-align: center;
  margin-top: -30px;
}

#accountPopup .popup-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid white;
  background: white;
}

#accountPopup .popup-name {
  font-weight: bold;
  margin-top: 5px;
}

/* Buttons */
#accountPopup .popup-buttons {
  margin: 10px 0;
}

#accountPopup .btn {
  padding: 6px 14px;
  margin: 0 4px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
}

#accountPopup .btn.gray {
  background: #eee;
}

#accountPopup .btn.blue {
  background: #007bff;
  color: white;
}

/* Info & actions */
#accountPopup .info-section, #accountPopup .actions {
  padding: 0 20px 10px;
  font-size: 14px;
  line-height: 1.5;
  margin-top: 15px;
}

#accountPopup .info-section h4 {
  margin-bottom: 5px;
  font-size: 16px;
}

#accountPopup .actions p {
  margin: 5px 0;
}

/* Close button */
#accountPopup .close-btn {
  position: absolute;
  top: 5px; right: 10px;
  font-size: 24px;
  cursor: pointer;
  color: #888;
}
/* Fade animation */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}
.attached-image .image-wrapper img {
  border-radius: 8px;
  max-height: 50px;
  max-width: 80px;
}
.attached-image {
  max-width: 100%;
}

.attached-image img.comment-image {
  max-width: 100%;
  border-radius: 8px;
  max-height: 200px;
  display: block;
}
.attached-image .image-wrapper {
    position: relative;
}
.attached-image .remove-image {
    position: absolute;
    right: 2px;
    top: 1px;
    background: #d9d9d9;
    padding: 2px 5px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 8px;
    color: #383232;
}
.attached-image .remove-image:hover {
    background: #c9c9c9;
}



#emojiPicker {
  max-width: 260px;
  overflow-wrap: break-word;
  white-space: normal; /* hoặc nowrap nếu muốn hàng ngang */
  transform: translateY(-280px);
}
#emojiPicker span {
    font-family: "Segoe UI Emoji", "Noto Color Emoji", "Apple Color Emoji", sans-serif;
    font-size: 20px;
}
/* ẩn mặc định */
.emoji-picker {
  display: none;
  position: absolute;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 6px 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
  z-index: 1000;
  font-size: 22px;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

.emoji-picker span {
  padding: 4px;
}

.emoji-picker span:hover {
  background: #f0f0f0;
  border-radius: 4px;
}
.comment-box .input-text img {
    margin-left: 2px;
    width: 20px;
    vertical-align: middle;
}
.comment-wrapper .quoted-text strong {
    
}
.bubbleContent .imgEmojiCty,.reply-container .reply-text .imgEmojiCty {
    margin-left: 3px;
    height: 18px;
}
.comment-image.img1 {
    cursor: pointer;
    width: 100%;
}
.comment-image.img200 {
    cursor: pointer;
    width: 48%;
    flex: 1 1 48%;
    max-width: 100%;
    height: auto;
    max-height: 200px;
}
.margincontent {
    margin-bottom: 8px;
}
.comment-wrapper .comment-image {
  width: 50px;
  height: 40px;
  cursor: pointer;
  transition: transform 0.2s;
}
.bubbleContent>.comment-image:hover {
  transform: scale(1.05);
}
.bubbleContent>div>.comment-image:hover {
  transform: scale(1.05);
}
.comment-wrapper .quoted-comment:hover {
    background-color: #fdfdfd;
    border-left: 4px solid #18c0f2;
}

.sort-dropdown {
    position: absolute;
    top: 0;
    right: 0px;
    display: inline-block;
    color: #606770;
    font-size: 14px;
    cursor: pointer;
    user-select: none;
    min-width: 90px;
}

.sort-button {
    display: flex;
    font-weight: bold;
    justify-content: center;
    align-items: center;
}

.sort-button .arrow {
    margin-left: 4px;
    font-size: 10px;
}

.dropdown-menu {
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    margin-top: 4px;
    min-width: 90px;
    display: none;
    z-index: 100;
}

.dropdown-menu div {
    padding: 8px 12px;
    cursor: pointer;
}

.dropdown-menu div:hover {
    background-color: #f0f0f0;
}
.selectrp {
    position: relative;
}


.tabHot .filter-bar {
    display: flex;
    gap: 20px;
    align-items: center;
    font-size: 14px;
    user-select: none;
}

.tabHot .dropdown-wrapper {
    position: relative;
    cursor: pointer;
    margin-top: -10px;
    margin-bottom: 10px;
    background: #f7f7f7;
    max-width: max-content;
    padding: 5px;
    border-radius: 4px;
}

.tabHot .dropdown-wrapper .arrow {
    font-size: 10px;
    margin-left: 4px;
}

.tabHot .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 6px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    min-width: 120px;
    display: none;
    z-index: 10;
}

.tabHot .dropdown-menu div {
    padding: 8px 12px;
    cursor: pointer;
}

.tabHot .dropdown-menu div:hover {
    background-color: #f0f0f0;
}


.ask-question-btn {
  background-color: #2f6fed;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.ask-question-btn:hover {
  background-color: #1c56d0;  /* Màu hover */
}
.tabs-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border-bottom: 1px solid #e5e7eb;
}


.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
  display: none;
  z-index: 999;
}

.modal-contentPost {
  background: white;
  padding: 24px;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  height: max-content;
  margin: 50px auto;
}

.modal-contentPost h2 {
  margin-top: 0;
  font-size: 20px;
}

.modal-contentPost label {
  display: block;
  margin-top: 12px;
  margin-bottom: 4px;
  font-weight: 500;
}

.modal-contentPost input {
  width: 100%;
  padding: 8px;
  border: none;
  border-radius: 6px;
  background-color: #f0f2f5;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

.modal-actions button {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.modal-actions button[type="submit"] {
  background-color: #2f6fed;
  color: white;
}

.modal-actions button#closeModal {
  background-color: #e5e7eb;
}
.modal-contentPost .action-row {
    width: 100%;
}
.modal-contentPost .input-area {
    min-height: 62px;
}
.close-button-post:hover {
    background-color: #dcdfe3;
}
.close-button-post {
    width: 40px;
    height: 40px;
    background-color: #edf0f3;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    transform: translate(0px, -10px);
}
.modal-contentPost .title {
    display: flex;
    justify-content: space-between;
}
.commentBoxPost {
    margin-top: 10px;
}
.commentBoxPost .input-text {
    min-height: 100px;
}




.post-options {
  position: relative;
  margin-left: auto; 
}

.post-options .menu-button {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  width: 20px;
}

.post-options .menu-dropdown {
  position: absolute;
  top: 100%;
  right: -25px;
  background: white;
  border: 1px solid #ddd;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  list-style: none;
  /*padding: 6px 0;*/
  display: none;
  z-index: 10;
}

.menu-dropdown li {
  padding: 8px 16px;
  cursor: pointer;
  white-space: nowrap;
}

.menu-dropdown li:hover {
  background-color: #f0f0f0;
}

.post-options:hover .menu-dropdown {
  display: block;
}
.menu-dropdown {
  display: none;
}

.menu-dropdown.show {
  display: block;
}

.tabHot .nameacc .lvAcc,.user-name .lvAcc {
    margin-left: 2px;
}
.question-Popup .post-actions span .menu {
    padding: 5px;
    border-radius: 6px;
}
.question-Popup .post-actions span i {
    cursor: pointer;
    margin-top: 3px;
}
.question-Popup .post-actions span i.met0:hover {
    color: #585f69;
}
.question-Popup .post-actions span.hv {
    cursor: pointer;
}
.question-Popup .post-actions span .menu:hover {
    background: #e6e8e9;
}
.btnreplyM {
    cursor: pointer;
}
.commentBoxPadding {
    padding: 0px 10px;
}
.votecmt {
    cursor: pointer;
}
.votecmt svg:hover path {
    fill: #585f69;
  }
.answer-footer .iconL {
    display: flex;
    align-items: center;
    gap: 5px;
}
.likeImg .vote {
    display: flex;
    align-items: center;
}
.likeImg .vote span {
    margin-left: 3px;
}
.imgVL {
    width: max-content;
    margin: 0px auto;
}
.answer-footer .iconL .met1 svg path {
    fill: rgb(29, 191, 212);
}








.comment-child {
  display: flex;
  align-items: flex-start;
  position: relative;
}

.avatar-wrapper {
  width: 40px;
  position: relative;
}

.answerreply .avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: block;
}

/* Trục dọc từ avatar đi xuống */
.vertical-line {
  position: absolute;
  top: 36px; /* ngay dưới avatar */
  width: 2px;
  background-color: #e7e7e7;
  transform: translateX(15px);
}

/* Container chứa các comment con */
.comment-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-left: 8px;
  padding-left: 16px;
  position: relative;
}

.comment-line {
  position: relative;
  padding-left: 20px;
}

/* Đường cong từ trục dọc rẽ sang comment */
.line-bent {
  position: absolute;
  top: 5px;
  left: -27;
  width: 27px;
  height: 16px;
  border-left: 2px solid #e7e7e7;
  border-bottom: 2px solid #e7e7e7;
  border-bottom-left-radius: 8px;
}
.answerreply .avatar-fallback {
    position: relative;
}
.answerreply .avatarxphk {
  display: block;
  margin: auto;
}
.answerreply .avatar-fallbackxphk {
    position: relative;
    top: -3px;
}
.avatar-fallbackxphk .line-bent {
    top: -8px;   
}
.answerreply .answer-text strong {
    font-weight: bold;
    cursor: pointer;
}
.messageItemM .reaction .met1 {
    display: unset;
    margin-top: 5px;
}
.messageItemM .reaction .met1::before {
    content: "\2764\FE0F"; /* ❤️ */
    font-size: 13px;
}
.margincontent .comment-image.img1 {
    max-width: none;
}
.answer-content .fam {
    display: flex;
    align-items: center;
}
.answer-content .fam .select {
    margin-left: auto;
    position: relative;
    transform: translate(-5px, -5px);
}
.answer-content .fam .select .menu {
    display: grid;
    place-items: center;
    text-align: center;
    line-height: 1;
    cursor: pointer;
    border-radius: 39%;
    display: none;
}

.answer-content .contentM:hover .select .menu {
    display: block;
    border-radius: 12px;
}
.answerreply:hover .select .menu {
    display: block;
}
.answer-content .contentM {
    padding: 5px;
    border-radius: 12px;
    transform: translate(-5px, -5px);
}
.answer-content .contentM:hover {
    background: #f3f7ff;
}
.answerreply {
    border-radius: 12px;
}
.answerreply:hover {
    background: #f3f7ff;
}
.answerreply.xphkn:hover {
    background: none;
}
.FPost .answers {
  overflow: hidden;
}


.dropdown-menucmt div {
    padding: 8px 12px;
    cursor: pointer;
}

.dropdown-menucmt div:hover {
    background-color: #f0f0f0;
}
.dropdown-menucmt {
    position: absolute;
    width: max-content;
    right: -30;
    margin-top: 6px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    min-width: 120px;
    display: none;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    z-index: 10;
}

.dropdown-menucmt div {
    padding: 8px 12px;
    cursor: pointer;
}

.dropdown-menucmt div:hover {
    background-color: #f0f0f0;
}
.menucmt.item .dropdown-menucmt {
    right: 0;
}
.contentM .dropdown-menucmt, .replyitem .dropdown-menucmt {
    right: 0;
}
.action-icons .action-btn.select {
    position: relative;
    display: grid;
    place-items: center;
}
.messageItemM .dropdown-menucmt {
    right: 15;
    top: 20;
}
.smenuai {
    display: flex;
}
.action-icons .cg {
    display: grid;
    place-items: center;
}
.post-actions .btn-del .menu::before {
    color: red;
    margin-right: 5px;
}
.contentM .dropdown-menucmt,.replyitem .dropdown-menucmt {
    margin-top: -3px;
}
.answer-content.answerM {
    position: relative;
    width: 90%;
}
.replyitem .answerreply .answer-content {
  width: 90%;
}
.removeingcmtM,.removeingcmtItem,.removeingPost,.removeingMessageItem {
    position: absolute;
    left: 0;
    background: #e7e7e785;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    z-index: 999;
    display: none;
}
.question-Popup .post-actions .select {
    position: relative;
}
.question-Popup .comment-image {
  border-radius: 5px;
}
.select .fonts {
    font-family: "Roboto", Helvetica, Arial, sans-serif;
}
.messageItemM .reaction .tim0 {
    display: none;
}
.toping .user-name {
    display: none;
}

.messageItemM .avatarname {
    display: flex;
}
.messageItemM .messageItem {
    padding-left: 49px;
}
.messageItemM .avatar-wrapper {
    position: relative;
    width: 36px;
    height: 36px;
    cursor: pointer;
}
.messageItemM .avatar-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ccc;
    border-radius: 50%;
    color: white;
    font-weight: bold;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
}
.avatarname .user-name {
    margin-top: 6px;
    margin-left: 12px;
}
.messageItemM img.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin-right: 8px;
}
.avatarnamehide {
    display: none;
}
.commentBoxViewRp {
  position: relative;
}

.delmess {
  color: #d5d5d5;
}
.Notification a {
  all: unset;
}

.question-message .fullmd {
  position: relative;
  overflow: hidden;
}
.double-arrow-down {
    position: absolute;
    bottom: 10;
    right: 20;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f2f4f8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 999;
}

.double-arrow-down::before,
.double-arrow-down::after {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  border-right: 2px solid #4b5c6b;
  border-bottom: 2px solid #4b5c6b;
  position: absolute;
  transform: rotate(45deg);
}

.double-arrow-down::before {
  margin-top: -6px;
}

.double-arrow-down::after {
  margin-top: 6px;
}
.double-arrow-down .numNewMess {
    transform: translateY(-11px);
    color: red;
    font-weight: bold;
}
.numNewMess[data-value="0"] {
  display: none;
}
.hidedad {
    display: none;
}
@keyframes pulse1 {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}
.badge-new {
  animation: pulse1 0.5s;
}
@keyframes pulse2 {
  0% { transform: translateY(-11px) scale(1); }
  70% { transform: translateY(-11px) scale(1.15); }
  100% { transform: translateY(-11px) scale(1); }
}
.numNewMess:not([data-value="0"]) {
  animation: pulse2 1s infinite ease-in-out;
}


/*Tim bay trong tin nhắn*/
.heart {
  position: absolute;
  font-size: 20px;
  color: red;
  animation: flyUp 1s ease-out forwards;
  pointer-events: none;
  user-select: none;
  opacity: 0.9;
}

@keyframes flyUp {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  50% {
    transform: translateY(calc(var(--fly-height) * 0.5)) scale(1.4);
    opacity: 0.8;
  }
  100% {
    transform: translateY(var(--fly-height)) scale(0.7);
    opacity: 0;
  }
}
/*End Tim bay trong tin nhắn*/


/*Tim bay trong Khung chát*/
.floating-heart {
  position: absolute;
  font-size: 22px;
  color: red;
  opacity: 0.9;
  user-select: none;
  pointer-events: none;
}

@keyframes flyUpCustom {
  0% {
    transform: translateY(0) scale(1) rotate(0deg);
    opacity: 1;
  }
  70% {
    transform: translateY(calc(var(--fly-height) * 0.7)) scale(1.3) rotate(calc(var(--rotate-deg) * 0.7));
    opacity: 1;
  }
  100% {
    transform: translateY(var(--fly-height)) scale(0.8) rotate(var(--rotate-deg));
    opacity: 0;
  }
}
/*End Tim bay trong Khung chát*/



.question-message .iconchatcx {
  position: absolute;
  width: 100%;
  height: 0;
  bottom: 0;
}
.question-message .iconchatcx .ntb {
  margin: 0px auto;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff00;
  height: 30px;
  transform: translateY(-30px);
  width: max-content;
}
.question-message .iconchatcx .ntb span {
  cursor: pointer;
  user-select: none;         /* Chuẩn hiện đại */
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* IE/Edge cũ */
}
.question-message .iconchatcx .ntb span:hover {
  /*font-size: 26px;*/
}








.icon-emoji {
  /*font-size: 32px;*/
  cursor: pointer;
  display: inline-block;
  transition: transform 0.2s ease;
}
.icon-heart:hover {
  animation: heartPulse 0.6s infinite;
}

@keyframes heartPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}
.icon-laugh:hover {
  animation: laughShake 0.5s ease infinite;
}

@keyframes laughShake {
  0% { transform: rotate(0); }
  25% { transform: rotate(5deg); }
  50% { transform: rotate(-5deg); }
  75% { transform: rotate(5deg); }
  100% { transform: rotate(0); }
}
.icon-wow:hover {
  animation: wowZoom 0.3s ease-in-out;
}

@keyframes wowZoom {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}
.icon-fire:hover {
  animation: fireFlicker 1s infinite alternate;
}

@keyframes fireFlicker {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.1); }
  100% { opacity: 1; transform: scale(0.95); }
}
.icon-dice:hover {
  animation: diceRoll 0.6s ease;
  transform-style: preserve-3d;
}

@keyframes diceRoll {
  0% { transform: rotateY(0deg); }
  50% { transform: rotateY(180deg); }
  100% { transform: rotateY(360deg); }
}










#accountPopup .stat-container {
  display: flex;
  justify-content: space-around;
  text-align: center;
  font-family: sans-serif;
}

#accountPopup .stat-item {
  margin: 0 10px;
}

#accountPopup .stat-number {
  font-weight: bold;
  font-size: 16px;
}

#accountPopup .stat-label {
  font-size: 13px;
  color: #333;
}
#accountPopup .sttacc {
  font-weight: 500;
}










.leaderboard {
  max-width: 600px;
  margin: auto;
  font-family: "Segoe UI", sans-serif;
  color: #333;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.leaderboard-header {
  display: flex;
  justify-content: space-between;
  padding: 8px 16px 12px 16px;
  background: #f9f9f9;
  border-bottom: 1px solid #eee;
  flex-wrap: wrap;
}

.leaderboard-tabs {
  display: flex;
  gap: 16px;
}

.leaderboard-tabs .tab {
  background: none;
  border: none;
  font-size: 15px;
  padding: 8px;
  cursor: pointer;
  color: #333;
  position: relative;
}

.leaderboard-tabs .tab.active {
  color: #1976d2;
  font-weight: 600;
}

.leaderboard-tabs .tab.active::after {
  content: "";
  position: absolute;
  height: 2px;
  width: 100%;
  background: #1976d2;
  bottom: -2px;
  left: 0;
}

.leaderboard-country {
  font-size: 14px;
  background: #f1f1f1;
  padding: 6px 10px;
  border-radius: 6px;
  margin-top: 8px;
}

.leaderboard-table {
  display: flex;
  flex-direction: column;
}

.leaderboard-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid #eee;
}

.leaderboard-row.header {
  font-weight: bold;
  background: #f5f5f5;
  text-align: center;
}

.leaderboard-row > div {
  flex: 1;
  text-align: center;
}

.user-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.user-info img.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}
.user-info img.imgEmojiCty {
  width: 25px;
  border-radius: 4px;
}
.question-list.tabRank {
  padding-bottom: 30px;
}
.imgrank49,.imgrank492 {
  position: relative;
  width: max-content;
  margin: 0px auto;
}
.imgrank49 span {
  position: absolute;
  font-weight: bold;
  top: 9;
  left: 9;
  color: white;
}
.imgrank492 span {
  position: absolute;
  font-weight: bold;
  top: 9;
  left: 5;
  color: white;
}




.lbrow .leaderboard-row {
  opacity: 0.5;
  transform: translateY(10px);
  transition: all 0.4s ease;
}
.lbrow .leaderboard-row.show {
  opacity: 1;
  transform: translateY(0);
}
.leaderboard-time {
  background: #f9f9f9;
}
.leaderboard-time .stime {
  width: max-content;
  margin: 0px auto;
  font-weight: bold;
  padding-top: 15px;
  font-size: 15px;
  color: #707070;
}





.status-icon {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.status-icon .tooltip {
  visibility: hidden;
  opacity: 0;
  width: max-content;
  background-color: rgb(80 80 80 / 85%);
  color: #fff;
  text-align: left;
  padding: 6px 10px;
  border-radius: 6px;
  position: absolute;
  z-index: 10;
  bottom: 125%; /* Tooltip nằm trên icon */
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.2s;
  font-size: 13px;
  white-space: nowrap;
}

.status-icon .tooltip::after {
  content: "";
  position: absolute;
  top: 100%; /* Mũi tên xuống */
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: rgb(80 80 80 / 85%) transparent transparent transparent;
}

.status-icon:hover .tooltip {
  visibility: visible;
  opacity: 1;
}
.question-message .fullmd {
  width: 100%;
}

.commentBox-avatar-fallback {
  width: 32px;
  height: 32px;
  background: #ccc;
  border-radius: 50%;
  color: white;
  font-weight: bold;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.post-options-none {
  display: none;
}

.toast {
  position: fixed;
  right: 16px;
  top: 16px;
  min-width: 260px;
  max-width: 90vw;
  background: #222;
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  padding: 12px 14px;
  display: none;           /* ẩn mặc định */
  z-index: 99999;
  animation: slideIn .25s ease-out;
}
.toast.error { background: #b00020; }   /* màu đỏ cho lỗi */
.toast.success { background: #146c2e; } /* màu xanh cho ok */

.toast-content {
  display: flex;
  align-items: center;
  gap: 12px;
}
.toast-close {
  margin-left: auto;
  background: transparent;
  border: 0;
  font-size: 18px;
  color: inherit;
  cursor: pointer;
}

@keyframes slideIn {
  from { transform: translateY(12px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.historyRankp {
  display: flex;
}
.historyRank {
  display: flex;
}
.historyRank img {
  height: 30px;
  margin-left: 5px;
  margin-top: -4px;
}
.historyRankp .imgrank49 span {
    top: 1;
    left: 13;
}

.actions .copydt {
  cursor: pointer;
}






/* css Message size phone */
@media (max-width: 888px)
{
  .question-Body {
    margin-top: 100px;
    width: 90%;
  }
}
@media (max-width: 601px)
{
  .tl {
    width: 100%;
  }
  .question-message {
    padding-left: 5px;
  }
	.messageItemM .messageItem {
    padding-left: 0px;
  }
  .messageItemM .messageItem .bubble {
    max-width: 100%;
  }
  .messageItemM .action-icons {
    display: none;
  }
  .messageItemM:hover .action-icons {
    display: none;
  }
  .question-message .comment-box {
    margin-left: 5px;
  }
  .double-arrow-down {
    right: 6px;
  }
  .question-message .time.showblock {
    padding-left: 0px;
  }
  .messageItemM .avatarname {
    margin-bottom: 5px;
  }
}
@media (max-width: 500px)
{
  .question-Body {
    min-width: 30px;
    width: 90%;
  }
  #accountPopup .popup-content {
    min-width: 30px;
    width: 90%;
  }
}

.popupProfile {
  cursor: pointer;
}
.popupProfile:hover {
  text-decoration: underline;
}
.avatar .avatar-fallback,.sav .avatar-fallback,.user-info .avatar {
  cursor: pointer;
}

.referrals .historyusd .avatar-fallback {
    display: flex;
    width: 44px;
    height: 44px;
    cursor: pointer;
    background: #ccc;
    border-radius: 50%;
    color: white;
    font-weight: bold;
    font-size: 18px;
    align-items: center;
    justify-content: center; 
}
.referrals .historyusd .avatarName {
    display: flex;
    gap: 10px;
    place-items: center;
}
.referrals .historyusd .chbdjvbh {
    width: max-content;
    margin: 0px auto;
}
.referrals .historyusd .chbdjvbh .popupProfile {
    font-weight: bold;
}
.avatarName .avatar {
  width: 44px;
  height: 44px;
  cursor: pointer;
}
.table.historyusd thead tr th {
  font-weight: bold;
}

@media (max-width: 480px) {
	.popupProfile {
		display:none;
	}
}

#accountPopup .loginref
{
  background: white;
  border-radius: 10px;
  padding: 15px 50px;
  position: relative;
  font-family: Arial, sans-serif;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.2s ease;
}
.loginref .title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
  color: #000;
}

.loginref .btnLR {
  display: block;
  width: 220px;           /* rộng hơn một chút */
  padding: 12px 0;
  margin: 10px auto;
  border-radius: 999px;   /* bo tròn kiểu pill */
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid transparent;
}

.loginref .btn-login {
  background: #fff;
  border: 1px solid #d3d3d3; /* viền xám nhạt */
  color: #000;
}

.loginref .btn-login:hover {
  background: #f9f9f9;
}

.loginref .btn-register {
  background: #000;
  color: #fff;
  border: 1px solid #000;
}

.loginref .btn-register:hover {
  background: #111; /* hơi sáng hơn một chút khi hover */
}
.error404 {
  text-align: center; 
}
.popup-content.er404 {
  padding: 20px;
}
#accountPopup .close-btn-404 {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #888;
}
#accountPopup .close-btn-lr {
  position: absolute;
  top: 5px;
  right: 10px;
  font-size: 24px;
  cursor: pointer;
  color: #888;
}
.UrlSharePost:hover {
  text-decoration: underline;
  cursor: pointer;
}

.popupCopyOk {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #4CAF50;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  display: none;
  z-index: 999999;
  animation: fadein 0.5s;
  display: flex;
  align-items: center;
  display: none;
}

@keyframes fadein {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}


.comment-box .embed-video iframe {
  max-height: 80px;
}
.messageItemM .messageItem .bubble:has(.embed-video iframe) {
  width: 100%;
}