/* ===========================================================
 * SLL WOW — Visual upgrade layer (loaded after theme.css).
 * Organized into WAVES that mirror the rollout plan.
 * Nothing here replaces theme.css; every rule is additive,
 * scoped, or increases specificity on purpose.
 * =========================================================== */

/* -----------------------------------------------------------
 * WAVE 0 — Design tokens
 * ----------------------------------------------------------- */
:root {
	/* Spacing scale — 4px-based, used via var(--space-*) */
	--space-3xs: 2px;
	--space-2xs: 4px;
	--space-xs:  8px;
	--space-sm:  12px;
	--space-md:  16px;
	--space-lg:  24px;
	--space-xl:  32px;
	--space-2xl: 48px;
	--space-3xl: 64px;

	/* Radius scale */
	--radius-xs: 4px;
	--radius-sm: 8px;
	--radius-md: 12px;
	--radius-lg: 16px;
	--radius-xl: 24px;
	--radius-full: 999px;

	/* Shadow scale — tuned for dark space aesthetic */
	--shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.30);
	--shadow-md: 0 6px 18px rgba(0, 0, 0, 0.40);
	--shadow-lg: 0 14px 36px rgba(0, 0, 0, 0.50);
	--shadow-glow-accent: 0 0 28px rgba(0, 136, 255, 0.28);
	--shadow-glow-green:  0 0 28px rgba(0, 255, 136, 0.28);
	--shadow-glow-red:    0 0 28px rgba(255, 68, 85, 0.28);

	/* Motion */
	--ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
	--ease-out-back:  cubic-bezier(0.34, 1.56, 0.64, 1);
	--ease-in-out:    cubic-bezier(0.65, 0, 0.35, 1);
	--dur-fast: 120ms;
	--dur-base: 220ms;
	--dur-slow: 420ms;
	--dur-cine: 680ms;
}

/* -----------------------------------------------------------
 * WAVE 0 — Global focus-visible rings
 * Keyboard users get a visible, branded focus ring everywhere.
 * Mouse users are unaffected (:focus-visible only).
 * ----------------------------------------------------------- */
*:focus { outline: none; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible,
[tabindex]:focus-visible,
.sll-btn:focus-visible,
.sll-nav-link:focus-visible,
.sll-launch-card:focus-visible,
.sll-hamburger:focus-visible,
.sll-theme-toggle:focus-visible,
.sll-mega-trigger:focus-visible,
.sll-auth-btn:focus-visible,
.sll-footer-cta__btn:focus-visible {
	outline: 2px solid var(--sll-accent);
	outline-offset: 3px;
	border-radius: var(--radius-xs);
	box-shadow: 0 0 0 4px rgba(0, 136, 255, 0.18);
	transition: box-shadow var(--dur-fast) var(--ease-out-quart);
}

/* -----------------------------------------------------------
 * WAVE 0 — Status badge icons + colorblind-safe visual pattern
 * Icons are drawn in CSS via ::before so no HTML changes needed.
 * Also bumps background opacity so badges pop.
 * ----------------------------------------------------------- */
.sll-status {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding-inline-start: 22px !important;
}
.sll-status::before {
	content: "";
	position: absolute;
	left: 7px;
	top: 50%;
	width: 10px;
	height: 10px;
	transform: translateY(-50%);
	background: currentColor;
	opacity: 0.9;
	-webkit-mask-repeat: no-repeat;
	        mask-repeat: no-repeat;
	-webkit-mask-position: center;
	        mask-position: center;
	-webkit-mask-size: 10px 10px;
	        mask-size: 10px 10px;
}
/* Icons via SVG data URIs — colorblind-distinguishable shapes */
.sll-status--go::before {
	-webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'><path d='M1.5 5.5 L4 8 L9 2' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
	        mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'><path d='M1.5 5.5 L4 8 L9 2' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
.sll-status--tbd::before {
	-webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'><circle cx='5' cy='5' r='3.5' fill='none' stroke='black' stroke-width='1.6'/><circle cx='5' cy='5' r='0.8' fill='black'/></svg>");
	        mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'><circle cx='5' cy='5' r='3.5' fill='none' stroke='black' stroke-width='1.6'/><circle cx='5' cy='5' r='0.8' fill='black'/></svg>");
}
.sll-status--success::before {
	-webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'><path d='M5 1 L6.5 3.8 L9.5 4.3 L7.3 6.4 L7.9 9.3 L5 8 L2.1 9.3 L2.7 6.4 L0.5 4.3 L3.5 3.8 Z' fill='black'/></svg>");
	        mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'><path d='M5 1 L6.5 3.8 L9.5 4.3 L7.3 6.4 L7.9 9.3 L5 8 L2.1 9.3 L2.7 6.4 L0.5 4.3 L3.5 3.8 Z' fill='black'/></svg>");
}
.sll-status--failure::before {
	-webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'><path d='M2 2 L8 8 M8 2 L2 8' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/></svg>");
	        mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'><path d='M2 2 L8 8 M8 2 L2 8' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/></svg>");
}
.sll-status--hold::before {
	-webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'><rect x='2' y='2' width='2.5' height='6' fill='black'/><rect x='5.5' y='2' width='2.5' height='6' fill='black'/></svg>");
	        mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'><rect x='2' y='2' width='2.5' height='6' fill='black'/><rect x='5.5' y='2' width='2.5' height='6' fill='black'/></svg>");
}
.sll-status--partial::before {
	-webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'><path d='M5 1 A4 4 0 0 1 5 9 Z' fill='black'/></svg>");
	        mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'><path d='M5 1 A4 4 0 0 1 5 9 Z' fill='black'/></svg>");
}
.sll-status--inflight::before {
	-webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'><path d='M5 0.5 L7 5 L5 9.5 L3 5 Z' fill='black'/></svg>");
	        mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'><path d='M5 0.5 L7 5 L5 9.5 L3 5 Z' fill='black'/></svg>");
	animation: sll-rocket-bob 1s ease-in-out infinite;
}

/* Boost the soft-bg badges so they pop more */
.sll-status--tbd     { background: rgba(255,204,0,0.22) !important; }
.sll-status--success { background: rgba(0,200,255,0.22) !important; }
.sll-status--failure { background: rgba(255,68,85,0.22) !important; }
.sll-status--hold    { background: rgba(255,136,0,0.22) !important; }
.sll-status--partial { background: rgba(170,136,255,0.22) !important; }

@keyframes sll-rocket-bob {
	0%, 100% { transform: translateY(-50%); }
	50% { transform: translateY(calc(-50% - 2px)); }
}

/* -----------------------------------------------------------
 * WAVE 0 — Launch card polish (lift + image zoom + imminent variant)
 * ----------------------------------------------------------- */
.sll-launch-card {
	transition:
		transform var(--dur-base) var(--ease-out-quart),
		box-shadow var(--dur-base) var(--ease-out-quart),
		border-color var(--dur-base) var(--ease-out-quart),
		background var(--dur-base) var(--ease-out-quart) !important;
	will-change: transform;
}
.sll-launch-card:hover {
	transform: translateY(-4px) !important;
	box-shadow: var(--shadow-lg), var(--shadow-glow-accent);
}
.sll-launch-card__img img {
	transition: transform var(--dur-slow) var(--ease-out-quart), opacity var(--dur-slow) ease;
}
.sll-launch-card:hover .sll-launch-card__img img {
	transform: scale(1.06);
}

/* Tighter hierarchy — name is hero, agency recedes */
.sll-launch-card__agency {
	font-size: 12px !important;
	color: var(--sll-text-faint) !important;
	letter-spacing: 1px !important;
	text-transform: uppercase;
}

/* Imminent-launch variant: glowing green border for < 24h */
.sll-launch-card--imminent {
	border-color: var(--sll-green) !important;
	background: linear-gradient(
		135deg,
		rgba(0, 255, 136, 0.08),
		var(--sll-bg-card) 40%,
		var(--sll-bg-card)
	) !important;
	box-shadow: inset 0 0 18px rgba(0, 255, 136, 0.06), var(--shadow-sm);
	position: relative;
}
.sll-launch-card--imminent::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	pointer-events: none;
	box-shadow: 0 0 0 1px rgba(0, 255, 136, 0.4);
	animation: sll-imminent-pulse 2.2s ease-in-out infinite;
}
.sll-launch-card--imminent:hover {
	box-shadow: var(--shadow-lg), var(--shadow-glow-green);
}

/* Tier badges: < 1h = critical (red), < 24h = imminent (green) */
.sll-launch-card--critical {
	border-color: var(--sll-red) !important;
	background: linear-gradient(
		135deg,
		rgba(255, 68, 85, 0.12),
		var(--sll-bg-card) 45%,
		var(--sll-bg-card)
	) !important;
	box-shadow: inset 0 0 22px rgba(255, 68, 85, 0.1), var(--shadow-sm);
}
.sll-launch-card--critical::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	pointer-events: none;
	box-shadow: 0 0 0 1px rgba(255, 68, 85, 0.55);
	animation: sll-critical-pulse 1.2s ease-in-out infinite;
}

