/* ATOSY 345D — LATEST TOAST WINS */
.atosy-object-toast-345d {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 2147483600;
  width: min(370px, calc(100vw - 32px));
  min-height: 76px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-sizing: border-box;
  padding: 16px 38px 19px 16px;
  color: #f4f8ff;
  background: linear-gradient(
    145deg,
    rgba(25, 64, 120, .95),
    rgba(9, 29, 65, .97)
  );
  border: 1px solid rgba(123, 177, 245, .36);
  border-radius: 16px;
  box-shadow:
    0 14px 36px rgba(0, 11, 37, .38),
    inset 0 1px 0 rgba(255,255,255,.10);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  font: 13px/1.5 system-ui, -apple-system, sans-serif;
  animation: atosy-toast-enter-345d .20s ease-out both;
  overflow: hidden;
}

.atosy-toast-icon-345d {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #6ff0c8;
  background: rgba(73, 223, 181, .13);
  border: 1px solid rgba(94, 228, 189, .50);
  font-size: 15px;
  font-weight: 800;
}

.atosy-object-toast-345d.is-error .atosy-toast-icon-345d {
  color: #ff9da9;
  background: rgba(255, 100, 120, .12);
  border-color: rgba(255, 145, 160, .50);
}

.atosy-toast-content-345d {
  min-width: 0;
  flex: 1;
}

.atosy-toast-content-345d strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 3px;
}

.atosy-toast-detail-345d {
  white-space: pre-line;
  overflow-wrap: anywhere;
  color: #c5d8f4;
}

.atosy-toast-close-345d {
  position: absolute;
  top: 9px;
  right: 12px;
  border: 0;
  background: transparent;
  color: #b5ccec;
  font-size: 20px;
  line-height: 24px;
  cursor: pointer;
}

.atosy-toast-progress-345d {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #62dfbd;
  transform-origin: left;
  animation: atosy-toast-progress-345d 3s linear forwards;
}

.atosy-object-toast-345d.is-error
.atosy-toast-progress-345d {
  background: #ff91a0;
}

@keyframes atosy-toast-enter-345d {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes atosy-toast-progress-345d {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

@media (max-width: 600px) {
  .atosy-object-toast-345d {
    right: 16px;
    bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .atosy-object-toast-345d {
    animation: none;
  }
}
