/* Native football chrome. Self-contained so it still reads as the site shell
   on futemax-guide and on darker H5 / casino themes. */

#fmsa-root:empty {
	display: none;
}

.fmsa-ticker,
.fmsa-canals,
.fmsa-chip,
.fmsa-hub-card,
.fmsa-toast {
	--fmsa-lime: #dfff3a;
	--fmsa-live: #ef4444;
	--fmsa-bg: #070d0a;
	--fmsa-ink: #e8f2ec;
	--fmsa-muted: #8aa399;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	box-sizing: border-box;
}

.fmsa-ticker *,
.fmsa-canals *,
.fmsa-hub-card *,
.fmsa-toast * {
	box-sizing: border-box;
}

.fmsa-ticker {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	width: 100%;
	min-height: 34px;
	padding: 0.35rem 0.9rem;
	background: linear-gradient(90deg, #0a0a0c 0%, #10180f 55%, #0a0a0c 100%);
	border-bottom: 1px solid rgba(223, 255, 58, 0.28);
	color: var(--fmsa-ink);
	text-decoration: none !important;
	line-height: 1.2;
}

.fmsa-ticker:hover {
	filter: brightness(1.06);
	text-decoration: none !important;
}

.fmsa-ticker__dot {
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--fmsa-live);
	box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.65);
	animation: fmsa-pulse 1.6s ease-out infinite;
}

.fmsa-ticker__label {
	flex: 0 0 auto;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	color: var(--fmsa-live);
}

.fmsa-ticker__text {
	flex: 1 1 auto;
	min-width: 0;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--fmsa-ink);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.fmsa-ticker__go {
	flex: 0 0 auto;
	padding: 0.18rem 0.65rem;
	border-radius: 999px;
	background: var(--fmsa-lime);
	color: #111;
	font-size: 0.72rem;
	font-weight: 800;
}

.fmsa-canals {
	display: block;
	padding: 0.65rem 0.9rem 0.8rem;
	background: #050505;
	border-bottom: 1px solid rgba(223, 255, 58, 0.22);
}

.fmsa-canals[hidden] {
	display: none !important;
}

.fmsa-canals__kicker {
	margin: 0 0 0.45rem;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--fmsa-lime);
}

.fmsa-canals__row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 0.65rem;
}

.fmsa-chip {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 6.2rem;
	padding: 0.4rem 0.9rem;
	border-radius: 999px;
	border: 1px solid var(--fmsa-lime);
	background: #111;
	color: var(--fmsa-lime) !important;
	font-size: 0.86rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none !important;
	cursor: pointer;
}

.fmsa-chip:hover {
	background: #1a1a1a;
	box-shadow: 0 0 0 1px var(--fmsa-lime);
	text-decoration: none !important;
}

.sac-watch-player__opt.fmsa-player-chip {
	text-decoration: none !important;
}

.fmsa-hub-item {
	list-style: none;
	margin: 0;
	padding: 0;
}

.fmsa-hub-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 168px;
	border-radius: 10px;
	overflow: hidden;
	text-decoration: none !important;
	color: inherit !important;
	border: 1px solid rgba(223, 255, 58, 0.28);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
	isolation: isolate;
}

.fmsa-hub-card:hover {
	transform: translateY(-3px);
	border-color: rgba(223, 255, 58, 0.55);
	text-decoration: none !important;
}