@keyframes sll-imminent-pulse {
	0%, 100% { opacity: 0.6; }
	50% { opacity: 1; }
}
@keyframes sll-critical-pulse {
	0%, 100% { opacity: 0.7; box-shadow: 0 0 0 1px rgba(255, 68, 85, 0.55); }
	50% { opacity: 1; box-shadow: 0 0 0 2px rgba(255, 68, 85, 0.85); }
}

/* Small "IMMINENT" / "LIVE SOON" pill on the card */
.sll-launch-card__urgency {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px 8px;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 1.6px;
	border-radius: var(--radius-full);
	text-transform: uppercase;
	animation: sll-imminent-pulse 2.2s ease-in-out infinite;
}
.sll-launch-card__urgency--imminent {
	background: rgba(0, 255, 136, 0.2);
	color: var(--sll-green);
	border: 1px solid rgba(0, 255, 136, 0.4);
}
.sll-launch-card__urgency--critical {
	background: rgba(255, 68, 85, 0.2);
	color: var(--sll-red);
	border: 1px solid rgba(255, 68, 85, 0.5);
	animation: sll-critical-pulse 1.2s ease-in-out infinite;
}

/* -----------------------------------------------------------
 * WAVE 0 — Skeleton loaders
 * ----------------------------------------------------------- */
.sll-launch-list__loading,
.sll-no-results:empty {
	display: none !important;
}

.sll-skeleton {
	background: linear-gradient(
		90deg,
		var(--sll-bg-card) 0%,
		var(--sll-bg-card-hover) 50%,
		var(--sll-bg-card) 100%
	);
	background-size: 200% 100%;
	animation: sll-skeleton-sweep 1.6s ease-in-out infinite;
	border-radius: var(--radius-md);
	border: 1px solid var(--sll-border-faint);
}
.sll-skeleton--card {
	height: 96px;
	margin-bottom: var(--space-sm);
}
.sll-skeleton--hero {
	height: 340px;
	margin-bottom: var(--space-lg);
}
.sll-skeleton--line {
	height: 14px;
	border-radius: var(--radius-full);
	margin-bottom: var(--space-xs);
}
.sll-skeleton--line-sm { height: 10px; width: 40%; }

@keyframes sll-skeleton-sweep {
	0% { background-position: 200% 0; }
	100% { background-position: -200% 0; }
}

.sll-skeletons {
	display: flex;
	flex-direction: column;
	gap: var(--space-sm);
}

