  /* Âé¶¹´«Ã½Ó³»­ Unscripted â€” sitewide persistent player (fixed brand colors) */

.sf-unscripted-player {
	--unscripted-max: 56rem;
	--player-bg: #003366;
	--player-fg: #f4f9fd;
	--player-muted: #a8b8c8;
	--player-accent: #1578c1;
	--player-accent-bright: #7bafd4;
	--player-gold: #f4bb33;
	--player-border: rgba(21, 120, 193, 0.35);
	--player-track: rgba(255, 255, 255, 0.15);
	color-scheme: dark;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 1040;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	overflow-x: clip;
	background: var(--player-bg);
	color: var(--player-fg);
	border-top: 1px solid var(--player-border);
	transform: translateY(100%);
	transition: transform 0.25s ease;
	box-shadow: 0 -0.75rem 2rem rgba(0, 0, 0, 0.25);
}

.sf-unscripted-player.is-visible {
	transform: translateY(0);
}

.sf-unscripted-player__inner {
	display: grid;
	grid-template-columns: auto auto 1fr minmax(0, 14rem);
	gap: 1rem 1.25rem;
	align-items: center;
	width: 100%;
	max-width: var(--unscripted-max);
	margin: 0 auto;
	padding: 0.875rem 1.5rem;
	box-sizing: border-box;
}

@media (max-width: 767px) {
	.sf-unscripted-player__inner {
		grid-template-columns: auto auto 1fr;
		grid-template-rows: auto auto;
		padding: 0.75rem 1rem;
	}

	.sf-unscripted-player__progress-wrap {
		grid-column: 1 / -1;
	}

	.sf-unscripted-player__details {
		display: none;
	}
}

.sf-unscripted-player__play {
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	border: 2px solid var(--player-accent);
	background: transparent;
	color: var(--player-accent);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex-shrink: 0;
	font-size: 1rem;
	transition: background 0.15s, color 0.15s;
}

.sf-unscripted-player__play:hover,
.sf-unscripted-player__play:focus-visible {
	background: var(--player-accent);
	color: var(--player-bg);
	outline: none;
}

.sf-unscripted-player__art {
	width: 3.5rem;
	height: 3.5rem;
	object-fit: cover;
	border-radius: 0.35rem;
	flex-shrink: 0;
	box-shadow: 0 2px 8px color-mix(in srgb, #000 30%, transparent);
}

.sf-unscripted-player__info {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.sf-unscripted-player__show {
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--player-gold);
}

.sf-unscripted-player__title {
	font-size: 1.05rem;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin: 0;
	color: var(--player-fg);
	text-decoration: none;
	display: block;
}

.sf-unscripted-player__title:hover,
.sf-unscripted-player__title:focus-visible {
	color: var(--player-accent);
	text-decoration: underline;
	outline: none;
}

.sf-unscripted-player__details {
	font-size: 0.8rem;
	color: var(--player-accent);
	text-decoration: none;
	white-space: nowrap;
}

.sf-unscripted-player__details:hover,
.sf-unscripted-player__details:focus-visible {
	text-decoration: underline;
	color: var(--player-accent-bright);
	outline: none;
}

.sf-unscripted-player__progress-wrap {
	display: flex;
	align-items: center;
	gap: 0.875rem;
	min-width: 0;
}

.sf-unscripted-player__time {
	font-size: 0.8rem;
	color: var(--player-muted);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.sf-unscripted-player__progress {
	flex: 1;
	height: 5px;
	-webkit-appearance: none;
	appearance: none;
	background: var(--player-track);
	cursor: pointer;
	border-radius: 3px;
}

.sf-unscripted-player__progress::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--player-accent);
	cursor: pointer;
}

.sf-unscripted-player__progress::-moz-range-thumb {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--player-accent);
	border: none;
	cursor: pointer;
}

.sf-unscripted-player__close {
	background: transparent;
	border: none;
	color: var(--player-muted);
	font-size: 1.5rem;
	cursor: pointer;
	padding: 0.25rem 0.5rem;
	line-height: 1;
	transition: color 0.15s;
}

.sf-unscripted-player__close:hover,
.sf-unscripted-player__close:focus-visible {
	color: var(--player-fg);
	outline: none;
}

/* Footer clearance â€” height set via JS from measured player */
body.has-unscripted-player #footer {
	padding-bottom: var(--unscripted-player-offset, 0px);
}

/* Lift fixed chatbot + scroll-to-top above persistent player (sitewide) */
body.has-unscripted-player #scrollToTop,
body.has-unscripted-player a.cd-top {
	bottom: calc(var(--unscripted-player-offset, 0px) + 1rem) !important;
}

body.has-unscripted-player #ocelot_ai .ChatbotLauncher-launcher,
body.has-unscripted-player .MaxAI .ChatbotLauncher-launcher {
	bottom: calc(var(--unscripted-player-offset, 0px) + 1.25rem) !important;
}
