/*
 * [ctlive_event_live]. Neutral by default so it sits on a white Total page;
 * a theme restyles it through the custom properties below (the Events Hub maps
 * them to its own tokens) rather than by overriding selectors.
 */
.ltf-ct-evlive {
	--ltf-evlive-surface: #f4f4f2;
	--ltf-evlive-text: inherit;
	--ltf-evlive-muted: #6b6b70;
	--ltf-evlive-live: #e5322d;
	--ltf-evlive-radius: 12px;
	--ltf-evlive-gap: 16px;
	display: flex;
	flex-direction: column;
	gap: var(--ltf-evlive-gap);
}
.ltf-ct-evlive[hidden], .ltf-ct-evlive [hidden] { display: none !important; }
.ltf-ct-evlive__card {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 16px;
	border-radius: var(--ltf-evlive-radius);
	background: var(--ltf-evlive-surface);
	color: var(--ltf-evlive-text);
}
.ltf-ct-evlive__live { display: flex; flex-direction: column; gap: 10px; }
.ltf-ct-evlive__kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ltf-evlive-muted);
}
.ltf-ct-evlive__title { font-size: 20px; font-weight: 700; color: var(--ltf-evlive-text); }
.ltf-ct-evlive__meta { font-size: 14px; color: var(--ltf-evlive-muted); }
.ltf-ct-evlive__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--ltf-evlive-live);
	animation: ltf-evlive-pulse 1.6s ease-in-out infinite;
}
@keyframes ltf-evlive-pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .ltf-ct-evlive__dot { animation: none; } }
.ltf-ct-evlive__player {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: var(--ltf-evlive-radius);
	overflow: hidden;
	background: #000;
}
.ltf-ct-evlive__player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ltf-ct-evlive__link { font-size: 14px; font-weight: 600; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.ltf-ct-evlive__heading { margin: 8px 0 4px; font-size: 18px; }
.ltf-ct-evlive__results { display: flex; flex-direction: column; gap: 8px; min-width: 0; }

/* Full results on CT Live (0.32.0): the block-level button the Leadville live
   pages use, recoloured through the same custom properties as the rest. */
.ltf-ct-evlive__button {
	display: block; padding: 12px 18px; border-radius: 6px; text-align: center;
	background: var(--ltf-evlive-button, #231f20); color: var(--ltf-evlive-button-text, #ffffff) !important;
	font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; text-decoration: none !important;
}

/* Playlist mode (0.33.0): the clip row under the player. */
.ltf-ct-evlive__clips { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.ltf-ct-evlive__clips[hidden] { display: none; }
.ltf-ct-evlive__cliprow { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.ltf-ct-evlive__clip { flex: 0 0 160px; display: flex; flex-direction: column; gap: 6px; color: inherit !important; text-decoration: none !important; scroll-snap-align: start; }
.ltf-ct-evlive__clip img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; display: block; border: 2px solid transparent; box-sizing: border-box; }
.ltf-ct-evlive__clip.is-on img { border-color: currentColor; }
.ltf-ct-evlive__cliptitle { font-size: 12px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