/* -----------------------------------------------------------
 * WAVE 0 — Countdown pulse glow + T-1hr urgency
 * ----------------------------------------------------------- */
.sll-hero-countdown__value {
	animation: sll-countdown-pulse 2.4s ease-in-out infinite;
}
@keyframes sll-countdown-pulse {
	0%, 100% { text-shadow: 0 0 20px rgba(0, 136, 255, 0.35); }
	50%      { text-shadow: 0 0 36px rgba(0, 136, 255, 0.65), 0 0 12px rgba(74, 176, 255, 0.5); }
}

/* Urgent mode: set via JS by toggling body[data-launch-urgency] */
[data-launch-urgency="imminent"] .sll-hero-countdown__value {
	animation: sll-countdown-urgent 1.2s ease-in-out infinite;
	color: #ffe2c2 !important;
}
[data-launch-urgency="critical"] .sll-hero-countdown__value {
	animation: sll-countdown-critical 0.8s ease-in-out infinite;
	color: #ffd0d0 !important;
}
@keyframes sll-countdown-urgent {
	0%, 100% { text-shadow: 0 0 24px rgba(255, 136, 0, 0.55); }
	50%      { text-shadow: 0 0 48px rgba(255, 136, 0, 0.9), 0 0 16px rgba(255, 200, 100, 0.6); }
}
@keyframes sll-countdown-critical {
	0%, 100% { text-shadow: 0 0 28px rgba(255, 68, 85, 0.7); }
	50%      { text-shadow: 0 0 60px rgba(255, 68, 85, 1), 0 0 18px rgba(255, 200, 200, 0.7); }
}

/* -----------------------------------------------------------
 * WAVE A — Frosted glass utility
 * Applied to the sticky header + hero content panels on launch
 * day for an "operations room" feel.
 * ----------------------------------------------------------- */
.sll-glass {
	background: rgba(5, 15, 35, 0.55);
	-webkit-backdrop-filter: blur(18px) saturate(140%);
	        backdrop-filter: blur(18px) saturate(140%);
	border: 1px solid rgba(255, 255, 255, 0.06);
}
[data-theme="light"] .sll-glass {
	background: rgba(255, 255, 255, 0.65);
	border: 1px solid rgba(0, 30, 80, 0.08);
}

/* -----------------------------------------------------------
 * WAVE A — 3D card tilt (JS-driven via --tx, --ty vars)
 * ----------------------------------------------------------- */
.sll-tilt {
	transform-style: preserve-3d;
	transition: transform var(--dur-base) var(--ease-out-quart);
}
.sll-tilt.is-hovered {
	transform:
		perspective(900px)
		rotateX(calc(var(--ty, 0) * 6deg))
		rotateY(calc(var(--tx, 0) * -6deg))
		translateY(-4px);
}

/* -----------------------------------------------------------
 * WAVE A — Magnetic buttons (subtle cursor attraction)
 * ----------------------------------------------------------- */
.sll-magnetic {
	transition: transform var(--dur-fast) var(--ease-out-quart);
	will-change: transform;
}

/* -----------------------------------------------------------
 * WAVE A — Warp-speed View Transitions (DISABLED 2026-04-20)
 * Auto-navigation view transitions caused a noticeable flicker on
 * every menu click (brightness + blur + scale flash). Keyframes are
 * kept below in case we opt-in later via explicit startViewTransition
 * calls or a gated wrapper, but no rule currently wires them up.
 * ----------------------------------------------------------- */
@keyframes sll-warp-out {
	0%   { opacity: 1; transform: scale(1); filter: brightness(1); }
	100% { opacity: 0; transform: scale(1.08); filter: brightness(1.6) blur(4px); }
}
@keyframes sll-warp-in {
	0%   { opacity: 0; transform: scale(0.98); filter: brightness(1.3) blur(6px); }
	60%  { opacity: 1; }
	100% { opacity: 1; transform: scale(1); filter: brightness(1) blur(0); }
}

/* Starfield streak overlay during transitions */
.sll-warp-overlay {
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 99999;
	opacity: 0;
	background:
		repeating-linear-gradient(
			180deg,
			transparent 0,
			transparent 40px,
			rgba(255, 255, 255, 0.25) 41px,
			rgba(255, 255, 255, 0.25) 42px,
			transparent 43px,
			transparent 80px
		);
	transform: translateY(0);
}
.sll-warp-overlay.is-active {
	animation: sll-warp-streak 320ms var(--ease-out-quart) forwards;
}
@keyframes sll-warp-streak {
	0%   { opacity: 0; transform: translateY(-120%) scaleY(0.3); }
	45%  { opacity: 0.9; transform: translateY(0) scaleY(2); }
	100% { opacity: 0; transform: translateY(120%) scaleY(0.3); }
}

/* -----------------------------------------------------------
 * WAVE A — Launch Day Takeover
 * Activated via body[data-launch-mode="takeover"] in JS when
 * an active launch is < 10 minutes away or in-flight.
 * ----------------------------------------------------------- */
