#toast.nyvi-feedback[hidden] { display: none; }
#toast.nyvi-feedback.visible {
  --feedback-ink: var(--ink, #352731);
  --feedback-surface: var(--surface, #fff);
  --feedback-tint: #f7e9f0;
  --feedback-symbol: #8e365e;
  position: fixed;
  inset: auto auto calc(86px + env(safe-area-inset-bottom, 0px)) 50%;
  z-index: 10020;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
  width: max-content;
  max-width: min(480px, calc(100% - 24px));
  min-width: min(255px, calc(100% - 24px));
  margin: 0;
  padding: 6px 8px 6px 12px;
  border: 1px solid var(--border, #dbcdd6);
  border-radius: 17px;
  background: var(--feedback-surface);
  color: var(--feedback-ink);
  box-shadow: 0 5px 26px #25121f26;
  text-align: start;
  font: inherit;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%);
  animation: nyvi-feedback-enter 170ms ease-out both;
}
#toast.nyvi-feedback[data-tone="success"] { --feedback-tint: #e0f2ea; --feedback-symbol: #226446; }
#toast.nyvi-feedback[data-tone="error"] { --feedback-tint: #fce7e8; --feedback-symbol: #992e42; }
#toast.nyvi-feedback .nyvi-feedback-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--feedback-symbol);
  background: var(--feedback-tint);
}
#toast.nyvi-feedback svg { width: 22px; height: 22px; animation: nyvi-feedback-symbol 230ms ease-out; }
#toast.nyvi-feedback[data-tone="success"] path { stroke-dasharray: 24; animation: nyvi-feedback-check 280ms ease-out; }
#toast.nyvi-feedback .nyvi-feedback-message { font-size: .91rem; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
#toast.nyvi-feedback .nyvi-feedback-close {
  appearance: none;
  display: inline-grid;
  place-items: center;
  width: auto;
  min-width: 44px;
  height: auto;
  min-height: 44px;
  margin: 0;
  padding: 4px 8px;
  border: 0;
  border-radius: 11px;
  box-shadow: none;
  color: inherit;
  background: transparent;
  font: inherit;
  font-size: .81rem;
  font-weight: 700;
  cursor: pointer;
}
#toast.nyvi-feedback .nyvi-feedback-close:focus-visible { outline: 2px solid currentColor; outline-offset: -3px; }
#toast.nyvi-feedback .nyvi-feedback-close:hover { background: color-mix(in srgb, currentColor 7%, transparent); }
@media (min-width: 800px) {
  #toast.nyvi-feedback.visible { bottom: max(24px, env(safe-area-inset-bottom, 0px)); }
}
@keyframes nyvi-feedback-enter { from { opacity: 0; transform: translate(-50%, 5px); } }
@keyframes nyvi-feedback-symbol { from { opacity: 0; transform: scale(.8); } }
@keyframes nyvi-feedback-check { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  #toast.nyvi-feedback.visible, #toast.nyvi-feedback svg, #toast.nyvi-feedback path { animation: none; transition: none; }
}
