:root {
	--fp-accent: #2ecc71;
	--fp-accent-rgb: 46, 204, 113;
	--fp-accent-hover: #27ae60;
	--fp-accent-deep: #16a085;
	--fp-accent-light: #34d399;
	--fp-accent-mid: #10b981;
	--fp-accent-text-light: #16a34a;
	--fp-accent-text-dark: #2ecc71;
	--fp-accent-ink: #0c1a12;
	--fp-accent-ink-hover: #07120b;
}

:root[data-palette="ocean"] {
	--fp-accent: #3b82f6;
	--fp-accent-rgb: 59, 130, 246;
	--fp-accent-hover: #2563eb;
	--fp-accent-deep: #1d4ed8;
	--fp-accent-light: #60a5fa;
	--fp-accent-mid: #38bdf8;
	--fp-accent-text-light: #2563eb;
	--fp-accent-text-dark: #60a5fa;
	--fp-accent-ink: #ffffff;
	--fp-accent-ink-hover: #ffffff;
}

:root[data-palette="violet"] {
	--fp-accent: #8b5cf6;
	--fp-accent-rgb: 139, 92, 246;
	--fp-accent-hover: #7c3aed;
	--fp-accent-deep: #6d28d9;
	--fp-accent-light: #a78bfa;
	--fp-accent-mid: #9333ea;
	--fp-accent-text-light: #7c3aed;
	--fp-accent-text-dark: #a78bfa;
	--fp-accent-ink: #ffffff;
	--fp-accent-ink-hover: #ffffff;
}

:root[data-palette="crimson"] {
	--fp-accent: #f43f5e;
	--fp-accent-rgb: 244, 63, 94;
	--fp-accent-hover: #e11d48;
	--fp-accent-deep: #be123c;
	--fp-accent-light: #fb7185;
	--fp-accent-mid: #e11d48;
	--fp-accent-text-light: #e11d48;
	--fp-accent-text-dark: #fb7185;
	--fp-accent-ink: #ffffff;
	--fp-accent-ink-hover: #ffffff;
}

:root[data-palette="amber"] {
	--fp-accent: #f59e0b;
	--fp-accent-rgb: 245, 158, 11;
	--fp-accent-hover: #d97706;
	--fp-accent-deep: #b45309;
	--fp-accent-light: #fbbf24;
	--fp-accent-mid: #f97316;
	--fp-accent-text-light: #d97706;
	--fp-accent-text-dark: #fbbf24;
	--fp-accent-ink: #1a1102;
	--fp-accent-ink-hover: #120b01;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Note: Base img sizing lives inside Tailwind v4 @layer base (app.css).
   Do not declare unlayered img { height: auto } here or it overrides Tailwind h-* utilities. */

/* Screenshots horizontal gallery */
#screenshots-track {
	scrollbar-width: thin;
	scrollbar-color: rgba(148, 163, 184, 0.35) transparent;
}

#screenshots-track::-webkit-scrollbar {
	height: 5px;
}

#screenshots-track::-webkit-scrollbar-track {
	background: transparent;
}

#screenshots-track::-webkit-scrollbar-thumb {
	background: rgba(148, 163, 184, 0.35);
	border-radius: 9999px;
}

.dark #screenshots-track {
	scrollbar-color: rgba(255, 255, 255, 0.16) transparent;
}

.dark #screenshots-track::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.16);
}

#screenshots-track button {
	flex: 0 0 auto;
	padding: 0;
	line-height: 0;
}

#screenshots-track img {
	display: block;
	height: 11.5rem;
	width: auto;
	max-width: none;
	object-fit: cover;
}

@media (max-width: 639px) {
	#screenshots-track {
		scrollbar-width: none;
		-ms-overflow-style: none;
		padding-bottom: 0;
	}

	#screenshots-track::-webkit-scrollbar {
		display: none;
	}

	#screenshots-track button {
		max-width: 86%;
	}

	#screenshots-track img {
		max-width: 100%;
	}
}

@media (min-width: 640px) {
	#screenshots-track img {
		height: 15rem;
	}
}

.no-scrollbar::-webkit-scrollbar {
	display: none;
}

.no-scrollbar {
	-ms-overflow-style: none;
	scrollbar-width: none;
}

/* Description collapse */
.fmodpro-description {
	position: relative;
	overflow: hidden;
	transition: max-height 0.25s ease;
}

.fmodpro-description.is-collapsed {
	max-height: 22rem;
}

.fmodpro-description.is-collapsed::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	height: 6rem;
	background: linear-gradient(to bottom, transparent, #fff);
	pointer-events: none;
}

