/* =====================================================================
   msg-notify — card flutuante de nova mensagem (canto inferior direito)
   ===================================================================== */
#msgNotify {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80; /* acima do conteúdo, abaixo dos dialogs (60-70 usam top layer) */
  display: flex;
  flex-direction: column-reverse; /* mais novo embaixo, empurra os antigos pra cima */
  gap: 10px;
  pointer-events: none; /* o container não intercepta; os cards sim */
}
#msgNotify[hidden] { display: none; }

.mn-card {
  pointer-events: auto;
  width: 320px;
  max-width: calc(100vw - 36px);
  background: #ffffff;
  color: #232323;
  border: 1px solid rgba(35,35,35,.10);
  border-radius: 12px;
  box-shadow: 0 12px 34px rgba(0,0,0,.18);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-family: 'Manrope', system-ui, sans-serif;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .22s ease, transform .22s ease;
}
.mn-card.is-in { opacity: 1; transform: none; }
.mn-card:hover { border-color: rgba(75,44,255,.35); }

.mn-card__av {
  width: 40px; height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  object-fit: cover;
  background: #eef0f4;
}
.mn-card__av--ph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9aa1ac;
  font-size: 16px;
}

.mn-card__body { flex: 1 1 auto; min-width: 0; }
.mn-card__name {
  font-size: 13px;
  font-weight: 800;
  color: #16113d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mn-card__text {
  font-size: 12px;
  font-weight: 500;
  color: #5b6270;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mn-card__x {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #9aa1ac;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}
.mn-card__x:hover { background: rgba(0,0,0,.06); color: #232323; }

@media (max-width: 600px) {
  #msgNotify { right: 8px; bottom: 8px; left: 8px; }
  .mn-card { width: auto; }
}