.sll-takeover-banner {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 9998;
	transform: translateY(-120%);
	transition: transform var(--dur-cine) var(--ease-out-back);
	padding: 10px 18px 10px 48px;
	background:
		linear-gradient(90deg, rgba(255, 68, 85, 0.95), rgba(255, 136, 0, 0.92));
	color: #fff;
	font-family: var(--sll-font-display, 'Orbitron', sans-serif);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 2px;
	text-transform: uppercase;
	box-shadow: 0 10px 30px rgba(255, 68, 85, 0.3);
	display: flex;
	align-items: center;
	gap: 14px;
	justify-content: center;
	flex-wrap: wrap;
}
[data-launch-mode="takeover"] .sll-takeover-banner {
	transform: translateY(0);
}
.sll-takeover-banner::before {
	content: "";
	position: absolute;
	left: 16px;
	top: 50%;
	width: 20px;
	height: 20px;
	margin-top: -10px;
	background: #fff;
	border-radius: 50%;
	box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
	animation: sll-takeover-dot 1.2s ease-out infinite;
}
@keyframes sll-takeover-dot {
	0%   { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
	100% { box-shadow: 0 0 0 14px rgba(255, 255, 255, 0); }
}
.sll-takeover-banner__link {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.sll-takeover-banner__countdown {
	font-family: var(--sll-font-display);
	font-size: 18px;
	letter-spacing: 2px;
}

body[data-launch-mode="takeover"] {
	padding-top: 40px;
}

/* When takeover is active, amp up the site's ambient glow */
body[data-launch-mode="takeover"] .sll-header {
	background: rgba(10, 5, 5, 0.9);
	-webkit-backdrop-filter: blur(18px);
	        backdrop-filter: blur(18px);
	border-bottom: 1px solid rgba(255, 68, 85, 0.25);
}

/* -----------------------------------------------------------
 * WAVE A — Rocket Trail (right-edge ambient animation during flight)
 * ----------------------------------------------------------- */
.sll-rocket-trail {
	position: fixed;
	right: 12px;
	top: 10%;
	bottom: 10%;
	width: 4px;
	z-index: 9000;
	pointer-events: none;
	opacity: 0;
	transition: opacity var(--dur-cine) ease;
}
body[data-launch-mode="takeover"] .sll-rocket-trail,
body[data-launch-mode="inflight"] .sll-rocket-trail {
	opacity: 1;
}
.sll-rocket-trail__track {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to bottom,
		transparent 0,
		rgba(0, 136, 255, 0.15) 30%,
		rgba(0, 255, 255, 0.2) 60%,
		rgba(255, 136, 0, 0.3) 85%,
		rgba(255, 68, 85, 0.35) 100%
	);
	border-radius: var(--radius-full);
	filter: blur(1px);
}
.sll-rocket-trail__rocket {
	position: absolute;
	left: 50%;
	top: 100%;
	transform: translate(-50%, 0);
	width: 20px;
	height: 20px;
	margin-left: -2px;
	background: radial-gradient(circle, #fff 0%, rgba(255, 220, 120, 0.9) 40%, rgba(255, 68, 85, 0) 70%);
	border-radius: 50%;
	box-shadow: 0 0 20px rgba(255, 220, 120, 0.8);
	transition: top 10s linear;
}

/* -----------------------------------------------------------
 * WAVE B — Data drama modules (On This Day, Records, Sky Tonight)
 * ----------------------------------------------------------- */
.sll-wow-module {
	position: relative;
	padding: var(--space-xl);
	background:
		radial-gradient(
			ellipse at top right,
			rgba(0, 136, 255, 0.08),
			transparent 60%
		),
		var(--sll-bg-card);
	border: 1px solid var(--sll-border-faint);
	border-radius: var(--radius-lg);
	margin: var(--space-xl) 0;
	overflow: hidden;
}
.sll-wow-module__label {
	font-family: var(--sll-font-display);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 3px;
	color: var(--sll-accent-bright);
	text-transform: uppercase;
	margin-bottom: var(--space-xs);
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.sll-wow-module__label::before {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--sll-accent);
	box-shadow: 0 0 10px var(--sll-accent);
	animation: sll-countdown-pulse 2.4s ease-in-out infinite;
}
.sll-wow-module__title {
	font-family: var(--sll-font-display);
	font-size: clamp(22px, 3.2vw, 32px);
	font-weight: 900;
	color: var(--sll-text-primary);
	margin: 0 0 var(--space-sm);
	letter-spacing: 1px;
	line-height: 1.1;
}
.sll-wow-module__body {
	color: var(--sll-text-sub);
	font-size: 15px;
	line-height: 1.6;
}
.sll-wow-module__cta {
	margin-top: var(--space-md);
}

/* World Records Ticker */
.sll-records-ticker {
	margin: var(--space-xl) 0;
	padding: 14px 0;
	background: linear-gradient(90deg, rgba(0,136,255,0.05), rgba(170,136,255,0.05));
	border-top: 1px solid var(--sll-border-faint);
	border-bottom: 1px solid var(--sll-border-faint);
	overflow: hidden;
	position: relative;
}
.sll-records-ticker__track {
	display: flex;
	gap: var(--space-2xl);
	animation: sll-ticker-scroll 60s linear infinite;
	width: max-content;
}
.sll-records-ticker:hover .sll-records-ticker__track {
	animation-play-state: paused;
}
.sll-records-ticker__item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--sll-font-display);
	font-size: 13px;
	letter-spacing: 1.5px;
	color: var(--sll-text-sub);
	white-space: nowrap;
}
.sll-records-ticker__val {
	color: var(--sll-accent-bright);
	font-weight: 800;
	font-size: 16px;
}
.sll-records-ticker__label {
	color: var(--sll-text-dim);
	text-transform: uppercase;
	font-size: 10px;
	letter-spacing: 2px;
}
@keyframes sll-ticker-scroll {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

/* Probe distance cards */
.sll-probe-distances {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: var(--space-md);
	margin: var(--space-md) 0;
}
.sll-probe-distance {
	padding: var(--space-md);
	background: var(--sll-bg-section);
	border: 1px solid var(--sll-border-faint);
	border-radius: var(--radius-md);
	position: relative;
	overflow: hidden;
}
.sll-probe-distance::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 100% 0, rgba(0,136,255,0.12), transparent 60%);
	pointer-events: none;
}
.sll-probe-distance__name {
	font-family: var(--sll-font-display);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1.5px;
	color: var(--sll-accent-bright);
	margin-bottom: 4px;
}
.sll-probe-distance__km {
	font-family: var(--sll-font-display);
	font-size: 22px;
	font-weight: 900;
	color: var(--sll-text-primary);
	letter-spacing: 1px;
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
}
.sll-probe-distance__unit {
	font-size: 11px;
	letter-spacing: 2px;
	color: var(--sll-text-dim);
	text-transform: uppercase;
}
.sll-probe-distance__meta {
	margin-top: 8px;
	font-size: 12px;
	color: var(--sll-text-dim);
}