.dark .fmodpro-description.is-collapsed::after {
	background: linear-gradient(to bottom, transparent, #1b1f27);
}

.fmodpro-description.is-expanded {
	max-height: none;
}

/* Long-form content */
.fmodpro-prose > * + * {
	margin-top: 1rem;
}

.fmodpro-prose h2,
.fmodpro-prose h3,
.fmodpro-prose h4 {
	font-weight: 800;
	color: #0f172a;
	margin-top: 1.5rem;
}

.dark .fmodpro-prose h2,
.dark .fmodpro-prose h3,
.dark .fmodpro-prose h4 {
	color: #f1f5f9;
}

/* Tailwind classes used by the theme but not present in the IAPMOD build. */
.aspect-video {
	aspect-ratio: 16 / 9;
}

.page-numbers {
	min-width: 2.25rem;
	height: 2.25rem;
}

.line-clamp-2 {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.fmodpro-prose a {
	color: var(--fp-accent-text-light);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.dark .fmodpro-prose a {
	color: var(--fp-accent-text-dark);
}

.fmodpro-prose ul,
.fmodpro-prose ol {
	padding-left: 1.35rem;
}

.fmodpro-prose ul {
	list-style: disc;
}

.fmodpro-prose ol {
	list-style: decimal;
}

.fmodpro-prose li + li {
	margin-top: 0.35rem;
}

.fmodpro-prose blockquote {
	border-left: 3px solid var(--fp-accent);
	padding-left: 1rem;
	font-style: italic;
	color: #64748b;
}

.fmodpro-prose img {
	border-radius: 0.75rem;
}

/* Search dropdown */
.fmodpro-search-result {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.75rem;
	transition: background-color 0.15s ease;
}

.fmodpro-search-result:hover {
	background: #f8fafc;
}

.dark .fmodpro-search-result:hover {
	background: rgba(255, 255, 255, 0.05);
}

/* FAQ and details */
details > summary {
	list-style: none;
}

details > summary::-webkit-details-marker {
	display: none;
}

/* Lightbox */
.fmodpro-lightbox {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.85);
	padding: 1rem;
}

.fmodpro-lightbox.hidden {
	display: none;
}

.fmodpro-lightbox img {
	max-height: 85vh;
	max-width: 92vw;
	border-radius: 0.75rem;
	object-fit: contain;
}

.fmodpro-lightbox-close,
.fmodpro-lightbox-nav {
	position: absolute;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 9999px;
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.fmodpro-lightbox-close:hover,
.fmodpro-lightbox-nav:hover {
	background: rgba(255, 255, 255, 0.3);
}

.fmodpro-lightbox-close {
	top: 1rem;
	right: 1rem;
}

.fmodpro-lightbox-nav.prev {
	left: 1rem;
}

.fmodpro-lightbox-nav.next {
	right: 1rem;
}

/* Pagination */
.page-numbers.current {
	background: var(--fp-accent) !important;
	border-color: var(--fp-accent) !important;
	color: var(--fp-accent-ink) !important;
}

/* Brand wordmark (FMODPRO.COM) */
.fmodpro-brand {
	display: inline-flex;
	align-items: center;
	font-weight: 900;
	letter-spacing: -0.035em;
	line-height: 1;
	user-select: none;
	text-decoration: none;
	position: relative;
	text-transform: uppercase;
}

.fmodpro-brand-fmod {
	color: #0f172a;
	transition: color 0.2s ease;
}

.dark .fmodpro-brand-fmod {
	color: #ffffff;
}

.fmodpro-brand-pro {
	background: linear-gradient(135deg, var(--fp-accent) 0%, var(--fp-accent-light) 55%, var(--fp-accent-mid) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: var(--fp-accent);
	filter: drop-shadow(0 2px 10px rgba(var(--fp-accent-rgb), 0.22));
	transition: filter 0.2s ease;
}

.fmodpro-brand:hover .fmodpro-brand-pro {
	filter: drop-shadow(0 2px 14px rgba(var(--fp-accent-rgb), 0.45));
}

.fmodpro-brand-tld {
	display: inline-flex;
	align-items: center;
	font-size: 0.48em;
	font-weight: 800;
	letter-spacing: 0.04em;
	line-height: 1;
	margin-left: 0.35rem;
	padding: 0.28rem 0.42rem;
	border-radius: 0.375rem;
	background: rgba(var(--fp-accent-rgb), 0.12);
	border: 1px solid rgba(var(--fp-accent-rgb), 0.3);
	color: var(--fp-accent-text-light);
	transition: all 0.2s ease;
}

.dark .fmodpro-brand-tld {
	background: rgba(var(--fp-accent-rgb), 0.14);
	border-color: rgba(var(--fp-accent-rgb), 0.32);
	color: var(--fp-accent-text-dark);
}

.fmodpro-brand:hover .fmodpro-brand-tld {
	background: var(--fp-accent);
	border-color: var(--fp-accent);
	color: var(--fp-accent-ink);
}

/* Header navigation pills */
.fmodpro-nav-divider {
	width: 1px;
	height: 1.65rem;
	background: rgba(148, 163, 184, 0.25);
	margin: 0 0.5rem;
	flex-shrink: 0;
}

.dark .fmodpro-nav-divider {
	background: rgba(255, 255, 255, 0.08);
}

.fmodpro-nav-link {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.5rem 0.85rem;
	border-radius: 0.75rem;
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1;
	color: #64748b;
	transition: all 0.18s ease;
	white-space: nowrap;
}

.dark .fmodpro-nav-link {
	color: #9aa4b2;
}

.fmodpro-nav-link:hover {
	color: #0f172a;
	background: rgba(15, 23, 42, 0.05);
}

.dark .fmodpro-nav-link:hover {
	color: #ffffff;
	background: rgba(255, 255, 255, 0.05);
}

.fmodpro-nav-link.is-active {
	color: var(--fp-accent-text-light);
	background: rgba(var(--fp-accent-rgb), 0.12);
}

.dark .fmodpro-nav-link.is-active {
	color: var(--fp-accent-text-dark);
	background: rgba(var(--fp-accent-rgb), 0.14);
}

/* File download page CTA button */
.fmodpro-file-download-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.625rem;
	min-width: 14.5rem;
	padding: 0.85rem 2.25rem;
	border-radius: 0.875rem;
	background: linear-gradient(135deg, var(--fp-accent) 0%, var(--fp-accent-hover) 100%);
	color: var(--fp-accent-ink);
	font-size: 0.8125rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	text-decoration: none;
	box-shadow: 0 10px 25px -5px rgba(var(--fp-accent-rgb), 0.35);
	transition: all 0.2s ease;
}

.fmodpro-file-download-btn:hover {
	background: linear-gradient(135deg, var(--fp-accent-light) 0%, var(--fp-accent) 100%);
	color: var(--fp-accent-ink-hover);
	transform: translateY(-2px);
	box-shadow: 0 14px 30px -5px rgba(var(--fp-accent-rgb), 0.5);
}

/* Footer layout & social buttons */
.fmodpro-footer-row {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
}

@media (min-width: 768px) {
	.fmodpro-footer-row {
		flex-direction: row;
	}
}

.fmodpro-footer-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.5rem 1.75rem;
	font-size: 0.8125rem;
	font-weight: 600;
}

.fmodpro-footer-bottom {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
}

@media (min-width: 640px) {
	.fmodpro-footer-bottom {
		flex-direction: row;
	}
}

.fmodpro-social-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.45rem 0.85rem;
	border-radius: 0.75rem;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	transition: all 0.18s ease;
}

.fmodpro-social-telegram {
	background: rgba(34, 158, 217, 0.12);
	border: 1px solid rgba(34, 158, 217, 0.28);
	color: #229ed9;
}

.fmodpro-social-telegram:hover {
	background: #229ed9;
	border-color: #229ed9;
	color: #ffffff;
}

.fmodpro-social-youtube {
	background: rgba(255, 0, 51, 0.11);
	border: 1px solid rgba(255, 0, 51, 0.28);
	color: #ff3b5c;
}

.fmodpro-social-youtube:hover {
	background: #ff0033;
	border-color: #ff0033;
	color: #ffffff;
}

.fmodpro-social-iapmod {
	background: rgba(46, 204, 113, 0.12);
	border: 1px solid rgba(46, 204, 113, 0.3);
	color: #16a34a;
}

.dark .fmodpro-social-iapmod {
	color: #2ecc71;
}

.fmodpro-social-iapmod:hover {
	background: #2ecc71;
	border-color: #2ecc71;
	color: #0b1710;
}

/* Emoji reaction bar */
.fmodpro-reactions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.65rem 1.35rem;
	padding-top: 1.25rem;
	margin-top: 1.25rem;
	border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.dark .fmodpro-reactions {
	border-top-color: rgba(255, 255, 255, 0.06);
}

.fmodpro-reaction-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.45rem 0.75rem;
	border-radius: 9999px;
	background: transparent;
	border: 1px solid transparent;
	color: #334155;
	font-size: 0.9375rem;
	font-weight: 700;
	cursor: pointer;
	user-select: none;
	transition: all 0.18s ease;
}

.dark .fmodpro-reaction-btn {
	color: #e2e8f0;
}

.fmodpro-reaction-btn:hover {
	background: rgba(15, 23, 42, 0.05);
	border-color: rgba(148, 163, 184, 0.25);
	transform: translateY(-1px);
}

.dark .fmodpro-reaction-btn:hover {
	background: rgba(255, 255, 255, 0.05);
	border-color: rgba(255, 255, 255, 0.1);
}

.fmodpro-reaction-btn.is-active {
	background: rgba(var(--fp-accent-rgb), 0.12);
	border-color: rgba(var(--fp-accent-rgb), 0.38);
	color: var(--fp-accent-text-light);
}

.dark .fmodpro-reaction-btn.is-active {
	background: rgba(var(--fp-accent-rgb), 0.15);
	border-color: rgba(var(--fp-accent-rgb), 0.4);
	color: var(--fp-accent-text-dark);
}

.fmodpro-reaction-img {
	width: 1.75rem;
	height: 1.75rem;
	object-fit: contain;
	flex-shrink: 0;
	transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fmodpro-reaction-btn:hover .fmodpro-reaction-img {
	transform: scale(1.18);
}


/* ==========================================================================
   Request Game Page — Feature Chips, Upvote Buttons & Queue Cards
   ========================================================================== */
.fmodpro-feat-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.42rem 0.8rem;
	border-radius: 9999px;
	font-size: 0.75rem;
	font-weight: 700;
	border: 1px solid rgba(148, 163, 184, 0.35);
	background: #f8fafc;
	color: #334155;
	cursor: pointer;
	user-select: none;
	transition: all 0.16s ease;
}

.dark .fmodpro-feat-chip {
	background: #141820;
	border-color: rgba(255, 255, 255, 0.09);
	color: #cbd5e1;
}

.fmodpro-feat-chip:hover {
	border-color: rgba(var(--fp-accent-rgb), 0.55);
	color: var(--fp-accent-text-light);
}

