.notification-toast-container {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: 100%;
  max-width: 420px;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  padding: 10px 14px;
}

.notification-toast {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12), 0 2px 8px rgba(15, 23, 42, 0.06);
  border: 0.5px solid rgba(60, 60, 67, 0.16);
  pointer-events: auto;
  cursor: pointer;
  transform: translateY(-120%);
  opacity: 0;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.3s ease;
  backdrop-filter: saturate(1.8) blur(20px);
  -webkit-backdrop-filter: saturate(1.8) blur(20px);
}

.notification-toast--visible {
  transform: translateY(0);
  opacity: 1;
}

.notification-toast--hidden {
  transform: translateY(-120%);
  opacity: 0;
}

.notification-toast__icon {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.notification-toast__icon-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.notification-toast__icon--huimengyu {
  background: linear-gradient(135deg, #e8d5f5, #d4c2e8);
  color: #7b5ea7;
  font-size: 14px;
  font-weight: 700;
}

.notification-toast__icon--fengxinlou {
  background: linear-gradient(135deg, #f5e6d3, #e8d5bc);
  color: #a67c46;
  font-size: 14px;
  font-weight: 700;
}

.notification-toast__icon-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.notification-toast__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.notification-toast__app-name {
  font-size: 11px;
  font-weight: 600;
  color: #8e8e93;
  line-height: 1.25;
}

.notification-toast__message {
  font-size: 14px;
  font-weight: 400;
  color: #111111;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notification-toast__time {
  flex: 0 0 auto;
  align-self:flex-end;
  font-size:11px;
  color:#8e8e93;
  white-space:nowrap;
  margin-left:6px;
  padding-bottom:1px;
}

@media (max-width: 420px) {
  .notification-toast-container {
    padding: 8px 10px;
  }

  .notification-toast {
    padding: 10px 12px;
    border-radius: 14px;
  }
}

@supports (padding: env(safe-area-inset-top)) {
  .notification-toast-container {
    padding-top: calc(10px + env(safe-area-inset-top));
  }
}