/* Speed context chip */
.sll-speed-context {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	background: rgba(0, 136, 255, 0.08);
	border: 1px solid var(--sll-border-accent);
	border-radius: var(--radius-full);
	font-size: 13px;
	color: var(--sll-text-sub);
	margin: var(--space-xs) 0;
}
.sll-speed-context__val {
	font-family: var(--sll-font-display);
	font-weight: 800;
	color: var(--sll-accent-bright);
	font-variant-numeric: tabular-nums;
}

/* -----------------------------------------------------------
 * WAVE B — "Your Sky Tonight" widget
 * ----------------------------------------------------------- */
.sll-sky-tonight {
	padding: var(--space-lg);
	background: linear-gradient(140deg, #050a1a, #0a1028 45%, #0d1830);
	border: 1px solid var(--sll-border-accent);
	border-radius: var(--radius-lg);
	color: #e8f4ff;
	position: relative;
	overflow: hidden;
}
.sll-sky-tonight::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.8), transparent),
		radial-gradient(1px 1px at 30% 60%, rgba(255,255,255,0.6), transparent),
		radial-gradient(1.5px 1.5px at 55% 35%, rgba(255,255,255,0.9), transparent),
		radial-gradient(1px 1px at 75% 75%, rgba(255,255,255,0.5), transparent),
		radial-gradient(1px 1px at 90% 15%, rgba(255,255,255,0.7), transparent);
	opacity: 0.5;
	pointer-events: none;
}
.sll-sky-tonight__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: var(--space-md);
	position: relative;
}
.sll-sky-tonight__title {
	font-family: var(--sll-font-display);
	font-size: 20px;
	font-weight: 900;
	margin: 0;
	letter-spacing: 1px;
}
.sll-sky-tonight__loc {
	font-size: 11px;
	letter-spacing: 2px;
	color: var(--sll-text-dim);
	text-transform: uppercase;
}
.sll-sky-tonight__events {
	list-style: none;
	padding: 0;
	margin: 0;
	position: relative;
}
.sll-sky-tonight__event {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--space-md);
	padding: var(--space-xs) 0;
	border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
	font-size: 14px;
}
.sll-sky-tonight__event:last-child { border-bottom: none; }
.sll-sky-tonight__name {
	font-weight: 600;
	color: #e8f4ff;
}
.sll-sky-tonight__when {
	font-family: var(--sll-font-display);
	font-variant-numeric: tabular-nums;
	color: var(--sll-accent-bright);
	font-weight: 700;
	letter-spacing: 1px;
}
.sll-sky-tonight__cta {
	margin-top: var(--space-md);
	position: relative;
}

/* -----------------------------------------------------------
 * WAVE C — Watchlist star + bookmark button
 * ----------------------------------------------------------- */
.sll-watch-btn {
	background: transparent;
	border: none;
	color: var(--sll-text-faint);
	cursor: pointer;
	padding: 6px;
	line-height: 0;
	transition: transform var(--dur-fast) var(--ease-out-back), color var(--dur-base);
}
.sll-watch-btn svg { width: 20px; height: 20px; }
.sll-watch-btn:hover {
	color: var(--sll-yellow);
	transform: scale(1.15);
}
.sll-watch-btn.is-watched {
	color: var(--sll-yellow);
	animation: sll-watch-pop var(--dur-slow) var(--ease-out-back);
}
.sll-watch-btn.is-watched svg { filter: drop-shadow(0 0 6px var(--sll-yellow)); }
@keyframes sll-watch-pop {
	0%   { transform: scale(1); }
	40%  { transform: scale(1.4) rotate(-8deg); }
	100% { transform: scale(1); }
}

/* Watchlist header badge */
.sll-watchlist-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	background: rgba(255, 204, 0, 0.15);
	border: 1px solid rgba(255, 204, 0, 0.35);
	color: var(--sll-yellow);
	border-radius: var(--radius-full);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	margin-left: 8px;
}
.sll-watchlist-badge__count {
	font-family: var(--sll-font-display);
}

/* Watchlist popover panel */
.sll-watchlist-panel {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	width: min(360px, 90vw);
	max-height: 70vh;
	overflow-y: auto;
	padding: var(--space-md);
	background: var(--sll-bg-card);
	border: 1px solid var(--sll-border-accent);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	z-index: 1000;
	-webkit-backdrop-filter: blur(14px);
	        backdrop-filter: blur(14px);
}

/* -----------------------------------------------------------
 * WAVE C — Voyager birthday module
 * ----------------------------------------------------------- */