.dark .fmodpro-feat-chip:hover {
	color: var(--fp-accent-text-dark);
}

.fmodpro-feat-chip.is-selected {
	background: rgba(var(--fp-accent-rgb), 0.16);
	border-color: var(--fp-accent);
	color: var(--fp-accent-text-light);
}

.dark .fmodpro-feat-chip.is-selected {
	background: rgba(var(--fp-accent-rgb), 0.18);
	border-color: var(--fp-accent);
	color: var(--fp-accent-text-dark);
}

.fmodpro-req-upvote {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 2.85rem;
	padding: 0.35rem 0.5rem;
	border-radius: 0.75rem;
	border: 1px solid rgba(148, 163, 184, 0.3);
	background: #ffffff;
	color: #334155;
	font-size: 0.72rem;
	font-weight: 800;
	line-height: 1.1;
	cursor: pointer;
	flex-shrink: 0;
	transition: all 0.16s ease;
}

.dark .fmodpro-req-upvote {
	background: #1b1f27;
	border-color: rgba(255, 255, 255, 0.08);
	color: #e2e8f0;
}

.fmodpro-req-upvote:hover,
.fmodpro-req-upvote.is-voted {
	background: rgba(var(--fp-accent-rgb), 0.16);
	border-color: var(--fp-accent);
	color: var(--fp-accent-text-light);
}

.dark .fmodpro-req-upvote:hover,
.dark .fmodpro-req-upvote.is-voted {
	background: rgba(var(--fp-accent-rgb), 0.18);
	border-color: var(--fp-accent);
	color: var(--fp-accent-text-dark);
}

.fmodpro-req-tag {
	display: inline-flex;
	align-items: center;
	padding: 0.15rem 0.45rem;
	border-radius: 0.375rem;
	font-size: 0.65rem;
	font-weight: 700;
	background: rgba(148, 163, 184, 0.14);
	color: #475569;
}

.dark .fmodpro-req-tag {
	background: rgba(255, 255, 255, 0.06);
	color: #cbd5e1;
}

.fmodpro-sort-pill {
	display: inline-flex;
	align-items: center;
	padding: 0.25rem 0.6rem;
	border-radius: 0.5rem;
	font-size: 0.68rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	border: 1px solid transparent;
	color: #64748b;
	background: transparent;
	cursor: pointer;
	transition: all 0.15s ease;
}

.dark .fmodpro-sort-pill {
	color: #9aa4b2;
}

.fmodpro-sort-pill.is-active {
	background: rgba(var(--fp-accent-rgb), 0.15);
	border-color: rgba(var(--fp-accent-rgb), 0.35);
	color: var(--fp-accent-text-light);
}

.dark .fmodpro-sort-pill.is-active {
	color: var(--fp-accent-text-dark);
}


/* ==========================================================================
   Download Page — Report Problem Strip & Modal
   ========================================================================== */
.fmodpro-report-strip {
	margin-top: 1.25rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(148, 163, 184, 0.2);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

.dark .fmodpro-report-strip {
	border-top-color: rgba(255, 255, 255, 0.06);
}

.fmodpro-report-trigger {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.48rem 0.95rem;
	border-radius: 0.75rem;
	border: 1px solid rgba(244, 63, 94, 0.32);
	background: rgba(244, 63, 94, 0.08);
	color: #e11d48;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	cursor: pointer;
	transition: all 0.16s ease;
}

.dark .fmodpro-report-trigger {
	background: rgba(244, 63, 94, 0.12);
	border-color: rgba(244, 63, 94, 0.35);
	color: #fb7185;
}

.fmodpro-report-trigger:hover {
	background: #f43f5e;
	border-color: #f43f5e;
	color: #ffffff;
}

.fmodpro-modal-backdrop {
	position: fixed;
	inset: 0;
	z-index: 9999;
	background: rgba(10, 14, 22, 0.72);
	backdrop-filter: blur(4px);
	display: none;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.fmodpro-modal-backdrop.is-open {
	display: flex;
}

.fmodpro-modal-dialog {
	width: 100%;
	max-width: 31rem;
	border-radius: 1.25rem;
	background: #ffffff;
	border: 1px solid rgba(148, 163, 184, 0.25);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
	overflow: hidden;
}

.dark .fmodpro-modal-dialog {
	background: #1b1f27;
	border-color: rgba(255, 255, 255, 0.08);
}

.fmodpro-reason-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.5rem;
}

@media (max-width: 480px) {
	.fmodpro-reason-grid {
		grid-template-columns: 1fr;
	}
}

.fmodpro-reason-opt {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.6rem 0.75rem;
	border-radius: 0.75rem;
	border: 1px solid rgba(148, 163, 184, 0.3);
	background: #f8fafc;
	color: #334155;
	font-size: 0.78rem;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.15s ease;
}

.dark .fmodpro-reason-opt {
	background: #141820;
	border-color: rgba(255, 255, 255, 0.08);
	color: #cbd5e1;
}

.fmodpro-reason-opt:hover {
	border-color: rgba(var(--fp-accent-rgb), 0.55);
}

.fmodpro-reason-opt input[type="radio"] {
	accent-color: var(--fp-accent);
	margin: 0;
	flex-shrink: 0;
}

.fmodpro-reason-opt.is-selected {
	border-color: var(--fp-accent);
	background: rgba(var(--fp-accent-rgb), 0.12);
	color: var(--fp-accent-text-light);
}

.dark .fmodpro-reason-opt.is-selected {
	color: var(--fp-accent-text-dark);
}


/* ==========================================================================
   Download Card — Pro Desktop & Mobile Responsive Polish
   ========================================================================== */
.fmodpro-dl-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.fmodpro-dl-back {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.38rem 0.75rem;
	border-radius: 0.65rem;
	border: 1px solid rgba(148, 163, 184, 0.28);
	background: #f8fafc;
	color: #475569;
	font-size: 0.72rem;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	flex-shrink: 0;
	transition: all 0.16s ease;
}

.dark .fmodpro-dl-back {
	background: #141820;
	border-color: rgba(255, 255, 255, 0.08);
	color: #cbd5e1;
}

.fmodpro-dl-back:hover {
	border-color: var(--fp-accent);
	color: var(--fp-accent-text-light);
}

.dark .fmodpro-dl-back:hover {
	color: var(--fp-accent-text-dark);
}

.fmodpro-dl-hero {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.dark .fmodpro-dl-hero {
	border-bottom-color: rgba(255, 255, 255, 0.06);
}

.fmodpro-dl-meta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem 0.75rem;
	margin-top: 0.45rem;
	font-size: 0.75rem;
	color: #64748b;
}

.dark .fmodpro-dl-meta-row {
	color: #9aa4b2;
}

.fmodpro-dl-ver-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	padding: 0.16rem 0.55rem;
	border-radius: 9999px;
	background: rgba(var(--fp-accent-rgb), 0.14);
	border: 1px solid rgba(var(--fp-accent-rgb), 0.3);
	color: var(--fp-accent-text-light);
	font-size: 0.7rem;
	font-weight: 800;
}

.dark .fmodpro-dl-ver-pill {
	color: var(--fp-accent-text-dark);
}

.fmodpro-dl-group {
	border-radius: 1rem;
	overflow: hidden;
	border: 1px solid rgba(148, 163, 184, 0.26);
	background: #f8fafc;
}

.dark .fmodpro-dl-group {
	border-color: rgba(255, 255, 255, 0.08);
	background: #141820;
}

.fmodpro-dl-group-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.85rem 1.1rem;
	cursor: pointer;
	list-style: none;
	user-select: none;
	background: rgba(var(--fp-accent-rgb), 0.09);
	border-bottom: 1px solid rgba(var(--fp-accent-rgb), 0.16);
}

