.nova-toast-wrap{
  position: fixed;
  top: auto;
  left: 16px;
  bottom: 24px;
  right: auto;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.nova-toast{
  width: min(420px, calc(100vw - 32px));
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(15,23,42,.16);
  padding: 14px 14px;
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 12px;
  align-items: center;
  pointer-events: auto;
}

.nova-toast__icon{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(16,185,129,.14);
  color: rgba(6,95,70,.95);
}

.nova-toast__icon--file{
  background: rgba(99,102,241,.14);
  color: rgba(49,46,129,.95);
}

.nova-toast__title{
  font-weight: 800;
  font-size: 18px;
  line-height: 1.2;
  color: rgba(15,23,42,.96);
}

.nova-toast__msg{
  font-size: 14px;
  line-height: 1.3;
  color: rgba(15,23,42,.70);
  margin-top: 2px;
}

.nova-toast__text{ min-width: 0; }

.nova-toast__btn{
  border: 1px solid rgba(124,58,237,.28);
  background: rgba(124,58,237,.08);
  color: rgba(124,58,237,.95);
  border-radius: 12px;
  padding: 9px 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.nova-toast__btn:hover{ filter: brightness(.98); }

@media (max-width: 640px){
  /* Mobile toast matches screenshot: bottom sheet style */
  .nova-toast-wrap{
    top: auto;
    right: 0;
    left: 0;
    bottom: 80px;
    padding: 0 12px;
    align-items: center;
  }
  .nova-toast{
    width: 100%;
    grid-template-columns: 38px 1fr auto;
    border-radius: 18px;
    padding: 14px;
  }
  .nova-toast__title{ font-size: 16px; }
  .nova-toast__msg{ font-size: 13px; }
  .nova-toast__btn{ padding: 9px 12px; font-size: 13px; }
}