.sll-voyager-where {
	padding: var(--space-xl);
	background:
		radial-gradient(circle at 80% 20%, rgba(170, 136, 255, 0.14), transparent 50%),
		radial-gradient(circle at 20% 80%, rgba(0, 136, 255, 0.10), transparent 50%),
		#060a18;
	border-radius: var(--radius-lg);
	border: 1px solid var(--sll-border-faint);
	color: #e8f4ff;
	position: relative;
	overflow: hidden;
}
.sll-voyager-where__form {
	display: flex;
	gap: var(--space-xs);
	margin-top: var(--space-md);
	flex-wrap: wrap;
}
.sll-voyager-where__input {
	flex: 1;
	min-width: 180px;
	padding: 10px 14px;
	background: rgba(0, 20, 50, 0.5);
	border: 1px solid var(--sll-border-accent);
	border-radius: var(--radius-sm);
	color: #fff;
	font-family: var(--sll-font-body, inherit);
	font-size: 15px;
}
.sll-voyager-where__result {
	margin-top: var(--space-md);
	padding: var(--space-md);
	background: rgba(0, 0, 0, 0.35);
	border-radius: var(--radius-md);
	display: none;
}
.sll-voyager-where__result.is-visible { display: block; }
.sll-voyager-where__distance {
	font-family: var(--sll-font-display);
	font-size: clamp(28px, 5vw, 44px);
	font-weight: 900;
	letter-spacing: 1px;
	background: linear-gradient(135deg, #fff 0%, #aa88ff 60%, #4ab0ff 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	line-height: 1.05;
	margin-bottom: 8px;
}
.sll-voyager-where__share {
	margin-top: var(--space-sm);
}

/* -----------------------------------------------------------
 * WAVE 0 — New CPT archive hero
 * Used by archive-celestial_body.html + others.
 * ----------------------------------------------------------- */
.sll-archive-hero {
	position: relative;
	padding: var(--space-2xl) var(--space-lg) var(--space-xl);
	margin-bottom: var(--space-xl);
	background:
		radial-gradient(ellipse at 20% 20%, rgba(0,136,255,0.18), transparent 60%),
		radial-gradient(ellipse at 80% 80%, rgba(170,136,255,0.12), transparent 55%),
		var(--sll-bg-section);
	border: 1px solid var(--sll-border-faint);
	border-radius: var(--radius-lg);
	overflow: hidden;
	text-align: center;
}
.sll-archive-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(1px 1px at 15% 25%, rgba(255,255,255,0.5), transparent),
		radial-gradient(1px 1px at 45% 60%, rgba(255,255,255,0.4), transparent),
		radial-gradient(1.5px 1.5px at 70% 30%, rgba(255,255,255,0.7), transparent),
		radial-gradient(1px 1px at 85% 80%, rgba(255,255,255,0.3), transparent);
	opacity: 0.5;
	pointer-events: none;
}
.sll-archive-hero__kicker {
	font-family: var(--sll-font-display);
	font-size: 12px;
	font-weight: 700;
	color: var(--sll-accent-bright);
	letter-spacing: 4px;
	text-transform: uppercase;
	margin-bottom: var(--space-sm);
	position: relative;
}
.sll-archive-hero__title {
	font-family: var(--sll-font-display);
	font-size: clamp(32px, 6vw, 56px);
	font-weight: 900;
	letter-spacing: 2px;
	line-height: 1;
	background: linear-gradient(135deg, var(--sll-text-primary) 0%, var(--sll-accent-bright) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	margin: 0 0 var(--space-sm);
	text-transform: uppercase;
	position: relative;
}
.sll-archive-hero__lede {
	max-width: 720px;
	margin: 0 auto var(--space-md);
	color: var(--sll-text-sub);
	font-size: 16px;
	line-height: 1.6;
	position: relative;
}
.sll-archive-hero__stats {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-md);
	justify-content: center;
	margin-top: var(--space-md);
	position: relative;
}
.sll-archive-hero__stat {
	padding: 10px 18px;
	background: rgba(0, 136, 255, 0.08);
	border: 1px solid var(--sll-border-accent);
	border-radius: var(--radius-full);
}
.sll-archive-hero__stat-num {
	font-family: var(--sll-font-display);
	font-size: 22px;
	font-weight: 900;
	color: var(--sll-accent-bright);
	margin-right: 6px;
}
.sll-archive-hero__stat-label {
	font-size: 11px;
	letter-spacing: 1.5px;
	color: var(--sll-text-dim);
	text-transform: uppercase;
}

/* Upgrade the LEGACY archive-hero markup (.sll-about-hero__*) to the
   new immersive treatment without touching every template. */
.sll-archive-hero .sll-about-hero__title {
	font-family: var(--sll-font-display);
	font-size: clamp(32px, 6vw, 56px) !important;
	font-weight: 900 !important;
	letter-spacing: 2px !important;
	line-height: 1 !important;
	background: linear-gradient(135deg, var(--sll-text-primary) 0%, var(--sll-accent-bright) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent !important;
	margin: 0 0 var(--space-sm) !important;
	text-transform: uppercase;
	position: relative;
}
.sll-archive-hero .sll-about-hero__sub {
	max-width: 720px;
	margin: 0 auto var(--space-md) !important;
	color: var(--sll-text-sub) !important;
	font-size: 16px !important;
	line-height: 1.6 !important;
	position: relative;
	text-align: center;
}
.sll-archive-hero .sll-seo-intro {
	max-width: 780px;
	margin: var(--space-md) auto 0;
	position: relative;
	color: var(--sll-text-dim);
	line-height: 1.7;
}

/* Gallery grid — used by CPT archives */
.sll-gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: var(--space-md);
	margin: var(--space-lg) 0;
}
.sll-gallery-card {
	display: block;
	padding: var(--space-md);
	background: var(--sll-bg-card);
	border: 1px solid var(--sll-border-faint);
	border-radius: var(--radius-md);
	text-decoration: none;
	color: inherit;
	transition: transform var(--dur-base) var(--ease-out-quart), border-color var(--dur-base), box-shadow var(--dur-base);
	position: relative;
	overflow: hidden;
}
.sll-gallery-card:hover {
	transform: translateY(-4px);
	border-color: var(--sll-border-accent);
	box-shadow: var(--shadow-lg), var(--shadow-glow-accent);
	color: inherit;
}
.sll-gallery-card__media {
	aspect-ratio: 16/10;
	margin: calc(-1 * var(--space-md)) calc(-1 * var(--space-md)) var(--space-md);
	background: linear-gradient(135deg, rgba(0,30,80,0.3), rgba(0,10,30,0.5));
	border-bottom: 1px solid var(--sll-border-faint);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.sll-gallery-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--dur-slow) var(--ease-out-quart);
}
.sll-gallery-card:hover .sll-gallery-card__media img { transform: scale(1.06); }
.sll-gallery-card__emoji {
	font-size: 42px;
	opacity: 0.8;
}
.sll-gallery-card__title {
	font-family: var(--sll-font-display);
	font-size: 16px;
	font-weight: 800;
	letter-spacing: 1px;
	margin: 0 0 4px;
	color: var(--sll-text-primary);
	text-transform: uppercase;
}
.sll-gallery-card__sub {
	font-size: 12px;
	color: var(--sll-text-dim);
	letter-spacing: 1px;
	text-transform: uppercase;
}
.sll-gallery-card__kicker {
	display: inline-block;
	font-size: 10px;
	letter-spacing: 2px;
	color: var(--sll-accent-bright);
	margin-bottom: 6px;
	text-transform: uppercase;
	font-weight: 700;
}

