.stream-toast-host {
	position: fixed;
	top: 16px;
	right: 16px;
	z-index: 10050;
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-width: min(420px, calc(100vw - 32px));
	pointer-events: none;
}

.stream-toast {
	pointer-events: auto;
	padding: 12px 14px;
	border-radius: var(--stream-radius-sm, 10px);
	box-shadow: 0 10px 28px var(--stream-color-shadow, rgba(55, 65, 81, 0.18));
	background: var(--stream-color-modal-surface, #fff);
	border: 1px solid var(--stream-color-border, #e5e7eb);
	color: var(--stream-color-heading, #1f2328);
	font-family: var(--stream-font-family, system-ui, sans-serif);
	font-size: 13px;
	line-height: 1.4;
	cursor: pointer;
	animation: stream-toast-in 160ms ease-out;
}

.stream-toast-title {
	font-weight: 600;
	margin-bottom: 2px;
}

.stream-toast-msg {
	color: var(--stream-color-text, #5e656e);
	white-space: pre-wrap;
}

.stream-toast-success {
	border-left: 4px solid var(--stream-color-success, #0f9d68);
}

.stream-toast-error {
	border-left: 4px solid var(--stream-color-danger, #d63b3b);
}

.stream-toast-out {
	opacity: 0;
	transform: translateY(-6px);
	transition: opacity 160ms ease, transform 160ms ease;
}

@keyframes stream-toast-in {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