.fmodpro-dl-group-summary::-webkit-details-marker {
	display: none;
}

.fmodpro-dl-group:not([open]) .fmodpro-dl-group-summary {
	border-bottom-color: transparent;
}

.fmodpro-dl-group-title {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	min-width: 0;
	font-size: 0.82rem;
	font-weight: 800;
	color: #0f172a;
}

.dark .fmodpro-dl-group-title {
	color: #f8fafc;
}

.fmodpro-dl-item-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.9rem 1rem;
	border-radius: 0.85rem;
	background: #ffffff;
	border: 1px solid rgba(148, 163, 184, 0.22);
	transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.dark .fmodpro-dl-item-row {
	background: #1b1f27;
	border-color: rgba(255, 255, 255, 0.07);
}

.fmodpro-dl-item-row:hover {
	border-color: rgba(var(--fp-accent-rgb), 0.55);
	box-shadow: 0 8px 20px -8px rgba(var(--fp-accent-rgb), 0.22);
}

.fmodpro-dl-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	padding: 0.62rem 1.2rem;
	border-radius: 0.75rem;
	background: linear-gradient(135deg, var(--fp-accent) 0%, var(--fp-accent-hover) 100%);
	color: var(--fp-accent-ink);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	flex-shrink: 0;
	box-shadow: 0 6px 16px -4px rgba(var(--fp-accent-rgb), 0.4);
	transition: all 0.16s ease;
}

.fmodpro-dl-cta:hover {
	background: linear-gradient(135deg, var(--fp-accent-light) 0%, var(--fp-accent) 100%);
	color: var(--fp-accent-ink-hover);
	transform: translateY(-1px);
	box-shadow: 0 10px 22px -4px rgba(var(--fp-accent-rgb), 0.55);
}

