/* Bosla feature chunk: ticker — conditional bundle (audit P1-A). */

.bosla-ticker {
	display: flex;
	align-items: stretch;
	gap: 0;
	background: var(--bosla-color-ink, #1d2327);
	color: #fff;
	block-size: 2.5rem;
	overflow: hidden;
}

.bosla-ticker-label {
	display: inline-flex;
	align-items: center;
	padding-inline: 0.9rem;
	background: var(--bosla-color-accent, #3858e9);
	color: #fff;
	font-weight: 700;
	font-size: 0.85rem;
	white-space: nowrap;
	flex: none;
}

.bosla-ticker-viewport {
	overflow: hidden;
	display: flex;
	align-items: center;
	flex: 1;
	min-block-size: 0;
}

.bosla-ticker-track {
	display: inline-flex;
	align-items: center;
	gap: 2.5rem;
	padding-inline-start: 2.5rem;
	white-space: nowrap;
	animation: bosla-ticker-ltr 40s linear infinite;
	will-change: transform;
}

[dir="rtl"] .bosla-ticker-track {
	animation-name: bosla-ticker-rtl;
}

.bosla-ticker:hover .bosla-ticker-track {
	animation-play-state: paused;
}

.bosla-ticker-item {
	color: #fff;
	color: rgb(255 255 255 / 0.92);
	font-size: 0.9rem;
	text-decoration: none;
}

.bosla-ticker-item:hover {
	color: #fff;
	text-decoration: underline;
}

@keyframes bosla-ticker-ltr {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

@keyframes bosla-ticker-rtl {
	from { transform: translateX(0); }
	to { transform: translateX(50%); }
}

@media (prefers-reduced-motion: reduce) {
	.bosla-ticker-track {
		animation: none;
	}
}

.bosla-ticker-track{animation-duration:var(--bosla-ticker-duration,40s)}
.bosla-ticker[data-bosla-pause="off"]:hover .bosla-ticker-track{animation-play-state:running}
