.ifil-notices-stack {
	position: fixed;
	top: 16px;
	right: 16px;
	z-index: 10000080;
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: min(400px, calc(100vw - 32px));
	pointer-events: none;
}

.ifil-notice-toast {
	position: relative;
	overflow: hidden;
	pointer-events: auto;
	padding: 14px 16px 12px;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	background: rgba(255, 255, 255, 0.72);
	backdrop-filter: blur(14px) saturate(1.2);
	-webkit-backdrop-filter: blur(14px) saturate(1.2);
	box-shadow: 0 8px 32px rgba(58, 58, 58, 0.12);
	color: #1a1a1a;
	font-size: 0.875rem;
	line-height: 1.45;
	animation: ifil-notice-in 0.35s ease;
}

.ifil-notice-toast__inner {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

.ifil-notice-toast__icon {
	flex-shrink: 0;
	width: 22px;
	text-align: center;
	margin-top: 1px;
}

.ifil-notice-toast__body {
	flex: 1;
	min-width: 0;
}

.ifil-notice-toast__body p {
	margin: 0 0 0.35rem;
}

.ifil-notice-toast__body p:last-child {
	margin-bottom: 0;
}

.ifil-notice-toast__close {
	flex-shrink: 0;
	border: 0;
	background: transparent;
	color: inherit;
	opacity: 0.55;
	cursor: pointer;
	padding: 2px 4px;
	font-size: 1rem;
	line-height: 1;
}

.ifil-notice-toast__close:hover {
	opacity: 1;
}

.ifil-notice-toast__progress {
	position: absolute;
	left: 0;
	bottom: 0;
	height: 3px;
	width: 100%;
	transform-origin: left center;
	animation: ifil-notice-progress linear forwards;
}

.ifil-notice-toast--success {
	border-color: rgba(34, 197, 94, 0.35);
	background: rgba(240, 253, 244, 0.85);
}

.ifil-notice-toast--success .ifil-notice-toast__icon {
	color: #16a34a;
}

.ifil-notice-toast--success .ifil-notice-toast__progress {
	background: linear-gradient(90deg, #22c55e, #16a34a);
}

.ifil-notice-toast--error {
	border-color: rgba(239, 68, 68, 0.35);
	background: rgba(254, 242, 242, 0.88);
}

.ifil-notice-toast--error .ifil-notice-toast__icon {
	color: #dc2626;
}

.ifil-notice-toast--error .ifil-notice-toast__progress {
	background: linear-gradient(90deg, #f87171, #dc2626);
}

.ifil-notice-toast--info {
	border-color: rgba(59, 130, 246, 0.3);
	background: rgba(239, 246, 255, 0.88);
}

.ifil-notice-toast--info .ifil-notice-toast__icon {
	color: #2563eb;
}

.ifil-notice-toast--info .ifil-notice-toast__progress {
	background: linear-gradient(90deg, #60a5fa, #2563eb);
}

@keyframes ifil-notice-in {
	from {
		opacity: 0;
		transform: translateY(-8px) translateX(12px);
	}
	to {
		opacity: 1;
		transform: translateY(0) translateX(0);
	}
}

@keyframes ifil-notice-progress {
	from {
		transform: scaleX(1);
	}
	to {
		transform: scaleX(0);
	}
}