.fmodpro-dl-footer-bar {
	margin-top: 1.15rem;
	padding: 0.75rem 1rem;
	border-radius: 0.9rem;
	background: #f8fafc;
	border: 1px solid rgba(148, 163, 184, 0.2);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

.dark .fmodpro-dl-footer-bar {
	background: #141820;
	border-color: rgba(255, 255, 255, 0.06);
}

@media (max-width: 639px) {
	.fmodpro-dl-topbar {
		margin-bottom: 0.85rem;
	}

	.fmodpro-dl-hero {
		align-items: flex-start;
		gap: 0.85rem;
		padding-bottom: 1rem;
	}

	.fmodpro-dl-group-summary {
		padding: 0.75rem 0.9rem;
	}

	.fmodpro-dl-item-row {
		flex-direction: column;
		align-items: stretch;
		gap: 0.75rem;
		padding: 0.85rem;
	}

	.fmodpro-dl-cta {
		width: 100%;
		padding: 0.75rem 1rem;
	}

	.fmodpro-dl-footer-bar {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
		padding: 0.8rem;
		gap: 0.6rem;
	}

	.fmodpro-dl-footer-bar .fmodpro-dl-trust {
		justify-content: center;
	}

	.fmodpro-dl-footer-bar .fmodpro-report-trigger {
		width: 100%;
		justify-content: center;
		padding: 0.58rem 0.95rem;
	}
}


/* ==========================================================================
   Smooth Dark / Light Theme Transition (View Transition + Scoped CSS Fallback)
   ========================================================================== */
::view-transition-old(root),
::view-transition-new(root) {
	animation: none;
	mix-blend-mode: normal;
}

::view-transition-old(root) {
	z-index: 1;
}

::view-transition-new(root) {
	z-index: 9999;
}

html.theme-transitioning,
html.theme-transitioning *,
html.theme-transitioning *::before,
html.theme-transitioning *::after {
	transition: background-color 0.88s cubic-bezier(0.4, 0, 0.2, 1),
	            color 0.88s cubic-bezier(0.4, 0, 0.2, 1),
	            border-color 0.88s cubic-bezier(0.4, 0, 0.2, 1),
	            box-shadow 0.88s cubic-bezier(0.4, 0, 0.2, 1),
	            fill 0.88s cubic-bezier(0.4, 0, 0.2, 1),
	            stroke 0.88s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

[data-theme-toggle] svg {
	transition: transform 0.85s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme-toggle].is-spinning svg {
	transform: rotate(180deg) scale(0.85);
}


/* ==========================================================================
   Dynamic Accent Palette — Utility Overrides (All 5 Presets)
   ========================================================================== */
::selection {
	background-color: var(--fp-accent);
	color: var(--fp-accent-ink);
}

.text-\[\#2ecc71\] {
	color: var(--fp-accent-text-light);
}

.dark .text-\[\#2ecc71\],
.dark .dark\:text-\[\#2ecc71\] {
	color: var(--fp-accent-text-dark);
}

.hover\:text-\[\#2ecc71\]:hover {
	color: var(--fp-accent-text-light);
}

.dark .hover\:text-\[\#2ecc71\]:hover,
.dark .dark\:hover\:text-\[\#2ecc71\]:hover {
	color: var(--fp-accent-text-dark);
}

.group:hover .group-hover\:text-\[\#2ecc71\] {
	color: var(--fp-accent-text-light);
}

.dark .group:hover .group-hover\:text-\[\#2ecc71\],
.dark .group:hover .dark\:group-hover\:text-\[\#2ecc71\] {
	color: var(--fp-accent-text-dark);
}

.text-emerald-700,
.text-emerald-800,
.text-emerald-900 {
	color: var(--fp-accent-text-light);
}

.dark .dark\:text-emerald-200 {
	color: var(--fp-accent-light);
}

.text-\[\#0c1a12\],
.hover\:text-\[\#0c1a12\]:hover {
	color: var(--fp-accent-ink);
}

.bg-\[\#2ecc71\] {
	background-color: var(--fp-accent);
}

.hover\:bg-\[\#2ecc71\]:hover {
	background-color: var(--fp-accent);
}

.hover\:bg-\[\#27ae60\]:hover {
	background-color: var(--fp-accent-hover);
}

.bg-\[\#2ecc71\]\/10 {
	background-color: rgba(var(--fp-accent-rgb), 0.1);
}

.bg-\[\#2ecc71\]\/15,
.bg-emerald-500\/15 {
	background-color: rgba(var(--fp-accent-rgb), 0.15);
}

.bg-\[\#2ecc71\]\/20 {
	background-color: rgba(var(--fp-accent-rgb), 0.2);
}

.bg-\[\#2ecc71\]\/95 {
	background-color: rgba(var(--fp-accent-rgb), 0.95);
}

.dark .dark\:bg-\[\#1e3a2b\] {
	background-color: rgba(var(--fp-accent-rgb), 0.16);
}

.border-\[\#2ecc71\] {
	border-color: var(--fp-accent);
}

.border-\[\#2ecc71\]\/20 {
	border-color: rgba(var(--fp-accent-rgb), 0.2);
}

.border-\[\#2ecc71\]\/30 {
	border-color: rgba(var(--fp-accent-rgb), 0.3);
}

.border-\[\#2ecc71\]\/35 {
	border-color: rgba(var(--fp-accent-rgb), 0.35);
}

.border-\[\#2ecc71\]\/40 {
	border-color: rgba(var(--fp-accent-rgb), 0.4);
}

.border-\[\#2ecc71\]\/50 {
	border-color: rgba(var(--fp-accent-rgb), 0.5);
}

.hover\:border-\[\#2ecc71\]:hover {
	border-color: var(--fp-accent);
}

.hover\:border-\[\#2ecc71\]\/35:hover {
	border-color: rgba(var(--fp-accent-rgb), 0.35);
}

.hover\:border-\[\#2ecc71\]\/40:hover {
	border-color: rgba(var(--fp-accent-rgb), 0.4);
}

.hover\:border-\[\#2ecc71\]\/50:hover {
	border-color: rgba(var(--fp-accent-rgb), 0.5);
}

.dark .dark\:hover\:border-\[\#2ecc71\]\/45:hover {
	border-color: rgba(var(--fp-accent-rgb), 0.45);
}

.focus\:border-\[\#2ecc71\]:focus,
.dark .dark\:focus\:border-\[\#2ecc71\]:focus,
.focus-within\:border-\[\#2ecc71\]:focus-within {
	border-color: var(--fp-accent);
}

.from-\[\#2ecc71\] {
	--tw-gradient-from: var(--fp-accent);
	--tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
}

.from-\[\#27ae60\] {
	--tw-gradient-from: var(--fp-accent-hover);
	--tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
}

.to-\[\#27ae60\] {
	--tw-gradient-to: var(--fp-accent-hover);
	--tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
}

.to-\[\#16a085\] {
	--tw-gradient-to: var(--fp-accent-deep);
	--tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
}

.hover\:from-\[\#27ae60\]:hover {
	--tw-gradient-from: var(--fp-accent-hover);
	--tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
}

.hover\:to-\[\#219653\]:hover {
	--tw-gradient-to: var(--fp-accent-deep);
	--tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
}

.shadow-\[\#2ecc71\]\/20 {
	--tw-shadow-color: rgba(var(--fp-accent-rgb), 0.2);
}

.shadow-\[\#2ecc71\]\/25 {
	--tw-shadow-color: rgba(var(--fp-accent-rgb), 0.25);
}

.hover\:shadow-\[\#2ecc71\]\/40:hover {
	--tw-shadow-color: rgba(var(--fp-accent-rgb), 0.4);
}

.focus\:ring-\[\#2ecc71\]\/20:focus {
	--tw-ring-color: rgba(var(--fp-accent-rgb), 0.2);
}

.ring-\[\#2ecc71\]\/40 {
	--tw-ring-color: rgba(var(--fp-accent-rgb), 0.4);
}

.stroke-\[\#2ecc71\] {
	stroke: var(--fp-accent);
}


/* ==========================================================================
   Header Color Palette Picker & Floating Popover
   ========================================================================== */
.fmodpro-palette-trigger {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.fmodpro-palette-trigger:hover,
.fmodpro-palette-trigger[aria-expanded="true"] {
	color: var(--fp-accent-text-light);
	box-shadow: 0 0 0 1.5px rgba(var(--fp-accent-rgb), 0.35);
}

.dark .fmodpro-palette-trigger:hover,
.dark .fmodpro-palette-trigger[aria-expanded="true"] {
	color: var(--fp-accent-text-dark);
}

.fmodpro-palette-trigger svg {
	transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fmodpro-palette-trigger:hover svg,
.fmodpro-palette-trigger[aria-expanded="true"] svg {
	transform: rotate(-14deg) scale(1.06);
}

.fmodpro-palette-dot {
	position: absolute;
	right: 2px;
	bottom: 2px;
	width: 8px;
	height: 8px;
	border-radius: 9999px;
	background: var(--fp-accent);
	border: 1.5px solid #f1f5f9;
	box-shadow: 0 0 8px rgba(var(--fp-accent-rgb), 0.7);
	transition: background-color 0.35s ease, box-shadow 0.35s ease, transform 0.25s ease;
}

.dark .fmodpro-palette-dot {
	border-color: #252a34;
}

.fmodpro-palette-popover {
	position: absolute;
	right: 0;
	top: calc(100% + 0.65rem);
	z-index: 70;
	width: 17.5rem;
	padding: 0.9rem;
	border-radius: 1.1rem;
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid rgba(148, 163, 184, 0.26);
	box-shadow: 0 22px 45px -15px rgba(15, 23, 42, 0.22), 0 4px 12px -4px rgba(15, 23, 42, 0.08);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	transform-origin: top right;
	animation: fmodproPaletteIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.fmodpro-palette-popover[hidden] {
	display: none;
}

.dark .fmodpro-palette-popover {
	background: rgba(27, 31, 39, 0.96);
	border-color: rgba(255, 255, 255, 0.1);
	box-shadow: 0 26px 55px -15px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.04);
}

@keyframes fmodproPaletteIn {
	from {
		opacity: 0;
		transform: translateY(-6px) scale(0.95);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.fmodpro-palette-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
	padding-bottom: 0.6rem;
	border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.dark .fmodpro-palette-head {
	border-bottom-color: rgba(255, 255, 255, 0.07);
}

.fmodpro-palette-title {
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #64748b;
}

.dark .fmodpro-palette-title {
	color: #9aa4b2;
}

.fmodpro-palette-active-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.18rem 0.5rem;
	border-radius: 9999px;
	font-size: 0.65rem;
	font-weight: 800;
	letter-spacing: 0.03em;
	background: rgba(var(--fp-accent-rgb), 0.14);
	color: var(--fp-accent-text-light);
}

.dark .fmodpro-palette-active-badge {
	background: rgba(var(--fp-accent-rgb), 0.18);
	color: var(--fp-accent-text-dark);
}

.fmodpro-palette-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0.35rem;
}

.fmodpro-palette-swatch {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.38rem;
	padding: 0.35rem 0.15rem;
	border: 0;
	border-radius: 0.75rem;
	background: transparent;
	cursor: pointer;
	transition: background-color 0.18s ease, transform 0.18s ease;
}

.fmodpro-palette-swatch:hover {
	background: rgba(148, 163, 184, 0.12);
}

.dark .fmodpro-palette-swatch:hover {
	background: rgba(255, 255, 255, 0.06);
}

.fmodpro-swatch-circle {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.1rem;
	height: 2.1rem;
	border-radius: 9999px;
	background: linear-gradient(135deg, var(--swatch-a) 0%, var(--swatch-b) 100%);
	color: var(--swatch-check, #ffffff);
	box-shadow: 0 4px 12px -2px rgba(var(--swatch-rgb), 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.35);
	transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.fmodpro-palette-swatch:hover .fmodpro-swatch-circle {
	transform: scale(1.1);
	box-shadow: 0 6px 16px -2px rgba(var(--swatch-rgb), 0.65), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.fmodpro-palette-swatch.is-active .fmodpro-swatch-circle {
	transform: scale(1.06);
	box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px rgba(var(--swatch-rgb), 0.9), 0 6px 16px -2px rgba(var(--swatch-rgb), 0.55);
}

.dark .fmodpro-palette-swatch.is-active .fmodpro-swatch-circle {
	box-shadow: 0 0 0 2px #1b1f27, 0 0 0 4px rgba(var(--swatch-rgb), 0.95), 0 6px 18px -2px rgba(var(--swatch-rgb), 0.6);
}

.fmodpro-swatch-check {
	width: 0.95rem;
	height: 0.95rem;
	opacity: 0;
	transform: scale(0.45);
	transition: opacity 0.2s ease, transform 0.26s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fmodpro-palette-swatch.is-active .fmodpro-swatch-check {
	opacity: 1;
	transform: scale(1);
}

.fmodpro-swatch-name {
	font-size: 0.625rem;
	font-weight: 700;
	line-height: 1;
	color: #64748b;
	transition: color 0.18s ease;
}

.dark .fmodpro-swatch-name {
	color: #9aa4b2;
}

.fmodpro-palette-swatch.is-active .fmodpro-swatch-name {
	color: #0f172a;
	font-weight: 800;
}

.dark .fmodpro-palette-swatch.is-active .fmodpro-swatch-name {
	color: #ffffff;
}

/* Smooth aesthetic transition when switching accent palette */
html.palette-transitioning,
html.palette-transitioning *,
html.palette-transitioning *::before,
html.palette-transitioning *::after {
	transition: background-color 0.55s cubic-bezier(0.4, 0, 0.2, 1),
	            color 0.55s cubic-bezier(0.4, 0, 0.2, 1),
	            border-color 0.55s cubic-bezier(0.4, 0, 0.2, 1),
	            box-shadow 0.55s cubic-bezier(0.4, 0, 0.2, 1),
	            fill 0.55s cubic-bezier(0.4, 0, 0.2, 1),
	            stroke 0.55s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

@media (max-width: 420px) {
	.fmodpro-palette-popover {
		width: calc(100vw - 1.5rem);
		max-width: 17.5rem;
	}
}


/* ==========================================================================
   Final Download Page — 5-Second Circular Countdown & Shimmer Reveal
   ========================================================================== */
.fmodpro-file-stage {
	min-height: 11.25rem;
}

.fmodpro-countdown {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.fmodpro-countdown-waiting {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.65rem;
	width: 100%;
	max-width: 18rem;
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.fmodpro-countdown-waiting.is-leaving {
	opacity: 0;
	transform: scale(0.94);
}

.fmodpro-countdown-waiting[hidden],
.fmodpro-countdown-ready[hidden] {
	display: none;
}

.fmodpro-countdown-ring-wrap {
	position: relative;
	width: 4.5rem;
	height: 4.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.fmodpro-countdown-svg {
	width: 100%;
	height: 100%;
	transform: rotate(-90deg);
	overflow: visible;
}

.fmodpro-countdown-track {
	stroke: rgba(var(--fp-accent-rgb), 0.16);
}

.dark .fmodpro-countdown-track {
	stroke: rgba(var(--fp-accent-rgb), 0.18);
}

.fmodpro-countdown-arc {
	stroke: var(--fp-accent);
	stroke-dasharray: 188.496;
	stroke-dashoffset: 0;
	filter: drop-shadow(0 0 6px rgba(var(--fp-accent-rgb), 0.45));
}

.fmodpro-countdown-num {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	font-weight: 900;
	font-variant-numeric: tabular-nums;
	line-height: 1;
	color: var(--fp-accent-text-light);
}

.dark .fmodpro-countdown-num {
	color: var(--fp-accent-text-dark);
}

.fmodpro-countdown-num.is-tick {
	animation: fmodproTickPop 0.34s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes fmodproTickPop {
	0% {
		transform: scale(1.28);
		opacity: 0.72;
	}
	100% {
		transform: scale(1);
		opacity: 1;
	}
}

.fmodpro-countdown-status {
	margin: 0;
	font-size: 0.8125rem;
	font-weight: 800;
	color: #0f172a;
	letter-spacing: -0.01em;
}

.dark .fmodpro-countdown-status {
	color: #f1f5f9;
}

.fmodpro-countdown-bar {
	width: 100%;
	max-width: 14.5rem;
	height: 4px;
	border-radius: 9999px;
	background: rgba(148, 163, 184, 0.22);
	overflow: hidden;
}

.dark .fmodpro-countdown-bar {
	background: rgba(255, 255, 255, 0.08);
}

.fmodpro-countdown-bar-fill {
	display: block;
	height: 100%;
	width: 0%;
	border-radius: 9999px;
	background: linear-gradient(90deg, var(--fp-accent) 0%, var(--fp-accent-light) 100%);
	box-shadow: 0 0 10px rgba(var(--fp-accent-rgb), 0.55);
}

.fmodpro-countdown-hint {
	margin: 0;
	font-size: 0.72rem;
	font-weight: 600;
	color: #64748b;
}

.dark .fmodpro-countdown-hint {
	color: #9aa4b2;
}

.fmodpro-countdown-hint strong {
	color: var(--fp-accent-text-light);
	font-weight: 800;
}

.dark .fmodpro-countdown-hint strong {
	color: var(--fp-accent-text-dark);
}

.fmodpro-countdown-ready {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.85rem;
	width: 100%;
	animation: fmodproReadyReveal 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fmodproReadyReveal {
	from {
		opacity: 0;
		transform: translateY(8px) scale(0.96);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.fmodpro-countdown-verified {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.28rem 0.75rem;
	border-radius: 9999px;
	background: rgba(var(--fp-accent-rgb), 0.12);
	border: 1px solid rgba(var(--fp-accent-rgb), 0.28);
	color: var(--fp-accent-text-light);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.01em;
}

.dark .fmodpro-countdown-verified {
	background: rgba(var(--fp-accent-rgb), 0.15);
	border-color: rgba(var(--fp-accent-rgb), 0.32);
	color: var(--fp-accent-text-dark);
}

.fmodpro-file-download-btn {
	position: relative;
	overflow: hidden;
}

.fmodpro-file-download-btn.is-shimmer::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.42) 50%, transparent 75%);
	transform: translateX(-120%);
	animation: fmodproBtnShimmer 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.12s forwards;
	pointer-events: none;
}

@keyframes fmodproBtnShimmer {
	to {
		transform: translateX(120%);
	}
}

.fmodpro-file-btn-size {
	padding: 0.14rem 0.5rem;
	border-radius: 9999px;
	background: rgba(0, 0, 0, 0.14);
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: none;
}


/* ==========================================================================
   Spotlight Search Command Palette (Ctrl+K / / / Click)
   ========================================================================== */
.fmodpro-spotlight-trigger {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	height: 2.3rem;
	padding: 0 0.85rem;
	border-radius: 9999px;
	background: #f1f5f9;
	border: 1px solid rgba(203, 213, 225, 0.85);
	color: #94a3b8;
	font-size: 0.78rem;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
	transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

@media (min-width: 640px) {
	.fmodpro-spotlight-trigger {
		width: 17rem;
		flex: 0 0 auto;
	}
}

@media (min-width: 1024px) {
	.fmodpro-spotlight-trigger {
		width: 22rem;
	}
}

.dark .fmodpro-spotlight-trigger {
	background: #252a34;
	border-color: rgba(255, 255, 255, 0.06);
	color: #7f8a9a;
}

.fmodpro-spotlight-trigger:hover {
	border-color: rgba(var(--fp-accent-rgb), 0.55);
	background: #ffffff;
	box-shadow: 0 0 0 3px rgba(var(--fp-accent-rgb), 0.1);
}

.dark .fmodpro-spotlight-trigger:hover {
	border-color: rgba(var(--fp-accent-rgb), 0.5);
	background: #1e222b;
	box-shadow: 0 0 0 3px rgba(var(--fp-accent-rgb), 0.12);
}

.fmodpro-spotlight-trigger-text {
	flex: 1;
	min-width: 0;
}

.fmodpro-spotlight-trigger-text.is-filled {
	color: #0f172a;
	font-weight: 700;
}

.dark .fmodpro-spotlight-trigger-text.is-filled {
	color: #f1f5f9;
}

.fmodpro-spotlight-kbd {
	align-items: center;
	gap: 0.2rem;
	flex-shrink: 0;
}

.fmodpro-spotlight-kbd kbd,
.fmodpro-spotlight-hints kbd {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.25rem;
	height: 1.25rem;
	padding: 0 0.32rem;
	border-radius: 0.375rem;
	background: #ffffff;
	border: 1px solid rgba(148, 163, 184, 0.35);
	box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
	font-family: inherit;
	font-size: 0.625rem;
	font-weight: 800;
	line-height: 1;
	color: #64748b;
}

.dark .fmodpro-spotlight-kbd kbd,
.dark .fmodpro-spotlight-hints kbd {
	background: #1b1f27;
	border-color: rgba(255, 255, 255, 0.12);
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
	color: #9aa4b2;
}

body.fmodpro-spotlight-open {
	overflow: hidden;
}

.fmodpro-spotlight {
	position: fixed;
	inset: 0;
	z-index: 9990;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: min(10vh, 5.25rem) 1rem 1rem;
}

.fmodpro-spotlight[hidden] {
	display: none;
}

.fmodpro-spotlight-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(10, 14, 22, 0.56);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	animation: fmodproSpFadeIn 0.2s ease forwards;
}

.dark .fmodpro-spotlight-backdrop {
	background: rgba(5, 7, 11, 0.72);
}

.fmodpro-spotlight-dialog {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 40rem;
	max-height: min(76vh, 39rem);
	display: flex;
	flex-direction: column;
	border-radius: 1.25rem;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.97);
	border: 1px solid rgba(148, 163, 184, 0.28);
	box-shadow: 0 32px 70px -18px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(var(--fp-accent-rgb), 0.14);
	animation: fmodproSpPopIn 0.24s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.dark .fmodpro-spotlight-dialog {
	background: rgba(24, 28, 36, 0.97);
	border-color: rgba(255, 255, 255, 0.1);
	box-shadow: 0 36px 80px -18px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(var(--fp-accent-rgb), 0.18);
}

@keyframes fmodproSpFadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes fmodproSpPopIn {
	from {
		opacity: 0;
		transform: translateY(-10px) scale(0.97);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.fmodpro-spotlight-header {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	padding: 0.85rem 1rem;
	border-bottom: 1px solid rgba(148, 163, 184, 0.2);
	flex-shrink: 0;
}

.dark .fmodpro-spotlight-header {
	border-bottom-color: rgba(255, 255, 255, 0.08);
}

.fmodpro-spotlight-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--fp-accent-text-light);
	flex-shrink: 0;
}

.dark .fmodpro-spotlight-icon {
	color: var(--fp-accent-text-dark);
}

.fmodpro-spotlight-input {
	flex: 1;
	min-width: 0;
	border: 0;
	outline: none;
	background: transparent;
	font-size: 0.95rem;
	font-weight: 600;
	color: #0f172a;
	line-height: 1.4;
}

.dark .fmodpro-spotlight-input {
	color: #f8fafc;
}

.fmodpro-spotlight-input::placeholder {
	color: #94a3b8;
	font-weight: 500;
}

.dark .fmodpro-spotlight-input::placeholder {
	color: #6b7688;
}

.fmodpro-spotlight-input::-webkit-search-cancel-button {
	-webkit-appearance: none;
	appearance: none;
}

.fmodpro-spotlight-spinner {
	width: 1rem;
	height: 1rem;
	border-radius: 9999px;
	border: 2px solid var(--fp-accent);
	border-top-color: transparent;
	animation: spin 0.7s linear infinite;
	flex-shrink: 0;
}

.fmodpro-spotlight-spinner[hidden],
.fmodpro-spotlight-clear[hidden] {
	display: none;
}

.fmodpro-spotlight-clear {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.65rem;
	height: 1.65rem;
	border-radius: 9999px;
	border: 0;
	background: rgba(148, 163, 184, 0.16);
	color: #64748b;
	cursor: pointer;
	flex-shrink: 0;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.fmodpro-spotlight-clear:hover {
	background: rgba(148, 163, 184, 0.28);
	color: #0f172a;
}

.dark .fmodpro-spotlight-clear {
	background: rgba(255, 255, 255, 0.08);
	color: #9aa4b2;
}

.dark .fmodpro-spotlight-clear:hover {
	background: rgba(255, 255, 255, 0.16);
	color: #ffffff;
}

.fmodpro-spotlight-close-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.9rem;
	height: 1.9rem;
	border-radius: 9999px;
	border: 1px solid rgba(148, 163, 184, 0.25);
	background: #f8fafc;
	color: #64748b;
	cursor: pointer;
	flex-shrink: 0;
	transition: all 0.15s ease;
}

.dark .fmodpro-spotlight-close-btn {
	background: #141820;
	border-color: rgba(255, 255, 255, 0.08);
	color: #9aa4b2;
}

.fmodpro-spotlight-close-btn:hover {
	border-color: var(--fp-accent);
	color: var(--fp-accent-text-light);
}

.dark .fmodpro-spotlight-close-btn:hover {
	color: var(--fp-accent-text-dark);
}

.fmodpro-spotlight-body {
	flex: 1;
	overflow-y: auto;
	padding: 0.85rem;
	scrollbar-width: thin;
	scrollbar-color: rgba(148, 163, 184, 0.3) transparent;
}

.fmodpro-sp-section + .fmodpro-sp-section {
	margin-top: 1rem;
	padding-top: 0.9rem;
	border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.dark .fmodpro-sp-section + .fmodpro-sp-section {
	border-top-color: rgba(255, 255, 255, 0.06);
}

.fmodpro-sp-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin-bottom: 0.55rem;
	padding: 0 0.25rem;
}

.fmodpro-sp-label {
	display: inline-flex;
	align-items: center;
	gap: 0.38rem;
	font-size: 0.675rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #64748b;
}

.dark .fmodpro-sp-label {
	color: #8b95a5;
}

.fmodpro-sp-label-dot {
	width: 6px;
	height: 6px;
	border-radius: 9999px;
	background: var(--fp-accent);
}

.fmodpro-sp-clear-all {
	border: 0;
	background: transparent;
	padding: 0.15rem 0.35rem;
	border-radius: 0.375rem;
	font-size: 0.675rem;
	font-weight: 700;
	color: #64748b;
	cursor: pointer;
	transition: color 0.15s ease, background-color 0.15s ease;
}

.fmodpro-sp-clear-all:hover {
	color: #e11d48;
	background: rgba(244, 63, 94, 0.08);
}

/* Recent Search Chips */
.fmodpro-sp-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.fmodpro-sp-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	padding: 0.32rem 0.45rem 0.32rem 0.65rem;
	border-radius: 9999px;
	background: #f1f5f9;
	border: 1px solid rgba(148, 163, 184, 0.24);
	color: #334155;
	font-size: 0.72rem;
	font-weight: 700;
	transition: all 0.15s ease;
}

.dark .fmodpro-sp-chip {
	background: #141820;
	border-color: rgba(255, 255, 255, 0.08);
	color: #cbd5e1;
}

.fmodpro-sp-chip:hover {
	border-color: rgba(var(--fp-accent-rgb), 0.5);
	background: rgba(var(--fp-accent-rgb), 0.08);
}

.fmodpro-sp-chip-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	border: 0;
	background: transparent;
	padding: 0;
	color: inherit;
	font: inherit;
	cursor: pointer;
}

.fmodpro-sp-chip-rm {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.05rem;
	height: 1.05rem;
	border: 0;
	border-radius: 9999px;
	background: transparent;
	color: #94a3b8;
	cursor: pointer;
	font-size: 0.8rem;
	line-height: 1;
	transition: background-color 0.14s ease, color 0.14s ease;
}

.fmodpro-sp-chip-rm:hover {
	background: rgba(244, 63, 94, 0.14);
	color: #f43f5e;
}

/* Trending 2-col Grid & Result List */
.fmodpro-sp-trending-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.45rem;
}

.fmodpro-sp-list {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
}

.fmodpro-sp-item {
	display: flex;
	align-items: center;
	gap: 0.72rem;
	padding: 0.58rem 0.68rem;
	border-radius: 0.85rem;
	border: 1px solid transparent;
	text-decoration: none;
	color: inherit;
	transition: background-color 0.14s ease, border-color 0.14s ease, transform 0.14s ease;
}

.fmodpro-sp-item:hover,
.fmodpro-sp-item.is-active {
	background: rgba(var(--fp-accent-rgb), 0.09);
	border-color: rgba(var(--fp-accent-rgb), 0.34);
}

.dark .fmodpro-sp-item:hover,
.dark .fmodpro-sp-item.is-active {
	background: rgba(var(--fp-accent-rgb), 0.13);
	border-color: rgba(var(--fp-accent-rgb), 0.38);
}

.fmodpro-sp-icon {
	width: 2.55rem;
	height: 2.55rem;
	border-radius: 0.72rem;
	object-fit: cover;
	flex-shrink: 0;
	background: #f1f5f9;
	border: 1px solid rgba(148, 163, 184, 0.22);
}

.dark .fmodpro-sp-icon {
	background: #252a34;
	border-color: rgba(255, 255, 255, 0.08);
}

.fmodpro-sp-icon-fallback {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--fp-accent) 0%, var(--fp-accent-deep) 100%);
	color: var(--fp-accent-ink);
	font-weight: 900;
	font-size: 0.9rem;
}

.fmodpro-sp-info {
	min-width: 0;
	flex: 1;
}

.fmodpro-sp-title {
	display: block;
	font-size: 0.8125rem;
	font-weight: 800;
	color: #0f172a;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.dark .fmodpro-sp-title {
	color: #f8fafc;
}

.fmodpro-sp-mark {
	background: rgba(var(--fp-accent-rgb), 0.22);
	color: var(--fp-accent-text-light);
	border-radius: 0.25rem;
	padding: 0 0.14rem;
}

.dark .fmodpro-sp-mark {
	background: rgba(var(--fp-accent-rgb), 0.26);
	color: var(--fp-accent-text-dark);
}

.fmodpro-sp-meta {
	display: block;
	margin-top: 0.12rem;
	font-size: 0.675rem;
	font-weight: 600;
	color: #64748b;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.dark .fmodpro-sp-meta {
	color: #8b95a5;
}

.fmodpro-sp-badge {
	flex-shrink: 0;
	padding: 0.18rem 0.45rem;
	border-radius: 0.4rem;
	background: rgba(var(--fp-accent-rgb), 0.14);
	color: var(--fp-accent-text-light);
	font-size: 0.5625rem;
	font-weight: 900;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.dark .fmodpro-sp-badge {
	background: rgba(var(--fp-accent-rgb), 0.16);
	color: var(--fp-accent-text-dark);
}

.fmodpro-sp-enter {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.4rem;
	height: 1.4rem;
	border-radius: 0.4rem;
	background: rgba(var(--fp-accent-rgb), 0.16);
	color: var(--fp-accent-text-light);
	font-size: 0.72rem;
	font-weight: 800;
	opacity: 0;
	transform: translateX(-4px);
	transition: opacity 0.14s ease, transform 0.14s ease;
}

.dark .fmodpro-sp-enter {
	color: var(--fp-accent-text-dark);
}

.fmodpro-sp-item:hover .fmodpro-sp-enter,
.fmodpro-sp-item.is-active .fmodpro-sp-enter {
	opacity: 1;
	transform: translateX(0);
}

/* Quick Shortcuts & View All */
.fmodpro-sp-shortcuts {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.fmodpro-sp-shortcut {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.42rem 0.75rem;
	border-radius: 0.7rem;
	background: #f8fafc;
	border: 1px solid rgba(148, 163, 184, 0.24);
	color: #334155;
	font-size: 0.72rem;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.15s ease;
}

.dark .fmodpro-sp-shortcut {
	background: #141820;
	border-color: rgba(255, 255, 255, 0.07);
	color: #cbd5e1;
}

.fmodpro-sp-shortcut:hover,
.fmodpro-sp-shortcut.is-active {
	border-color: rgba(var(--fp-accent-rgb), 0.48);
	background: rgba(var(--fp-accent-rgb), 0.1);
	color: var(--fp-accent-text-light);
}

.dark .fmodpro-sp-shortcut:hover,
.dark .fmodpro-sp-shortcut.is-active {
	color: var(--fp-accent-text-dark);
}

.fmodpro-sp-view-all {
	margin-top: 0.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	padding: 0.62rem 0.8rem;
	border-radius: 0.8rem;
	background: rgba(var(--fp-accent-rgb), 0.1);
	border: 1px solid rgba(var(--fp-accent-rgb), 0.25);
	color: var(--fp-accent-text-light);
	font-size: 0.75rem;
	font-weight: 800;
	text-decoration: none;
	transition: all 0.15s ease;
}

.dark .fmodpro-sp-view-all {
	color: var(--fp-accent-text-dark);
}

.fmodpro-sp-view-all:hover,
.fmodpro-sp-view-all.is-active {
	background: var(--fp-accent);
	border-color: var(--fp-accent);
	color: var(--fp-accent-ink);
}

/* Skeleton Loader */
.fmodpro-sp-skeleton-row {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.55rem 0.65rem;
}

.fmodpro-sp-skel-box {
	border-radius: 0.65rem;
	background: linear-gradient(90deg, rgba(148, 163, 184, 0.14) 25%, rgba(148, 163, 184, 0.26) 50%, rgba(148, 163, 184, 0.14) 75%);
	background-size: 200% 100%;
	animation: fmodproSkelShimmer 1.15s ease-in-out infinite;
}

.dark .fmodpro-sp-skel-box {
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.11) 50%, rgba(255, 255, 255, 0.05) 75%);
	background-size: 200% 100%;
}

@keyframes fmodproSkelShimmer {
	from { background-position: 200% 0; }
	to { background-position: -200% 0; }
}

/* Empty State */
.fmodpro-sp-empty {
	padding: 1.75rem 1rem;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.55rem;
}

.fmodpro-sp-empty-icon {
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 0.9rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(var(--fp-accent-rgb), 0.12);
	color: var(--fp-accent-text-light);
}

.dark .fmodpro-sp-empty-icon {
	color: var(--fp-accent-text-dark);
}

.fmodpro-sp-empty-title {
	margin: 0;
	font-size: 0.875rem;
	font-weight: 800;
	color: #0f172a;
}

.dark .fmodpro-sp-empty-title {
	color: #f8fafc;
}

.fmodpro-sp-empty-sub {
	margin: 0;
	font-size: 0.75rem;
	color: #64748b;
	max-width: 22rem;
}

.dark .fmodpro-sp-empty-sub {
	color: #9aa4b2;
}

.fmodpro-sp-request-btn {
	margin-top: 0.35rem;
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.58rem 1.15rem;
	border-radius: 9999px;
	background: linear-gradient(135deg, var(--fp-accent) 0%, var(--fp-accent-hover) 100%);
	color: var(--fp-accent-ink);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	text-decoration: none;
	box-shadow: 0 8px 18px -5px rgba(var(--fp-accent-rgb), 0.45);
	transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.fmodpro-sp-request-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 12px 24px -5px rgba(var(--fp-accent-rgb), 0.55);
}

/* Footer Hints Bar */
.fmodpro-spotlight-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.6rem 1rem;
	border-top: 1px solid rgba(148, 163, 184, 0.18);
	background: rgba(248, 250, 252, 0.85);
	flex-shrink: 0;
}

.dark .fmodpro-spotlight-footer {
	border-top-color: rgba(255, 255, 255, 0.07);
	background: rgba(17, 20, 27, 0.85);
}

.fmodpro-spotlight-hints {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	font-size: 0.675rem;
	font-weight: 600;
	color: #64748b;
}

.dark .fmodpro-spotlight-hints {
	color: #8b95a5;
}

.fmodpro-spotlight-hints span {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
}

.fmodpro-spotlight-brand {
	font-size: 0.65rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--fp-accent-text-light);
}

.dark .fmodpro-spotlight-brand {
	color: var(--fp-accent-text-dark);
}

@media (max-width: 639px) {
	.fmodpro-spotlight {
		padding: 0.65rem 0.65rem 1rem;
	}

	.fmodpro-spotlight-dialog {
		max-height: 82dvh;
		border-radius: 1.05rem;
	}

	.fmodpro-spotlight-input {
		font-size: 0.875rem;
	}

	.fmodpro-sp-trending-grid {
		grid-template-columns: 1fr;
	}

	.fmodpro-sp-enter,
	.fmodpro-spotlight-footer {
		display: none;
	}
}