/* -----------------------------------------------------------
 * WAVE D — Scrollytelling scaffold
 * Uses scroll-driven animations where supported, falls back to
 * JS IntersectionObserver otherwise (see sll-wow.js).
 * ----------------------------------------------------------- */
.sll-scrolly {
	position: relative;
}
.sll-scrolly__step {
	min-height: 80vh;
	padding: var(--space-2xl) var(--space-lg);
	opacity: 0;
	transform: translateY(40px);
	transition: opacity var(--dur-cine) var(--ease-out-quart), transform var(--dur-cine) var(--ease-out-quart);
}
.sll-scrolly__step.is-inview {
	opacity: 1;
	transform: translateY(0);
}
.sll-scrolly__kicker {
	font-family: var(--sll-font-display);
	font-size: 11px;
	letter-spacing: 4px;
	color: var(--sll-accent-bright);
	text-transform: uppercase;
	margin-bottom: var(--space-sm);
}
.sll-scrolly__headline {
	font-family: var(--sll-font-display);
	font-size: clamp(28px, 5vw, 56px);
	font-weight: 900;
	line-height: 1.05;
	margin: 0 0 var(--space-md);
	max-width: 780px;
}
.sll-scrolly__body {
	max-width: 620px;
	font-size: 16px;
	line-height: 1.7;
	color: var(--sll-text-sub);
}

/* -----------------------------------------------------------
 * WAVE D — Mission patch collection
 * ----------------------------------------------------------- */
.sll-patch-wall {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
	gap: var(--space-md);
}
.sll-patch {
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.15), rgba(0,0,0,0.6));
	border: 2px solid var(--sll-border-accent);
	position: relative;
	overflow: hidden;
	transition: transform var(--dur-base) var(--ease-out-back);
	cursor: pointer;
}
.sll-patch:hover { transform: rotate(-4deg) scale(1.05); }
.sll-patch img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.sll-patch--locked {
	filter: grayscale(1) brightness(0.3);
	cursor: default;
}
.sll-patch--locked:hover { transform: none; }
.sll-patch__shine {
	position: absolute;
	inset: 0;
	background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,0.25) 50%, transparent 60%);
	transform: translateX(-120%);
	pointer-events: none;
}
.sll-patch:hover .sll-patch__shine {
	animation: sll-patch-shine 0.9s var(--ease-out-quart) forwards;
}
@keyframes sll-patch-shine {
	to { transform: translateX(120%); }
}

/* -----------------------------------------------------------
 * On This Day in Space
 * ----------------------------------------------------------- */
.sll-otd {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: var(--space-xl);
	align-items: center;
	padding: var(--space-xl);
	background: var(--sll-bg-card);
	border: 1px solid var(--sll-border-faint);
	border-radius: var(--radius-lg);
	position: relative;
	overflow: hidden;
}
.sll-otd::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at 100% 0%, rgba(170,136,255,0.12), transparent 60%);
	pointer-events: none;
}
.sll-otd__date {
	font-family: var(--sll-font-display);
	font-size: 11px;
	letter-spacing: 4px;
	color: var(--sll-accent-bright);
	text-transform: uppercase;
	margin-bottom: var(--space-xs);
}
.sll-otd__years {
	font-family: var(--sll-font-display);
	font-size: clamp(48px, 8vw, 96px);
	font-weight: 900;
	line-height: 0.9;
	background: linear-gradient(135deg, #fff 0%, #4ab0ff 70%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	margin-bottom: var(--space-sm);
}
.sll-otd__years-unit {
	font-size: 0.35em;
	letter-spacing: 4px;
	color: var(--sll-text-dim);
	display: block;
}
.sll-otd__title {
	font-family: var(--sll-font-display);
	font-size: clamp(18px, 2.6vw, 26px);
	font-weight: 800;
	margin: 0 0 var(--space-sm);
	color: var(--sll-text-primary);
}
.sll-otd__title--linked {
	cursor: pointer;
	transition: color var(--dur-base);
}
.sll-otd__title--linked:hover {
	color: var(--sll-accent-bright);
}
.sll-otd__title--linked:focus-visible {
	outline: 2px solid var(--sll-accent);
	outline-offset: 4px;
	border-radius: var(--radius-xs);
}
.sll-otd__kicker {
	font-family: var(--sll-font-display);
	font-size: 10px;
	letter-spacing: 3px;
	color: var(--sll-green);
	text-transform: uppercase;
	margin-bottom: var(--space-xs);
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.sll-otd__kicker::before {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--sll-green);
	box-shadow: 0 0 8px var(--sll-green);
}
.sll-otd__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: var(--space-md);
	padding: 10px 18px;
	background: rgba(0, 136, 255, 0.15);
	border: 1px solid var(--sll-border-accent);
	border-radius: var(--radius-full);
	color: var(--sll-accent-bright);
	text-decoration: none;
	font-family: var(--sll-font-display);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 2px;
	text-transform: uppercase;
	transition: transform var(--dur-base), background var(--dur-base);
}
.sll-otd__cta:hover {
	background: rgba(0, 136, 255, 0.25);
	transform: translateX(3px);
	color: var(--sll-accent-bright);
}
.sll-otd__visual[role="link"] {
	transition: transform var(--dur-base) var(--ease-out-quart);
}
.sll-otd__visual[role="link"]:hover {
	transform: translateY(-2px);
}
.sll-otd__visual[role="link"]:focus-visible {
	outline: 2px solid var(--sll-accent);
	outline-offset: 4px;
}
.sll-otd__body {
	color: var(--sll-text-sub);
	font-size: 15px;
	line-height: 1.6;
	margin: 0 0 var(--space-md);
}
.sll-otd__visual {
	aspect-ratio: 1;
	border-radius: var(--radius-lg);
	position: relative;
	overflow: hidden;
	background: #050a18;
}

