.welcome-toast {
    --welcome-bg: #fff; --welcome-ink: #164b38; --welcome-accent: #168454;
    position: fixed; z-index: 1050; top: 88px; right: 24px;
    display: flex; align-items: center; gap: 14px;
    box-sizing: border-box; width: max-content; max-width: min(440px, calc(100vw - 32px));
    padding: 18px 20px; border: 1px solid #c5dfd1; border-radius: 18px;
    background: var(--welcome-bg); color: var(--welcome-ink);
    box-shadow: 0 12px 36px #123d2924;
    font: 400 clamp(16px, 1.6rem, 22px)/1.45 Arial, sans-serif;
    opacity: 0; translate: 0 -12px;
    transition: opacity 220ms ease, translate 280ms cubic-bezier(.2,.8,.2,1);
    overflow: hidden; pointer-events: none;
}
.welcome-toast.is-visible { opacity: 1; translate: 0 0; pointer-events: auto; }
.welcome-toast[hidden] { display: none !important; }
.welcome-toast__icon { display: grid; place-items: center; flex: 0 0 38px; height: 38px; border-radius: 50%; background: #e4f4eb; color: #127448; font-size: 2.2rem; }
.welcome-toast__copy { min-width: 0; }
.welcome-toast__copy strong { display: block; font-size: 1em; overflow-wrap: anywhere; }
.welcome-toast__copy > span { display: block; margin-top: 3px; font-size: .85em; opacity: .8; }
.welcome-toast .welcome-toast__close { flex: 0 0 36px; width: 36px; height: 36px; padding: 0; margin: 0 0 0 4px; border: 0; border-radius: 50%; background: transparent; color: inherit; font: 400 26px/1 Arial,sans-serif; cursor: pointer; }
.welcome-toast .welcome-toast__close:hover { background: #7c9f8626; }
.welcome-toast .welcome-toast__close:focus-visible { outline: 3px solid #c77b21; outline-offset: 2px; }
.welcome-toast__timer { position: absolute; bottom: 0; left: 0; height: 3px; width: 100%; background: var(--welcome-accent); transform-origin: left; }
.welcome-toast.is-visible .welcome-toast__timer { animation: welcome-countdown 3s linear forwards; }
.welcome-toast.is-paused .welcome-toast__timer { animation-play-state: paused; }
.welcome-toast--2 { --welcome-bg: #145438; --welcome-ink: #fff; --welcome-accent: #b6dea9; border: 0; border-radius: 50px; }
.welcome-toast--2 .welcome-toast__icon { background: #ffffff20; color: #dbf1cb; }
.welcome-toast--3 { --welcome-bg: #fff9ed; --welcome-ink: #533919; --welcome-accent: #ce923d; border-color: #e7c88e; border-top: 4px solid #d59b49; border-radius: 12px; }
.welcome-toast--3 .welcome-toast__icon { color: #98611c; background: #f7e6c6; }
.welcome-toast--4 { --welcome-bg: #f0faf5f2; backdrop-filter: blur(18px); border: 1px solid #fff; box-shadow: 0 8px 32px #184b3926, inset 0 0 0 1px #cde4d8; border-radius: 24px; }
.welcome-toast--4 .welcome-toast__icon { border-radius: 12px; background: #fff; }
.welcome-toast--5 { border: 0; border-left: 5px solid #168454; border-radius: 8px; box-shadow: 0 6px 24px #123d291c; }
.welcome-toast--5 .welcome-toast__icon { background: transparent; font-size: 2.8rem; }
.welcome-toast--6 { --welcome-bg: #ecf6ed; --welcome-accent: #b38a43; border-color: #b7d5ba; padding: 24px; border-radius: 24px; }
.welcome-toast--6 .welcome-toast__icon { background: #145438; color: #f3db9c; width: 46px; height: 46px; flex-basis: 46px; }
html[data-theme="dark"] .welcome-toast, body.dark-mode .welcome-toast { --welcome-bg: #18392d; --welcome-ink: #edf7f0; border-color: #557765; }
@keyframes welcome-countdown { to { transform: scaleX(0); } }
@media (max-width: 600px) { .welcome-toast { top: 80px; left: 16px; right: 16px; width: calc(100vw - 32px); padding: 14px; gap: 10px; } }
@media (prefers-reduced-motion: reduce) { .welcome-toast { transition: none; translate: none; } .welcome-toast__timer { display: none; } }
