/* Notification component: visual refinement over the shared .toast base. */
#toast.toast {
  --notice-accent: #c1d2a1;
  --notice-tint: rgba(193, 210, 161, .09);
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 40px;
  align-items: start;
  gap: 12px;
  width: min(420px, calc(100vw - 48px));
  max-width: none;
  padding: 17px 12px 17px 17px;
  right: 24px;
  left: auto;
  bottom: calc(24px + var(--safe-b, 0px));
  border: 1px solid rgba(193, 210, 161, .23);
  border-radius: 16px;
  background: #1a241e;
  color: #edf2e8;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .32), 0 2px 8px rgba(0, 0, 0, .16);
  font-family: var(--ff);
  font-weight: 400;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  will-change: auto;
}
#toast.toast.show { opacity: 1; visibility: visible; transform: translateY(0); }
#toast.toast.err { --notice-accent: #f0b6aa; --notice-tint: rgba(240, 182, 170, .09); border-color: rgba(240, 182, 170, .3); }
#toast .toast-icon { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--notice-accent); border-radius: 12px; color: var(--notice-accent); background: var(--notice-tint); }
#toast .toast-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#toast .toast-content { min-width: 0; padding-top: 1px; }
#toast .toast-title { margin: 0 0 4px; color: var(--notice-accent); font-size: 13px; font-weight: 650; line-height: 1.4; letter-spacing: .01em; }
#toast #tMsg { margin: 0; color: #e3e9df; font-size: 12px; font-weight: 400; line-height: 1.65; overflow-wrap: anywhere; }
#toast .toast-close { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; margin: -4px 0 0; border: 0; border-radius: 10px; background: transparent; color: #aebcae; cursor: pointer; }
#toast .toast-close svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
#toast.show .toast-close { pointer-events: auto; }
#toast .toast-close:hover { color: #edf2e8; background: rgba(255, 255, 255, .06); }
#toast .toast-close:focus-visible { outline: 2px solid var(--notice-accent); outline-offset: 1px; }
.toast-announcement { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 760px) {
  #toast.toast { width: auto; left: 12px; right: 12px; bottom: calc(var(--tbh, 72px) + var(--safe-b, 0px) + 12px); gap: 10px; padding: 15px 10px 15px 14px; border-radius: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  #toast.toast { transition: none; transform: none; }
}