/* Photo version — crop to square with vignette + subtle glow */
.sll-otd__visual--image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform var(--dur-cine) var(--ease-out-quart);
}
.sll-otd__visual--image {
	box-shadow:
		inset 0 0 80px rgba(0, 0, 0, 0.45),
		0 0 60px rgba(0, 136, 255, 0.22),
		0 20px 40px rgba(0, 0, 0, 0.4);
	border: 1px solid rgba(255, 255, 255, 0.08);
}
.sll-otd__visual--image::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse at 50% 100%, rgba(0, 136, 255, 0.18), transparent 60%),
		linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.55));
	pointer-events: none;
}
.sll-otd:hover .sll-otd__visual--image img {
	transform: scale(1.03);
}

/* Fallback version — only shown if no image provided OR image fails to load.
   Way cooler than the plain blue sphere: looping aurora + starfield. */
.sll-otd__visual--fallback {
	background:
		radial-gradient(ellipse at 30% 20%, rgba(170, 136, 255, 0.35), transparent 50%),
		radial-gradient(ellipse at 80% 80%, rgba(0, 200, 255, 0.25), transparent 50%),
		radial-gradient(circle at 50% 50%, #0a1430 0%, #050912 70%);
	box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(0, 136, 255, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.05);
}
.sll-otd__visual--fallback::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(1px 1px at 15% 25%, rgba(255,255,255,0.8), transparent),
		radial-gradient(1px 1px at 40% 65%, rgba(255,255,255,0.7), transparent),
		radial-gradient(1.5px 1.5px at 65% 35%, rgba(255,255,255,0.95), transparent),
		radial-gradient(1px 1px at 85% 70%, rgba(255,255,255,0.6), transparent),
		radial-gradient(1px 1px at 28% 85%, rgba(255,255,255,0.75), transparent),
		radial-gradient(1.5px 1.5px at 72% 18%, rgba(255,255,255,0.85), transparent);
	opacity: 0.85;
}
.sll-otd__visual--fallback::after {
	content: "🚀";
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: clamp(60px, 10vw, 120px);
	opacity: 0.18;
	filter: drop-shadow(0 0 30px rgba(0, 136, 255, 0.6));
}

@media (max-width: 768px) {
	.sll-otd { grid-template-columns: 1fr; }
	.sll-otd__visual { aspect-ratio: 16/9; max-width: 100%; }
}

/* wpautop wraps newlines around our shortcode output in empty <p> tags
   which, as direct children of the grid, steal columns. Collapse them. */
.sll-otd > p:empty,
.sll-otd > br { display: none; }

/* -----------------------------------------------------------
 * Live toast badge time-aware states
 * Label is set by JS: "LAUNCHING SOON" → "LIFTOFF IMMINENT" → "LIVE NOW"
 * ----------------------------------------------------------- */
.sll-badge-live--soon {
	background: rgba(0, 136, 255, 0.2) !important;
	color: var(--sll-accent-bright) !important;
	border-color: rgba(0, 136, 255, 0.4) !important;
}
.sll-badge-live--soon .sll-live-dot {
	background: var(--sll-accent-bright) !important;
	box-shadow: 0 0 8px var(--sll-accent-bright) !important;
}
.sll-badge-live--imminent {
	background: rgba(255, 136, 0, 0.25) !important;
	color: #ffcc88 !important;
	border-color: rgba(255, 136, 0, 0.55) !important;
	animation: sll-imminent-pulse 1.2s ease-in-out infinite;
}
.sll-badge-live--imminent .sll-live-dot {
	background: #ffcc88 !important;
	box-shadow: 0 0 10px #ffcc88 !important;
}
.sll-badge-live--active {
	/* Keep the original bright red "LIVE NOW" styling */
}

/* Toast box shell gets a cooler tint when not actually live */
.sll-live-toast:has(.sll-badge-live--soon) {
	border-color: rgba(0, 136, 255, 0.3) !important;
}
.sll-live-toast:has(.sll-badge-live--imminent) {
	border-color: rgba(255, 136, 0, 0.4) !important;
}

/* -----------------------------------------------------------
 * Reduced-motion respect — disable animations for users who opt out
 * ----------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	.sll-launch-card,
	.sll-launch-card:hover,
	.sll-launch-card__img img,
	.sll-hero-countdown__value,
	.sll-launch-card--imminent::before,
	.sll-launch-card--critical::before,
	.sll-takeover-banner::before,
	.sll-wow-module__label::before,
	.sll-records-ticker__track,
	.sll-patch:hover,
	.sll-status--inflight::before,
	.sll-skeleton {
		animation: none !important;
		transform: none !important;
		transition: none !important;
	}
}
