/* Self-contained: safe to include in any HTML/Vue page. */
.hero-toast-host {
  position: fixed;
  z-index: 2147483000;
  top: max(18px, env(safe-area-inset-top));
  right: max(18px, env(safe-area-inset-right));
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  width: min(420px, calc(100vw - 36px));
  pointer-events: none;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.hero-toast {
  --toast-accent: #75cfa2;
  box-sizing: border-box;
  width: 100%;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 28px;
  align-items: start;
  gap: 11px;
  padding: 15px 13px 15px 15px;
  border: 1px solid rgba(248, 190, 84, .32);
  border-left: 3px solid var(--toast-accent);
  border-radius: 14px;
  background: linear-gradient(125deg, rgba(32, 26, 20, .98), rgba(12, 13, 17, .98));
  box-shadow: 0 18px 55px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,215,140,.08);
  color: #f9f1e7;
  pointer-events: auto;
  overflow-wrap: anywhere;
  animation: hero-toast-in .18s cubic-bezier(.2,.8,.2,1) both;
}
.hero-toast--error { --toast-accent: #ff7279; }
.hero-toast--warning { --toast-accent: #ffc167; }
.hero-toast--info { --toast-accent: #82baf8; }
.hero-toast__glyph {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: color-mix(in srgb, var(--toast-accent) 14%, transparent);
  color: var(--toast-accent);
}
.hero-toast__glyph svg { width: 21px; height: 21px; }
.hero-toast__copy { min-width: 0; padding-top: 1px; }
.hero-toast__copy strong { font-size: 14px; font-weight: 650; line-height: 1.3; }
.hero-toast__copy p { margin: 5px 0 0; font-size: 12.5px; line-height: 1.48; color: #cfc5bb; white-space: pre-wrap; }
.hero-toast__close {
  box-sizing: border-box;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #c5b9a9;
  cursor: pointer;
}
.hero-toast__close:hover { background: rgba(255,255,255,.08); color: #fff; }
.hero-toast__close:focus-visible { outline: 2px solid var(--toast-accent); outline-offset: 2px; }
.hero-toast__close svg { width: 17px; height: 17px; }
@keyframes hero-toast-in { from { opacity: 0; transform: translate3d(22px,-5px,0); } to { opacity: 1; transform: none; } }
@media (max-width: 480px) {
  .hero-toast-host { left: 12px; right: 12px; top: max(12px,env(safe-area-inset-top)); width: auto; }
}
@media (prefers-reduced-motion: reduce) { .hero-toast { animation: none; } }
