/* TOPFM News Ticker v2 — breaking-news style */

.topfm-ticker {
	background: #fff;
	border: 1px solid #e6e9ef;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(15, 23, 42, .06);
}
.topfm-ticker .tt-head {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	font-weight: 800;
	font-size: 13.5px;
	letter-spacing: .4px;
	color: #fff;
	background: linear-gradient(90deg, #d61f4f 0%, #ff4d6d 100%);
}
.topfm-ticker .tt-live {
	width: 9px; height: 9px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 0 0 rgba(255, 255, 255, .9);
	animation: tt-pulse 1.6s infinite;
	flex: none;
}
@keyframes tt-pulse {
	0%   { box-shadow: 0 0 0 0 rgba(255,255,255,.85); }
	70%  { box-shadow: 0 0 0 7px rgba(255,255,255,0); }
	100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
.topfm-ticker .tt-viewport {
	position: relative;
	height: 340px;
	overflow: hidden;
}
.topfm-ticker .tt-list {
	list-style: none;
	margin: 0;
	padding: 0;
	animation: tt-scroll linear infinite;
	will-change: transform;
}
.topfm-ticker .tt-viewport:hover .tt-list { animation-play-state: paused; }
@keyframes tt-scroll {
	0%   { transform: translateY(0); }
	100% { transform: translateY(-50%); }
}
.topfm-ticker li { border-bottom: 1px solid #f1f3f7; }
.topfm-ticker li:last-child { border-bottom: none; }
.topfm-ticker a {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	padding: 11px 14px;
	text-decoration: none;
	transition: background .15s;
}
.topfm-ticker a:hover { background: #f8f9fc; }
.topfm-ticker .tt-cat {
	flex: none;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .6px;
	color: #fff;
	padding: 3px 8px;
	border-radius: 4px;
	line-height: 1;
}
.topfm-ticker .tt-title {
	flex: 1 1 100%;
	order: 2;
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.4;
	color: #16202e;
}
.topfm-ticker a:hover .tt-title { color: #d61f4f; }
.topfm-ticker .tt-time {
	order: 3;
	margin-left: auto;
	flex: none;
	font-size: 11.5px;
	font-weight: 500;
	color: #8a94a6;
	white-space: nowrap;
}
.topfm-ticker .tt-foot {
	display: flex;
	justify-content: center;
	gap: 18px;
	padding: 7px 0 8px;
	background: #fbfcfe;
	border-top: 1px solid #eef1f6;
}
.topfm-ticker .tt-arrow {
	font-size: 10px;
	color: #a5aebb;
	cursor: pointer;
	user-select: none;
	transition: color .15s;
}
.topfm-ticker .tt-arrow:hover { color: #d61f4f; }