.fmsa-hub-card__bg {
	position: absolute;
	inset: 0;
	background: linear-gradient(145deg, #16301f 0%, #0b140f 48%, #12261a 100%);
	z-index: 0;
}

.fmsa-hub-card__pulse {
	position: absolute;
	z-index: 2;
	top: 0.55rem;
	left: 0.55rem;
	padding: 0.18rem 0.5rem;
	border-radius: 4px;
	background: var(--fmsa-lime);
	color: #0a0a0a;
	font-size: 0.62rem;
	font-weight: 800;
	letter-spacing: 0.08em;
}

.fmsa-hub-card__logos {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.35rem;
	padding: 1.55rem 0.75rem 0.85rem;
	flex: 1 1 auto;
}

.fmsa-hub-card__orb,
.fmsa-hub-card__mid {
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	font-weight: 900;
	letter-spacing: 0.02em;
}

.fmsa-hub-card__orb {
	width: 52px;
	height: 52px;
	background: rgba(0, 0, 0, 0.4);
	border: 1px solid rgba(255, 255, 55, 0.28);
	color: #e8f2ec;
	font-size: 0.72rem;
}

.fmsa-hub-card__mid {
	width: 44px;
	height: 44px;
	border-radius: 8px;
	background: #000;
	border: 2px solid var(--fmsa-lime);
	color: var(--fmsa-lime);
	font-size: 0.62rem;
}

.fmsa-hub-card__bar {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	padding: 0.65rem 0.75rem 0.75rem;
	background: #000;
}

.fmsa-hub-card__title {
	font-weight: 800;
	font-size: 0.88rem;
	color: #fff;
}

.fmsa-hub-card__sub {
	font-size: 0.78rem;
	font-weight: 700;
	color: #86efac;
}

.fmsa-hub-card--compact {
	min-height: 0;
	flex-direction: row;
	align-items: stretch;
	border-radius: 8px;
}

.fmsa-hub-card--compact .fmsa-hub-card__pulse {
	position: static;
	align-self: center;
	margin-left: 0.55rem;
}

.fmsa-hub-card--compact .fmsa-hub-card__logos {
	flex: 0 0 34%;
	max-width: 150px;
	padding: 0.45rem;
}

.fmsa-hub-card--compact .fmsa-hub-card__orb {
	width: 36px;
	height: 36px;
	font-size: 0.6rem;
}

.fmsa-hub-card--compact .fmsa-hub-card__mid {
	width: 34px;
	height: 34px;
	font-size: 0.52rem;
}

.fmsa-hub-card--compact .fmsa-hub-card__bar {
	flex: 1 1 auto;
	justify-content: center;
}

.fmsa-toast {
	position: fixed;
	z-index: 80;
	left: 0.85rem;
	right: 0.85rem;
	bottom: 4.75rem;
	max-width: 360px;
	padding: 0.9rem 1rem 1rem;
	border-radius: 12px;
	background: #0b120e;
	border: 1px solid rgba(223, 255, 58, 0.4);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
	color: var(--fmsa-ink);
}

.fmsa-toast[hidden] {
	display: none !important;
}

@media (min-width: 720px) {
	.fmsa-toast {
		left: 1.1rem;
		right: auto;
		bottom: 1.1rem;
		width: 340px;
	}
}

.fmsa-toast__close {
	position: absolute;
	top: 0.25rem;
	right: 0.35rem;
	width: 32px;
	height: 32px;
	border: 0;
	background: transparent;
	color: var(--fmsa-muted);
	font-size: 1.35rem;
	line-height: 1;
	cursor: pointer;
}

.fmsa-toast__kicker {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0 1.5rem 0.35rem 0;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	color: var(--fmsa-live);
}

.fmsa-toast__title {
	margin: 0 0 0.7rem;
	font-size: 0.95rem;
	font-weight: 700;
	color: #fff;
}

.fmsa-toast__cta {
	display: inline-flex;
	padding: 0.45rem 0.9rem;
	border-radius: 999px;
	background: var(--fmsa-lime);
	color: #111 !important;
	font-weight: 800;
	font-size: 0.82rem;
	text-decoration: none !important;
}

.fmsa-toast__cta:hover {
	filter: brightness(1.05);
}

@keyframes fmsa-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.65);
	}
	70% {
		box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.fmsa-ticker__dot,
	.fmsa-toast__kicker .fmsa-ticker__dot {
		animation: none;
	}

	.fmsa-hub-card:hover {
		transform: none;
	}
}
