/* ==========================================================================
   EKPrompt - Refined Header & Premium Dark Gradient Footer CSS
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Dark Theme Color Tokens (Default)
   -------------------------------------------------------------------------- */
:root {
	--color-bg-primary: #0b0d12;
	--color-bg-surface: #12151c;
	--color-bg-elevated: #181c24;
	--color-bg-card: rgba(18, 21, 28, 0.85);

	--color-border-glass: rgba(255, 255, 255, 0.08);
	--color-border-hover: rgba(139, 92, 246, 0.35);

	--color-text-primary: #f5f7fa;
	--color-text-secondary: #a5adba;
	--color-text-muted: #64748b;

	--color-brand-accent: #8b5cf6;
	--color-brand-hover: #7c3aed;
	--gradient-brand: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);

	/* Fixed Theme Toggle Tokens */
	--toggle-bg: #181c24;
	--toggle-border: rgba(255, 255, 255, 0.12);
	--toggle-icon-color: #f5f7fa;
	--toggle-hover-bg: rgba(255, 255, 255, 0.06);
	--toggle-hover-border: rgba(139, 92, 246, 0.4);

	--radius-sm: 8px;
	--radius-md: 12px;
	--radius-lg: 18px;
	--radius-full: 9999px;

	--glass-backdrop-blur: blur(12px);
	--shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
	--shadow-glow: 0 0 25px rgba(139, 92, 246, 0.25);
}

/* --------------------------------------------------------------------------
   2. Light Theme Color Tokens
   -------------------------------------------------------------------------- */
[data-theme="light"] {
	--color-bg-primary: #ffffff;
	--color-bg-surface: #f8f9fc;
	--color-bg-elevated: #ffffff;
	--color-bg-card: rgba(255, 255, 255, 0.9);

	--color-border-glass: #e6e8ef;
	--color-border-hover: rgba(99, 102, 241, 0.35);

	--color-text-primary: #171923;
	--color-text-secondary: #667085;
	--color-text-muted: #94a3b8;

	--color-brand-accent: #6366f1;
	--color-brand-hover: #4f46e5;

	/* Fixed Theme Toggle Specific for Light Theme */
	--toggle-bg: #f8f9fc;
	--toggle-border: #e6e8ef;
	--toggle-icon-color: #171923;
	--toggle-hover-bg: #f1f5f9;
	--toggle-hover-border: rgba(99, 102, 241, 0.35);

	--shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.04);
	--shadow-glow: 0 0 20px rgba(99, 102, 241, 0.12);
}

/* --------------------------------------------------------------------------
   3. Base Reset & Layout Constraints
   -------------------------------------------------------------------------- */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	background-color: var(--color-bg-primary);
	color: var(--color-text-primary);
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
	line-height: 1.6;
	overflow-x: hidden;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-y: none;
	transition: background-color 0.25s ease, color 0.25s ease;
}

body.drawer-open,
body.mobile-menu-open,
body.mobile-sidebar-open {
	overflow: hidden !important;
	touch-action: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Outfit', 'Inter', sans-serif;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--color-text-primary);
}

a {
	color: inherit;
	text-decoration: none;
}

.container {
	width: calc(100% - 48px);
	max-width: 1280px;
	margin: 0 auto;
	padding: 0;
	box-sizing: border-box;
}

@media (max-width: 768px) {
	.container {
		width: calc(100% - 24px);
		padding: 0;
	}
}

/* --------------------------------------------------------------------------
   4. NEW FLOATING NAVIGATION CARD SYSTEM (COMPLETE REBUILD)
   -------------------------------------------------------------------------- */

/*
 * ROOT CAUSE FIX:
 * .site-header is a full-width block element whose height = nav-card height.
 * Even with background:transparent, the body background color shows through
 * that block area, creating the white (Light) or black (Dark) strip.
 *
 * FIX: display:contents removes the rendered box of .site-header entirely.
 * It produces NO box, NO background, NO width, NO height of its own.
 * Only the child .nav-card renders — which has its own background.
 * Sticky is moved directly onto .nav-card.
 */
.site-header {
	display: contents;
}

/* Sticky applied directly to the card when outer header has is-sticky */
.site-header.is-sticky .nav-card {
	position: sticky;
	top: 0;
	z-index: 1000;
}

/* 1. Desktop Floating Navigation Card */
.nav-card {
	position: relative;
	z-index: 2;
	width: calc(100% - 48px);
	max-width: 1280px;
	height: 64px;
	margin: 16px auto 0;
	padding: 0 18px;
	border-radius: 18px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	box-sizing: border-box;
	transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;

	/* Dark Mode (Default) */
	background: rgba(15, 23, 42, 0.96);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 0 10px 35px rgba(0, 0, 0, 0.28);
}

/* Light Mode Card */
[data-theme="light"] .nav-card {
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid rgba(30, 40, 80, 0.08);
	box-shadow: 0 8px 30px rgba(30, 40, 80, 0.08);
}

/* Sticky Scrolled State (Card only) */
.site-header.scrolled .nav-card {
	box-shadow: 0 14px 40px rgba(0, 0, 0, 0.38);
}

[data-theme="light"] .site-header.scrolled .nav-card {
	box-shadow: 0 12px 35px rgba(30, 40, 80, 0.14);
}

/* 2. Group Layouts */
.nav-group {
	display: flex;
	align-items: center;
}

.nav-brand-group {
	flex-shrink: 0;
}

.nav-menu-group {
	flex-grow: 1;
	display: flex;
	justify-content: center;
	padding: 0 16px;
}

.nav-actions-group {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

/* 3. Brand */
.nav-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	transition: opacity 0.18s ease;
}

.nav-brand:hover {
	opacity: 0.9;
}

.nav-brand-icon {
	width: 34px;
	height: 34px;
	background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
	border-radius: 9px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

.nav-brand-logo {
	max-height: 34px;
	max-width: 180px;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
	border-radius: 8px;
}

/* Light / Dark Mode Logo Visibility */
.nav-brand-logo.nav-logo-light {
	display: none;
}
.nav-brand-logo.nav-logo-dark {
	display: block;
}

[data-theme="light"] .nav-brand-logo.nav-logo-light {
	display: block;
}
[data-theme="light"] .nav-brand-logo.nav-logo-dark {
	display: none;
}

/* Configurable Logo Glow Effects (Scoped strictly to navigation brand logo) */
.nav-brand-logo.has-dark-glow {
	filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.55)) drop-shadow(0 0 22px rgba(139, 92, 246, 0.45));
}

[data-theme="light"] .nav-brand-logo.has-light-glow {
	filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.55)) drop-shadow(0 0 18px rgba(236, 72, 153, 0.38)) drop-shadow(0 2px 8px rgba(15, 23, 42, 0.15));
}

.nav-brand-text {
	font-family: 'Outfit', 'Inter', sans-serif;
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: #ffffff;
	white-space: nowrap;
}

[data-theme="light"] .nav-brand-text {
	color: #0f172a;
}

/* 4. Desktop Navigation Menu */
.nav-links {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
}

.nav-links li {
	position: relative;
	display: flex;
	align-items: center;
}

.nav-links a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 8px 12px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	color: #cbd5e1;
	text-decoration: none;
	white-space: nowrap;
	border-radius: 8px;
	position: relative;
	transition: color 180ms ease, background-color 180ms ease;
}

[data-theme="light"] .nav-links a {
	color: #334155;
}

.nav-links a:hover {
	color: #ffffff;
	background: rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .nav-links a:hover {
	color: #0f172a;
	background: rgba(0, 0, 0, 0.04);
}

/* Active Menu Item (Clean Minimal Underline Indicator) */
.nav-links .current-menu-item>a,
.nav-links .current_page_item>a {
	color: var(--color-brand-accent);
	background: transparent !important;
	box-shadow: none !important;
	font-weight: 600;
}

[data-theme="light"] .nav-links .current-menu-item>a,
[data-theme="light"] .nav-links .current_page_item>a {
	color: var(--color-brand-accent);
	background: transparent !important;
	box-shadow: none !important;
}

.nav-links .current-menu-item>a::after,
.nav-links .current_page_item>a::after {
	content: '';
	position: absolute;
	bottom: 0px;
	left: 12px;
	right: 12px;
	height: 2px;
	background-color: var(--color-brand-accent);
	border-radius: 2px;
}

/* 5. Search Control */
.nav-search-form {
	margin: 0;
	padding: 0;
}

.nav-search-box {
	position: relative;
	display: flex;
	align-items: center;
	width: 220px;
	transition: width 0.2s ease;
}

.nav-search-box:focus-within {
	width: 240px;
}

.nav-search-icon {
	position: absolute;
	left: 12px;
	color: #94a3b8;
	pointer-events: none;
	transition: color 0.2s ease;
}

.nav-search-box:focus-within .nav-search-icon {
	color: var(--color-brand-accent);
}

.nav-search-input {
	width: 100%;
	height: 40px;
	padding: 0 14px 0 34px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	color: #ffffff;
	font-size: 13.5px;
	font-family: inherit;
	outline: none;
	transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
	box-sizing: border-box;
}

[data-theme="light"] .nav-search-input {
	background: rgba(0, 0, 0, 0.04);
	border: 1px solid rgba(30, 40, 80, 0.08);
	color: #171923;
}

.nav-search-input:focus {
	border-color: var(--color-brand-accent);
	box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
	background: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .nav-search-input:focus {
	background: #ffffff;
}

/* 6. Theme Toggle */
.nav-theme-toggle {
	width: 40px;
	height: 40px;
	border-radius: 11px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	outline: none;
	padding: 0;
	flex-shrink: 0;
	box-sizing: border-box;
	transition: background-color 0.18s ease, border-color 0.18s ease;
}

[data-theme="light"] .nav-theme-toggle {
	background: rgba(0, 0, 0, 0.04);
	border: 1px solid rgba(30, 40, 80, 0.08);
	color: #171923;
}

.nav-theme-toggle:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.25);
}

[data-theme="light"] .nav-theme-toggle:hover {
	background: rgba(0, 0, 0, 0.08);
	border-color: rgba(0, 0, 0, 0.15);
}

.theme-icon {
	transition: transform 0.25s ease;
}

[data-theme="dark"] .sun-icon {
	display: block;
}

[data-theme="dark"] .moon-icon {
	display: none;
}

[data-theme="light"] .sun-icon {
	display: none;
}

[data-theme="light"] .moon-icon {
	display: block;
}

/* 7. Submit Prompt Button */
.nav-submit-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	padding: 0 16px;
	border-radius: 12px;
	background: var(--color-brand-accent);
	color: #ffffff !important;
	font-weight: 600;
	font-size: 13.5px;
	white-space: nowrap;
	text-decoration: none;
	border: none;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(139, 92, 246, 0.25);
	transition: background-color 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease;
	box-sizing: border-box;
}

.nav-submit-btn:hover {
	background: var(--color-brand-hover);
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(139, 92, 246, 0.35);
}

/* 8. Mobile Hamburger Button */
.nav-mobile-toggle {
	display: none;
	width: 40px;
	height: 40px;
	border-radius: 11px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: #ffffff;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	outline: none;
	padding: 0;
	box-sizing: border-box;
	transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
	-webkit-tap-highlight-color: transparent;
}

[data-theme="light"] .nav-mobile-toggle {
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	color: #0f172a;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.nav-mobile-toggle:hover {
	background: rgba(255, 255, 255, 0.14);
	border-color: rgba(139, 92, 246, 0.40);
}

[data-theme="light"] .nav-mobile-toggle:hover {
	background: rgba(0, 0, 0, 0.04);
	border-color: rgba(0, 0, 0, 0.14);
}

.nav-mobile-toggle .close-icon {
	display: none;
}

.nav-mobile-toggle[aria-expanded="true"] .hamburger-icon {
	display: none;
}

.nav-mobile-toggle[aria-expanded="true"] .close-icon {
	display: block;
}

/* ─── Mobile Sidebar Overlay Backdrop ─────────────────────────────────────── */
.mobile-sidebar-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.60);
	z-index: 100000;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 220ms ease, visibility 220ms ease;
	will-change: opacity, visibility;
}

.mobile-sidebar-overlay.is-active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

/* ─── Mobile Sidebar Navigation (Fixed Right-Side Slide-in Drawer) ────────── */
.mobile-sidebar {
	position: fixed;
	top: 0;
	right: 0;
	width: min(320px, 85vw);
	height: 100vh;
	height: 100dvh;
	z-index: 100001;
	display: flex;
	flex-direction: column;
	transform: translate3d(100%, 0, 0);
	visibility: hidden;
	pointer-events: none;
	transition:
		transform 250ms cubic-bezier(0.16, 1, 0.3, 1),
		visibility 250ms ease;
	will-change: transform, visibility;
	box-sizing: border-box;
	overflow-y: auto;
	overflow-x: hidden;
	-webkit-overflow-scrolling: touch;
	border-top-left-radius: 20px;
	border-bottom-left-radius: 20px;

	/* Dark mode (default) */
	background: #0f172a;
	border-left: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: -10px 0 40px rgba(0, 0, 0, 0.40);
	color: #f8fafc;
}

/* Light mode sidebar */
[data-theme="light"] .mobile-sidebar {
	background: #ffffff;
	border-left: 1px solid rgba(0, 0, 0, 0.08);
	box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
	color: #0f172a;
}

.mobile-sidebar.is-open {
	transform: translate3d(0, 0, 0);
	visibility: visible;
	pointer-events: auto;
}

/* Sidebar Header */
.mobile-sidebar-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.1rem 1.1rem 0.9rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	flex-shrink: 0;
	gap: 8px;
}

[data-theme="light"] .mobile-sidebar-header {
	border-bottom-color: rgba(0, 0, 0, 0.08);
}

.mobile-sidebar-brand {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	color: inherit;
	min-width: 0;
	flex: 1;
}

.mobile-sidebar-brand .nav-brand-text {
	font-size: 0.95rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.mobile-sidebar-actions {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
}

.mobile-sidebar-search-btn,
.mobile-sidebar-close {
	width: 40px;
	height: 40px;
	min-width: 40px;
	min-height: 40px;
	border-radius: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border: 1px solid rgba(255, 255, 255, 0.10);
	background: rgba(255, 255, 255, 0.06);
	color: inherit;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
	outline: none;
	padding: 0;
	-webkit-tap-highlight-color: transparent;
}

[data-theme="light"] .mobile-sidebar-search-btn,
[data-theme="light"] .mobile-sidebar-close {
	background: rgba(0, 0, 0, 0.04);
	border-color: rgba(0, 0, 0, 0.08);
}

.mobile-sidebar-search-btn:hover,
.mobile-sidebar-close:hover {
	background: rgba(139, 92, 246, 0.12);
	border-color: rgba(139, 92, 246, 0.30);
	color: var(--color-brand-accent);
}

/* Sidebar Collapsible Search Row */
.mobile-sidebar-search-box {
	padding: 0.75rem 1.1rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	background: rgba(255, 255, 255, 0.02);
}

[data-theme="light"] .mobile-sidebar-search-box {
	border-bottom-color: rgba(0, 0, 0, 0.06);
	background: rgba(0, 0, 0, 0.02);
}

.mobile-sidebar-input-wrapper {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
}

.mobile-sidebar-input-icon {
	position: absolute;
	left: 12px;
	color: var(--color-text-muted);
	pointer-events: none;
}

.mobile-sidebar-search-input {
	width: 100%;
	height: 40px;
	padding: 0 12px 0 36px;
	border-radius: 10px;
	font-size: 14px;
	border: 1px solid rgba(255, 255, 255, 0.10);
	background: rgba(255, 255, 255, 0.06);
	color: inherit;
	outline: none;
	box-sizing: border-box;
}

[data-theme="light"] .mobile-sidebar-search-input {
	background: #ffffff;
	border-color: rgba(0, 0, 0, 0.12);
	color: #0f172a;
}

.mobile-sidebar-search-input:focus {
	border-color: var(--color-brand-accent);
	box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.18);
}

/* Sidebar Scrollable Body */
.mobile-sidebar-body {
	flex: 1;
	overflow-y: auto;
	padding: 0.85rem 1.1rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	-webkit-overflow-scrolling: touch;
}

/* Mobile Sidebar Menu Links */
.mobile-sidebar-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.mobile-sidebar-menu li {
	position: relative;
	display: flex;
	flex-direction: column;
}

.mobile-sidebar-menu li a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 48px;
	padding: 0 14px;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	color: #cbd5e1;
	transition: background-color 180ms ease, color 180ms ease;
	box-sizing: border-box;
}

[data-theme="light"] .mobile-sidebar-menu li a {
	color: #334155;
}

.mobile-sidebar-menu li a:hover,
.mobile-sidebar-menu li a:focus {
	background: rgba(99, 102, 241, 0.08);
	color: var(--color-brand-accent);
}

[data-theme="light"] .mobile-sidebar-menu li a:hover,
[data-theme="light"] .mobile-sidebar-menu li a:focus {
	background: rgba(99, 102, 241, 0.06);
	color: var(--color-brand-accent);
}

/* Active Menu Item in Sidebar (Clean Minimal Indicator) */
.mobile-sidebar-menu .current-menu-item>a,
.mobile-sidebar-menu .current_page_item>a {
	background: transparent !important;
	color: var(--color-brand-accent) !important;
	font-weight: 600;
	border-left: 3px solid var(--color-brand-accent);
	padding-left: 13px !important;
}

[data-theme="light"] .mobile-sidebar-menu .current-menu-item>a,
[data-theme="light"] .mobile-sidebar-menu .current_page_item>a {
	background: transparent !important;
	color: var(--color-brand-accent) !important;
	border-left: 3px solid var(--color-brand-accent);
	padding-left: 13px !important;
}

/* Submenu Dropdowns in Sidebar */
.mobile-sidebar-menu .menu-item-has-children {
	position: relative;
}

.mobile-sidebar-menu .submenu-toggle {
	position: absolute;
	right: 8px;
	top: 8px;
	width: 32px;
	height: 32px;
	border-radius: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: none;
	background: rgba(255, 255, 255, 0.05);
	color: inherit;
	cursor: pointer;
	transition: transform 200ms ease, background-color 180ms ease;
}

[data-theme="light"] .mobile-sidebar-menu .submenu-toggle {
	background: rgba(0, 0, 0, 0.04);
}

.mobile-sidebar-menu .submenu-toggle.is-active {
	transform: rotate(90deg);
}

.mobile-sidebar-menu .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0 0 0 16px;
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	transition: max-height 250ms ease, opacity 200ms ease;
}

.mobile-sidebar-menu .sub-menu.is-open {
	max-height: 400px;
	opacity: 1;
	padding-top: 4px;
	padding-bottom: 4px;
}

.mobile-sidebar-menu .sub-menu li a {
	height: 42px;
	font-size: 14px;
	color: #94a3b8;
}

[data-theme="light"] .mobile-sidebar-menu .sub-menu li a {
	color: #64748b;
}

/* Sidebar Dividers & Section Headers */
.mobile-sidebar-divider {
	height: 1px;
	width: 100%;
	background: rgba(255, 255, 255, 0.08);
	margin: 0.5rem 0;
}

[data-theme="light"] .mobile-sidebar-divider {
	background: rgba(0, 0, 0, 0.08);
}

.mobile-sidebar-section-header {
	padding: 0 14px 4px;
}

.mobile-sidebar-section-title {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #64748b;
}

[data-theme="light"] .mobile-sidebar-section-title {
	color: #94a3b8;
}

/* Sidebar Footer */
.mobile-sidebar-footer {
	padding: 1rem 1.25rem 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	flex-shrink: 0;
}

[data-theme="light"] .mobile-sidebar-footer {
	border-top-color: rgba(0, 0, 0, 0.08);
}

.mobile-sidebar-submit-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 44px;
	border-radius: 12px;
	font-size: 14.5px;
	font-weight: 600;
	background: var(--color-brand-accent);
	color: #ffffff !important;
	text-decoration: none;
	box-shadow: 0 4px 14px rgba(139, 92, 246, 0.30);
	transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
	box-sizing: border-box;
}

.mobile-sidebar-submit-btn:hover {
	background: var(--color-brand-hover);
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(139, 92, 246, 0.40);
}

/* Body scroll lock when sidebar is open */
body.mobile-menu-open,
body.mobile-sidebar-open {
	overflow: hidden !important;
	touch-action: none;
}

/* ─── Responsive Breakpoints ──────────────────────────────────────────────── */
@media (max-width: 1080px) {
	.nav-search-box {
		width: 180px;
	}

	.nav-search-box:focus-within {
		width: 210px;
	}

	.nav-links {
		gap: 2px;
	}

	.nav-links a {
		padding: 8px 8px;
		font-size: 13.5px;
	}
}

/* Mobile Sidebar Breakpoint (max-width: 1024px) */
@media (max-width: 1024px) {
	.nav-card {
		width: calc(100% - 24px);
		height: 56px;
		margin: 10px auto 0;
		padding: 0 14px;
		border-radius: 14px;
	}

	.nav-menu-group {
		display: none !important;
	}

	.nav-mobile-toggle {
		display: inline-flex !important;
	}

	.nav-submit-btn {
		display: none !important;
	}

	.nav-search-form {
		display: none !important;
	}
}

/* --------------------------------------------------------------------------
   5. PREMIUM CARD FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
	position: relative;
	width: 100%;
	margin-top: 2rem;
	margin-bottom: 2rem;
	padding: 0;
	background: transparent;
	display: flex;
	justify-content: center;
	box-sizing: border-box;
}

/* Premium Floating Card Container */
.footer-container {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 1280px;
	margin-inline: auto;
	background: linear-gradient(135deg, #0b2326 0%, #0e1d33 45%, #181547 100%);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 28px;
	box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.5), 0 0 35px rgba(99, 102, 241, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.15);
	padding: 3.75rem 3.5rem 2.25rem;
	color: #f5f7fa;
	overflow: hidden;
}

/* Subtle ambient ambient glow inside the card */
.footer-container::before {
	content: '';
	position: absolute;
	top: -40%;
	right: -20%;
	width: 500px;
	height: 500px;
	background: radial-gradient(circle, rgba(139, 92, 246, 0.14), transparent 70%);
	pointer-events: none;
	z-index: 0;
}

.footer-container::after {
	content: '';
	position: absolute;
	bottom: -40%;
	left: -20%;
	width: 450px;
	height: 450px;
	background: radial-gradient(circle, rgba(20, 184, 166, 0.12), transparent 70%);
	pointer-events: none;
	z-index: 0;
}

/* 4-Column Grid Layout (1.45fr 1fr 1fr 1.25fr) */
.footer-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.45fr 1fr 1fr 1.25fr;
	column-gap: 48px;
	row-gap: 3.5rem;
	align-items: start;
	margin-bottom: 3.5rem;
}

/* Column 1: Brand & Badges */
.footer-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 1.2rem;
	font-weight: 700;
	color: #ffffff;
	margin-bottom: 1rem;
	text-decoration: none;
}

.footer-logo-img {
	max-height: 38px;
	width: auto;
}

.footer-brand-title {
	font-family: 'Outfit', sans-serif;
	font-size: 1.2rem;
	letter-spacing: -0.01em;
}

.footer-description {
	font-size: 13.5px;
	color: #a5adba;
	line-height: 1.65;
	margin-bottom: 1.75rem;
	max-width: 300px;
}

/* Feature Badges Grid (36px height, 2-column) */
.footer-feature-badges {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	max-width: 300px;
}

.feature-badge {
	display: flex;
	align-items: center;
	gap: 7px;
	height: 36px;
	padding: 8px 11px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	font-size: 12.5px;
	font-weight: 500;
	color: #e2e8f0;
	white-space: nowrap;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.feature-badge:hover {
	background: rgba(255, 255, 255, 0.09);
	border-color: rgba(255, 255, 255, 0.2);
}

.feature-badge svg {
	color: #8b5cf6;
	flex-shrink: 0;
}

/* Column Headings */
.footer-heading {
	font-size: 1.05rem;
	font-weight: 650;
	color: #ffffff;
	margin-bottom: 1.25rem;
	font-family: 'Outfit', sans-serif;
	letter-spacing: -0.01em;
}

/* Links Lists (Categories & Quick Links) */
.footer-links-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.footer-links-list a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13.5px;
	color: #a5adba;
	transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links-list a:hover {
	color: #ffffff;
	transform: translateX(3px);
}

.footer-chevron {
	color: #8b5cf6;
	opacity: 0.8;
	transition: transform 0.2s ease;
}

.footer-links-list a:hover .footer-chevron {
	opacity: 1;
	transform: translateX(2px);
}

/* Column 4: Follow Us & Subscribe */
.footer-social-section {
	margin-bottom: 2rem;
}

.footer-social-section .footer-heading {
	margin-bottom: 0.4rem;
}

.footer-social-desc {
	font-size: 13px;
	color: #94a3b8;
	margin-bottom: 1.15rem;
	line-height: 1.5;
}

.footer-social-icons {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.social-icon-btn {
	width: 38px;
	height: 38px;
	border-radius: 9px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
}

.social-icon-btn:hover {
	transform: translateY(-2px);
	border-color: rgba(255, 255, 255, 0.3);
}

.social-facebook:hover {
	background: #1877f2;
	border-color: #1877f2;
	color: #fff;
}

.social-twitter:hover {
	background: #000000;
	border-color: #333;
	color: #fff;
}

.social-instagram:hover {
	background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
	border-color: transparent;
	color: #fff;
}

.social-youtube:hover {
	background: #ff0000;
	border-color: #ff0000;
	color: #fff;
}

.social-telegram:hover {
	background: #0088cc;
	border-color: #0088cc;
	color: #fff;
}

.social-pinterest:hover {
	background: #e60023;
	border-color: #e60023;
	color: #fff;
}

.social-linkedin:hover {
	background: #0a66c2;
	border-color: #0a66c2;
	color: #fff;
}

.social-whatsapp:hover {
	background: #25d366;
	border-color: #25d366;
	color: #fff;
}

.social-threads:hover {
	background: #000000;
	border-color: #333333;
	color: #fff;
}

.social-discord:hover {
	background: #5865F2;
	border-color: #5865F2;
	color: #fff;
}

.footer-subscribe {
	max-width: 300px;
}

.footer-subscribe .footer-heading {
	margin-bottom: 0.4rem;
}

.footer-subscribe-desc {
	font-size: 12.5px;
	color: #94a3b8;
	margin-bottom: 1rem;
	line-height: 1.5;
}

.footer-subscribe-form {
	display: flex;
	gap: 8px;
}

.footer-subscribe-input {
	flex: 1;
	min-width: 0;
	padding: 11px 13px;
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(0, 0, 0, 0.25);
	color: #fff;
	font-size: 13.5px;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.footer-subscribe-input:focus {
	outline: none;
	border-color: #8b5cf6;
	background: rgba(0, 0, 0, 0.35);
}

.footer-subscribe-btn {
	padding: 0 16px;
	border-radius: 8px;
	background: #8b5cf6;
	border: 1px solid #8b5cf6;
	color: #ffffff;
	font-size: 13.5px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	white-space: nowrap;
}

.footer-subscribe-btn:hover:not(:disabled) {
	background: #7c3aed;
	border-color: #7c3aed;
	transform: translateY(-1px);
}

.footer-subscribe-btn:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

.footer-subscribe-message {
	margin-top: 8px;
	font-size: 12.5px;
	line-height: 1.4;
	padding: 8px 12px;
	border-radius: 6px;
	transition: all 0.25s ease;
}

.footer-subscribe-message.is-success {
	background: rgba(34, 197, 94, 0.15);
	border: 1px solid rgba(34, 197, 94, 0.35);
	color: #4ade80;
}

.footer-subscribe-message.is-error {
	background: rgba(239, 68, 68, 0.15);
	border: 1px solid rgba(239, 68, 68, 0.35);
	color: #f87171;
}

@keyframes aiSpin {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

.ai-spin {
	animation: aiSpin 0.8s linear infinite;
	display: inline-block;
}

/* Full-Width Footer Divider */
.footer-divider {
	position: relative;
	z-index: 1;
	width: 100%;
	height: 1px;
	background: rgba(255, 255, 255, 0.08);
	margin-bottom: 1.75rem;
}

/* Footer Bottom Copyright */
.footer-bottom {
	position: relative;
	z-index: 1;
	text-align: center;
}

.copyright-text {
	font-size: 12.5px;
	color: #94a3b8;
}

.copyright-text a {
	color: inherit;
	text-decoration: none !important;
	transition: color 0.2s ease;
	outline: none;
	border-radius: 2px;
	cursor: pointer;
}

.copyright-text a:hover {
	color: #ffffff;
	text-decoration: none !important;
}

.copyright-text a:focus-visible {
	outline: 2px solid var(--color-brand-accent, #8b5cf6);
	outline-offset: 2px;
}

[data-theme="light"] .copyright-text a:hover {
	color: #ffffff;
	text-decoration: none !important;
}

/* Responsive Styles for Footer Card */
@media (max-width: 1024px) {
	.footer-container {
		padding: 3rem 2.25rem 2rem;
		border-radius: 24px;
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
		column-gap: 36px;
		row-gap: 2.5rem;
	}
}

@media (max-width: 768px) {

	/* Footer Menu Navigation Columns (Categories, Quick Links, and custom menus) - Hidden on Mobile Only */
	.footer-col-nav-menu,
	.footer-col-categories,
	.footer-col-quick_links,
	.footer-col-quick-links,
	.footer-col-links {
		display: none !important;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		row-gap: 2.25rem;
		margin-bottom: 2.25rem;
	}

	/* Column 4 (Follow Us & Subscribe) Center Alignment & Reversed Order on Mobile */
	.footer-col-social {
		display: flex;
		flex-direction: column;
		text-align: center;
	}

	/* 1. Subscribe for Updates on Mobile */
	.footer-col-social .footer-subscribe {
		order: 1;
		margin-bottom: 2.25rem;
		max-width: 100%;
		margin-inline: auto;
	}

	.footer-subscribe-desc {
		text-align: center;
	}

	.footer-subscribe-form {
		justify-content: center;
		max-width: 380px;
		margin: 0 auto;
	}

	/* 2. Follow Us underneath Subscribe on Mobile */
	.footer-col-social .footer-social-section {
		order: 2;
		margin-bottom: 0;
	}

	.footer-col-social .footer-heading,
	.footer-social-desc {
		text-align: center;
	}

	.footer-social-icons {
		justify-content: center;
	}
}

@media (max-width: 640px) {
	.site-footer {
		margin-top: 1.5rem;
		margin-bottom: 1.25rem;
		padding: 0 1rem;
	}

	.footer-container {
		padding: 2.25rem 1.5rem 1.5rem;
		border-radius: 20px;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		row-gap: 2.25rem;
		margin-bottom: 2.25rem;
	}

	.footer-feature-badges,
	.footer-subscribe {
		max-width: 100%;
	}
}

/* Back to Top Floating Button (40x40px) */
.back-to-top-btn {
	position: fixed;
	bottom: 20px;
	right: 20px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--color-brand-accent);
	color: #ffffff;
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(139, 92, 246, 0.4);
	opacity: 0;
	visibility: hidden;
	transform: translate3d(0, 10px, 0) scale(0.9);
	transition: transform 0.2s ease, opacity 0.2s ease, visibility 0.2s ease;
	will-change: transform, opacity;
	z-index: 900;
}

.back-to-top-btn.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translate3d(0, 0, 0) scale(1);
}

.back-to-top-btn:hover {
	background: var(--color-brand-hover);
	transform: translate3d(0, -3px, 0) scale(1.04);
}



/* --------------------------------------------------------------------------
   7. Layout Utilities & Cards (Preserved Existing Functionality)
   -------------------------------------------------------------------------- */
.glass-card {
	background: var(--color-bg-card);
	backdrop-filter: var(--glass-backdrop-blur);
	-webkit-backdrop-filter: var(--glass-backdrop-blur);
	border: 1px solid var(--color-border-glass);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-card);
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
	position: relative;
	overflow: hidden;
}

.glass-card:hover {
	border-color: var(--color-border-hover);
	transform: translate3d(0, -3px, 0);
	box-shadow: var(--shadow-card), var(--shadow-glow);
}

/* ─── Mobile Scroll & Render Performance Tuning (60fps Scrolling) ────────── */
@media (max-width: 768px) {
	.glass-card {
		backdrop-filter: none !important;
		-webkit-backdrop-filter: none !important;
		background: var(--color-bg-surface);
		box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
		contain: paint;
	}

	.prompt-grid {
		contain: layout;
	}

	.tool-badge {
		backdrop-filter: none !important;
		-webkit-backdrop-filter: none !important;
		background: rgba(11, 13, 18, 0.95);
	}
}

/* Disable expensive hover effects on touch / non-hover devices */
@media (hover: none),
(pointer: coarse) {

	.glass-card:hover,
	.prompt-card:hover {
		transform: none !important;
		border-color: var(--color-border-glass) !important;
		box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
	}

	.glass-card:hover .prompt-card-media img,
	.prompt-card:hover .prompt-card-media img {
		transform: none !important;
	}

	.feature-badge:hover,
	.social-icon-btn:hover,
	.back-to-top-btn:hover,
	.btn-copy:hover {
		transform: none !important;
	}
}

.hero-section {
	margin-top: -80px;
	padding: calc(80px + 2.5rem) 0 1.25rem;
	text-align: center;
	background: radial-gradient(ellipse at 50% 0%, rgba(139, 92, 246, 0.12), transparent 70%);
	position: relative;
	z-index: 1;
}

.hero-section.has-custom-bg {
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	padding-bottom: 2.5rem;
	border-radius: 0 0 24px 24px;
	margin-bottom: 1.5rem;
}

.hero-section.has-custom-bg .hero-title {
	color: #ffffff;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-section.has-custom-bg .hero-title span {
	background: linear-gradient(135deg, #ffffff 0%, #f472b6 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.hero-section.has-custom-bg .hero-subtitle {
	color: rgba(255, 255, 255, 0.9);
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.hero-title {
	font-size: 2.75rem;
	line-height: 1.15;
	margin-bottom: 0.75rem;
}

.hero-title span {
	background: var(--gradient-brand);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.hero-subtitle {
	font-size: 1.1rem;
	color: var(--color-text-secondary);
	max-width: 660px;
	margin: 0 auto 1.5rem;
	line-height: 1.6;
}

.hero-pills-wrap {
	display: flex;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 0.5rem;
}

.hero-pill {
	padding: 8px 16px;
	font-size: 0.9rem;
	font-weight: 500;
}

/* ─── Trending & Featured Prompts Section ─────────────────────────────────── */
.trending-section {
	margin-top: 2rem;
}

.trending-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1.25rem;
	width: 100%;
}

.trending-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--color-text-primary);
	margin: 0;
	letter-spacing: -0.02em;
}

.trending-view-all {
	color: var(--color-brand-accent);
	font-weight: 600;
	font-size: 0.95rem;
	transition: color 0.2s ease, transform 0.2s ease;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	text-decoration: none;
}

.trending-view-all:hover {
	color: var(--color-brand-hover);
	transform: translateX(2px);
}

.prompt-grid {
	columns: 4;
	column-gap: 16px;
	margin: 0;
	width: 100%;
}

@media (max-width: 1199px) and (min-width: 860px) {
	.prompt-grid {
		columns: 3;
		column-gap: 16px;
	}
}

/* Mobile & Small Tablet (Pinterest-Style 2-Column Responsive Masonry) */
@media (max-width: 859px) {
	.prompt-grid {
		columns: 2;
		column-gap: 12px;
	}

	.prompt-card {
		margin-bottom: 12px;
		border-radius: 12px;
	}

	/* Keep Like button visible & directly clickable on mobile cards - Compact badge styling */
	.prompt-card-top-like,
	.prompt-stat-btn.btn-like {
		top: 6px !important;
		left: 6px !important;
		height: 24px !important;
		padding: 0 8px !important;
		gap: 4px !important;
		font-size: 11px !important;
		opacity: 1 !important;
		visibility: visible !important;
		transform: none !important;
		pointer-events: auto !important;
		z-index: 10 !important;
		white-space: nowrap !important;
		position: absolute !important;
	}

	/* Provide accessible 48px touch target on mobile without altering visual badge layout */
	.prompt-card-top-like::after,
	.prompt-stat-btn.btn-like::after {
		content: "";
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		min-width: 48px;
		min-height: 48px;
		width: 100%;
		height: 100%;
		pointer-events: auto;
	}

	.prompt-card-top-like svg,
	.prompt-stat-btn.btn-like svg,
	.prompt-card-top-like .heart-icon,
	.prompt-stat-btn.btn-like .heart-icon {
		width: 11px !important;
		height: 11px !important;
	}

	.prompt-card-top-like .like-count,
	.prompt-stat-btn.btn-like .like-count {
		font-size: 11px !important;
		font-weight: 600 !important;
		line-height: 1 !important;
		white-space: nowrap !important;
	}

	/* Mobile AI-Generated Badge (Homepage prompt cards) */
	.prompt-card-ai-badge-desktop {
		display: none !important;
	}

	.prompt-card-ai-badge-mobile {
		display: inline-flex !important;
		height: 20px !important;
		padding: 0 6px !important;
		font-size: 8.5px !important;
		gap: 3.5px !important;
		z-index: 6 !important;
		opacity: 1 !important;
		transform: none !important;
	}

	.prompt-card-ai-badge-mobile .ai-badge-dot {
		width: 4px !important;
		height: 4px !important;
	}

	/* Mobile Five Placements (Adjusted for compact mobile cards and like button clearance) */
	.prompt-card-ai-badge-mobile.badge-pos-top-left {
		top: 6px !important;
		left: 58px !important; /* Clears mobile like button (width ~46px at left 6px) */
		right: auto !important;
		bottom: auto !important;
	}

	.prompt-card-ai-badge-mobile.badge-pos-top-center {
		top: 6px !important;
		left: 50% !important;
		right: auto !important;
		bottom: auto !important;
		transform: translateX(-50%) !important;
	}

	.prompt-card-ai-badge-mobile.badge-pos-top-right {
		top: 6px !important;
		right: 6px !important;
		left: auto !important;
		bottom: auto !important;
	}

	.prompt-card-ai-badge-mobile.badge-pos-bottom-left {
		bottom: 6px !important;
		left: 6px !important;
		top: auto !important;
		right: auto !important;
	}

	.prompt-card-ai-badge-mobile.badge-pos-bottom-right {
		bottom: 6px !important;
		right: 6px !important;
		top: auto !important;
		left: auto !important;
	}

	/* Mobile AI-Generated Badge on Single Prompt Detail Images and Videos */
	.single-prompt-ai-badge-desktop {
		display: none !important;
	}

	.single-prompt-ai-badge-mobile {
		display: inline-flex !important;
		height: 22px !important;
		padding: 0 7px !important;
		font-size: 9px !important;
		gap: 4px !important;
		z-index: 10 !important;
		opacity: 1 !important;
		transform: none !important;
	}

	.single-prompt-ai-badge-mobile .ai-badge-dot {
		width: 4px !important;
		height: 4px !important;
	}

	/* Mobile Single Prompt 5 Placements (Clear of mobile view-btn at top-right 8px) */
	.single-prompt-ai-badge-mobile.badge-pos-top-left {
		top: 10px !important;
		left: 10px !important;
		right: auto !important;
		bottom: auto !important;
	}

	.single-prompt-ai-badge-mobile.badge-pos-top-center {
		top: 10px !important;
		left: 50% !important;
		right: auto !important;
		bottom: auto !important;
		transform: translateX(-50%) !important;
	}

	.single-prompt-ai-badge-mobile.badge-pos-top-right {
		top: 10px !important;
		right: 48px !important; /* Clears mobile view/lightbox button (width 32px at right 8px) */
		left: auto !important;
		bottom: auto !important;
	}

	.single-prompt-ai-badge-mobile.badge-pos-bottom-left {
		bottom: 12px !important;
		left: 10px !important;
		top: auto !important;
		right: auto !important;
	}

	.single-prompt-ai-badge-mobile.badge-pos-bottom-right {
		bottom: 12px !important;
		right: 10px !important;
		top: auto !important;
		left: auto !important;
	}

	/* If mobile video player has bottom control bar, ensure bottom badges clear control bar */
	.custom-video-player .single-prompt-ai-badge-mobile.badge-pos-bottom-left {
		bottom: 46px !important;
		left: 10px !important;
	}
	.custom-video-player .single-prompt-ai-badge-mobile.badge-pos-bottom-right {
		bottom: 46px !important;
		right: 10px !important;
	}

	/* Clean Mobile Cards: Hide category tags, title/desc overlays, Copy & Share buttons on mobile */
	.prompt-card-model-badge,
	.prompt-card-hover-overlay,
	.prompt-card-meta,
	.prompt-card-title,
	.prompt-card-desc,
	.prompt-card-actions-row {
		display: none !important;
	}

	.prompt-card-play-icon {
		width: 36px;
		height: 36px;
	}

	.prompt-card-play-icon svg {
		width: 14px;
		height: 14px;
	}
}

@media (max-width: 539px) {
	.hero-title {
		font-size: 1.85rem;
	}

	.hero-subtitle {
		font-size: 0.9rem;
		margin-bottom: 1.15rem;
	}

	.trending-section {
		margin-top: 1.25rem;
	}

	.trending-title {
		font-size: 1.15rem;
	}

	.prompt-grid {
		columns: 2;
		column-gap: 10px;
	}

	.prompt-card {
		margin-bottom: 10px;
	}
}

/* ─── Interactive Image-First Prompt Cards (4-Column Masonry) ───────────────── */
.prompt-card {
	display: inline-block;
	width: 100%;
	margin-bottom: 16px;
	break-inside: avoid;
	-webkit-column-break-inside: avoid;
	page-break-inside: avoid;
	position: relative;
	border-radius: 16px;
	border: 1px solid rgba(226, 232, 240, 0.85);
	background: #ffffff;
	box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
	transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
		box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
		border-color 0.25s ease;
	overflow: hidden;
	vertical-align: top;
}

body.dark-mode .prompt-card,
[data-theme="dark"] .prompt-card,
:root:not([data-theme="light"]) .prompt-card {
	background: var(--color-bg-surface, #12151c);
	border: 1px solid var(--color-border-glass, rgba(255, 255, 255, 0.08));
	box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.45), 0 2px 6px -1px rgba(0, 0, 0, 0.3);
}

.prompt-card:hover {
	transform: translateY(-3px);
	border-color: rgba(139, 92, 246, 0.4);
	box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.12), 0 4px 10px -2px rgba(15, 23, 42, 0.06);
}

body.dark-mode .prompt-card:hover,
[data-theme="dark"] .prompt-card:hover,
:root:not([data-theme="light"]) .prompt-card:hover {
	border-color: rgba(139, 92, 246, 0.45);
	box-shadow: 0 12px 32px -4px rgba(0, 0, 0, 0.6), 0 0 20px rgba(139, 92, 246, 0.18);
}

.prompt-card-link {
	display: block;
	width: 100%;
	position: relative;
	overflow: hidden;
	background: #f1f5f9;
}

body.dark-mode .prompt-card-link,
[data-theme="dark"] .prompt-card-link,
:root:not([data-theme="light"]) .prompt-card-link {
	background: #181c24;
}

.prompt-card-media-wrap {
	width: 100%;
	position: relative;
	display: block;
	overflow: hidden;
}

.prompt-card-link img,
.prompt-card-link video,
.prompt-card-media-video,
.prompt-card-poster-img {
	width: 100%;
	height: auto;
	object-fit: cover;
	display: block;
	transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
	pointer-events: none;
}

.prompt-card-media-wrap video.prompt-card-media-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 1;
}

.prompt-card:hover .prompt-card-link img,
.prompt-card:hover .prompt-card-link video,
.prompt-card:hover .prompt-card-media-video,
.prompt-card:hover .prompt-card-poster-img {
	transform: scale(1.03);
}

/* Center Video Play Icon Indicator */
.prompt-card-play-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(1);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(15, 23, 42, 0.65);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1.5px solid rgba(255, 255, 255, 0.6);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35), 0 0 12px rgba(255, 255, 255, 0.15);
	pointer-events: none;
	z-index: 2;
	transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease;
}

.prompt-card-play-icon svg {
	width: 18px;
	height: 18px;
	margin-left: 2px;
	/* optical center adjustment for play triangle */
	fill: #ffffff;
}

.prompt-card-video:hover .prompt-card-play-icon {
	opacity: 0;
	transform: translate(-50%, -50%) scale(0.85);
}

/* Top-Left: Like Button */
.prompt-card-top-like,
.prompt-stat-btn.btn-like {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 5;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	height: 28px;
	padding: 0 10px;
	border-radius: 9999px;
	background: rgba(15, 23, 42, 0.75);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.25);
	color: #ffffff;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	box-sizing: border-box;
	line-height: 1;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
	transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
		transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
		visibility 0.25s cubic-bezier(0.16, 1, 0.3, 1),
		background 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease;
	user-select: none;
}

.prompt-card-top-like svg,
.prompt-stat-btn.btn-like svg {
	width: 13px;
	height: 13px;
	stroke-width: 2;
	fill: none;
	flex-shrink: 0;
}

.prompt-card-top-like .like-count,
.prompt-stat-btn.btn-like .like-count {
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
}

.prompt-card:hover .prompt-card-top-like,
.prompt-card.is-touched .prompt-card-top-like {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.prompt-stat-btn.btn-like:hover {
	background: rgba(236, 72, 153, 0.35);
	border-color: rgba(236, 72, 153, 0.6);
	color: #f43f5e;
}

.prompt-stat-btn.btn-like.is-liked,
.prompt-stat-btn.btn-like.liked {
	background: rgba(236, 72, 153, 0.5);
	border-color: rgba(236, 72, 153, 0.8);
	color: #f43f5e;
}

.prompt-stat-btn.btn-like.is-liked svg,
.prompt-stat-btn.btn-like.liked svg {
	fill: currentColor;
}

/* AI-Generated Indicator Badge */
.prompt-card-ai-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 4;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	height: 24px;
	padding: 0 8px;
	border-radius: 9999px;
	background: rgba(15, 23, 42, 0.72);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: #e2e8f0;
	font-size: 0.625rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	line-height: 1;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
	pointer-events: none;
	user-select: none;
	transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Desktop vs Mobile Badge Display Control (Desktop viewports: 860px and wider) */
.prompt-card-ai-badge-desktop {
	display: inline-flex !important;
}
.prompt-card-ai-badge-mobile {
	display: none !important;
}

/* Five Placements */
.prompt-card-ai-badge.badge-pos-top-left {
	top: 12px;
	left: 12px;
	right: auto;
	bottom: auto;
}

.prompt-card-ai-badge.badge-pos-top-center {
	top: 12px;
	left: 50%;
	right: auto;
	bottom: auto;
	transform: translateX(-50%);
}

.prompt-card-ai-badge.badge-pos-top-right {
	top: 12px;
	right: 12px;
	left: auto;
	bottom: auto;
}

.prompt-card-ai-badge.badge-pos-bottom-left {
	bottom: 12px;
	left: 12px;
	top: auto;
	right: auto;
}

.prompt-card-ai-badge.badge-pos-bottom-right {
	bottom: 12px;
	right: 12px;
	top: auto;
	left: auto;
}

.prompt-card-ai-badge .ai-badge-dot {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #ef4444;
	box-shadow: 0 0 6px #ef4444;
	flex-shrink: 0;
}

/* On desktop hover, like button fades in gracefully over the top-left on cards */
.prompt-card:hover .prompt-card-ai-badge.badge-pos-top-left,
.prompt-card.is-touched .prompt-card-ai-badge.badge-pos-top-left {
	opacity: 0;
	transform: translateY(-3px);
}
.prompt-card:hover .prompt-card-ai-badge.badge-pos-top-center,
.prompt-card.is-touched .prompt-card-ai-badge.badge-pos-top-center {
	opacity: 0.9;
	transform: translate(-50%, 0);
}
.prompt-card:hover .prompt-card-ai-badge.badge-pos-top-right,
.prompt-card.is-touched .prompt-card-ai-badge.badge-pos-top-right {
	opacity: 0;
	transform: translateY(-3px);
}
.prompt-card:hover .prompt-card-ai-badge.badge-pos-bottom-left,
.prompt-card.is-touched .prompt-card-ai-badge.badge-pos-bottom-left,
.prompt-card:hover .prompt-card-ai-badge.badge-pos-bottom-right,
.prompt-card.is-touched .prompt-card-ai-badge.badge-pos-bottom-right {
	opacity: 0.9;
	transform: translateY(0);
}

/* Single Prompt Detail Badge Desktop vs Mobile Controls */
.single-prompt-ai-badge-desktop {
	display: inline-flex !important;
}
.single-prompt-ai-badge-mobile {
	display: none !important;
}

/* Ensure single prompt detail image/video badge stays visible on hover */
.ai-prompt-featured-image-card .single-prompt-ai-badge,
.ai-prompt-featured-image-card:hover .single-prompt-ai-badge,
.custom-video-player .single-prompt-ai-badge,
.custom-video-player:hover .single-prompt-ai-badge {
	opacity: 1 !important;
	transform: none !important;
	z-index: 6;
}

/* If single video detail badge is in bottom-left or bottom-right, keep it clear of the bottom control bar */
.custom-video-player .single-prompt-ai-badge.badge-pos-bottom-left {
	bottom: 58px;
	left: 14px;
}
.custom-video-player .single-prompt-ai-badge.badge-pos-bottom-right {
	bottom: 58px;
	right: 14px;
}
.custom-video-player .single-prompt-ai-badge.badge-pos-top-right,
.ai-prompt-featured-image-card .single-prompt-ai-badge.badge-pos-top-right {
	top: 14px;
	right: 64px; /* Clears top-right view/lightbox circle button (width 42px at right 14px) */
}

/* Top-Right: Model / Platform Tool Badge */
.prompt-card-model-badge {
	position: absolute;
	top: 12px;
	right: 12px;
	left: auto;
	z-index: 3;
	background: rgba(15, 23, 42, 0.75);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	color: #ffffff;
	font-size: 0.675rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 9999px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
	pointer-events: none;
	user-select: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
	transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
		transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
		visibility 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Show badge on hover */
.prompt-card:hover .prompt-card-model-badge,
.prompt-card.is-touched .prompt-card-model-badge {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* Bottom Hover Action Overlay (Title + Description + Actions Row) */
.prompt-card-hover-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 4;
	padding: 48px 14px 14px;
	background: linear-gradient(to top, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.65) 60%, transparent 100%);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 10px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(4px);
	transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
		transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
		visibility 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	pointer-events: none;
	box-sizing: border-box;
}

.prompt-card:hover .prompt-card-hover-overlay,
.prompt-card.is-touched .prompt-card-hover-overlay {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* Overlay Title & Description Meta */
.prompt-card-meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
	pointer-events: auto;
	user-select: none;
}

.prompt-card-meta-link {
	color: inherit;
	text-decoration: none;
	display: block;
	transition: color 0.2s ease, opacity 0.2s ease;
}

.prompt-card-meta-link:hover {
	color: #ffffff;
	opacity: 0.9;
	text-decoration: none;
}

.prompt-card-title {
	margin: 0;
	padding: 0;
	color: #ffffff;
	font-size: 0.85rem;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.01em;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	word-break: break-word;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.prompt-card-desc {
	margin: 0;
	padding: 0;
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.75rem;
	font-weight: 400;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	word-break: break-word;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* Bottom Actions Row (Copy on Left, Share on Right) */
.prompt-card-actions-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	width: 100%;
}

/* Bottom Action Buttons (Copy & Share - Unified Glassmorphism Match) */
.prompt-action-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 34px;
	min-width: 0;
	padding: 0 14px;
	border-radius: 9999px;
	background: rgba(15, 23, 42, 0.72);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.25);
	color: #ffffff;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	box-sizing: border-box;
	line-height: 1;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
	white-space: nowrap;
	text-decoration: none;
	user-select: none;
	pointer-events: auto;
}

.prompt-action-btn svg {
	width: 13px;
	height: 13px;
	flex-shrink: 0;
	stroke-width: 2;
}

.prompt-action-btn .btn-copy-label,
.prompt-action-btn .btn-share-label {
	display: inline-block;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
}

.prompt-action-btn .btn-copy-count {
	font-size: 13px;
	font-weight: 600;
	opacity: 0.95;
	margin-left: 2px;
	line-height: 1;
}

.prompt-action-btn.btn-card-copy:hover {
	background: var(--color-brand-accent);
	border-color: var(--color-brand-accent);
	color: #ffffff;
}

.prompt-action-btn.btn-share:hover {
	background: rgba(255, 255, 255, 0.35);
	border-color: rgba(255, 255, 255, 0.5);
	color: #ffffff;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 20px;
	border-radius: var(--radius-full);
	font-weight: 600;
	font-size: 0.9rem;
	cursor: pointer;
	transition: all 0.25s ease;
	border: none;
}

.btn-primary {
	background: var(--color-brand-accent);
	color: #ffffff;
}

.btn-primary:hover {
	background: var(--color-brand-hover);
	transform: translateY(-2px);
}

.btn-copy {
	height: 36px;
	padding: 0 16px;
	border-radius: var(--radius-full);
	font-family: inherit;
	font-size: 0.85rem;
	font-weight: 600;
	background: #ffffff;
	color: #7c3aed;
	border: 1px solid #ddd6fe;
	box-shadow: 0 1px 2px rgba(124, 58, 237, 0.04);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
	outline: none;
	user-select: none;
	box-sizing: border-box;
	text-decoration: none;
}

.btn-copy svg {
	width: 14px;
	height: 14px;
	flex-shrink: 0;
	color: currentColor;
}

.btn-copy:hover {
	background: #f5f3ff;
	color: #6d28d9;
	border-color: #c4b5fd;
	transform: none;
	box-shadow: 0 1px 3px rgba(124, 58, 237, 0.08);
}

.btn-copy:active {
	transform: none;
}

.btn-copy.is-copied,
.btn-copy-negative.is-copied {
	background: #ecfdf5 !important;
	border-color: #10b981 !important;
	color: #059669 !important;
	box-shadow: 0 1px 3px rgba(16, 185, 129, 0.12) !important;
	transform: none !important;
}

body.dark-mode .btn-copy,
[data-theme="dark"] .btn-copy {
	background: rgba(139, 92, 246, 0.08);
	color: #c4b5fd;
	border-color: rgba(139, 92, 246, 0.25);
	box-shadow: none;
}

body.dark-mode .btn-copy:hover,
[data-theme="dark"] .btn-copy:hover {
	background: rgba(139, 92, 246, 0.16);
	color: #ddd6fe;
	border-color: rgba(139, 92, 246, 0.45);
	transform: none;
}

body.dark-mode .btn-copy.is-copied,
body.dark-mode .btn-copy-negative.is-copied,
[data-theme="dark"] .btn-copy.is-copied,
[data-theme="dark"] .btn-copy-negative.is-copied {
	background: rgba(16, 185, 129, 0.15) !important;
	border-color: #10b981 !important;
	color: #34d399 !important;
	box-shadow: none !important;
	transform: none !important;
}

/* --------------------------------------------------------------------------
   8. SINGLE AI PROMPT DETAIL PAGE (IMAGE LEFT / PROMPT RIGHT LAYOUT)
   -------------------------------------------------------------------------- */
.ai-prompt-single {
	margin-top: 1.75rem;
	margin-bottom: 4rem;
}

/* Breadcrumbs */
.ai-prompt-breadcrumb {
	position: relative;
	z-index: 10;
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.85rem;
	color: var(--color-text-muted, #94a3b8);
	margin-bottom: 1.25rem;
	flex-wrap: wrap;
	line-height: 1.5;
}

.ai-prompt-breadcrumb a {
	color: var(--color-text-secondary, #64748b);
	transition: color 0.2s ease, outline 0.15s ease;
	text-decoration: none;
	font-weight: 500;
	border-radius: 4px;
}

.ai-prompt-breadcrumb a:hover {
	color: var(--color-brand-accent, #8b5cf6);
}

.ai-prompt-breadcrumb a:focus-visible {
	color: var(--color-brand-accent, #8b5cf6);
	outline: 2px solid var(--color-brand-accent, #8b5cf6);
	outline-offset: 2px;
}

.ai-prompt-breadcrumb .bc-sep {
	opacity: 0.45;
	font-size: 0.85rem;
	user-select: none;
}

.ai-prompt-breadcrumb .bc-current {
	color: var(--color-text-primary, #0f172a);
	font-weight: 600;
	max-width: 100%;
	word-break: break-word;
}

/* Header & Title ABOVE Two-Column Layout */
.ai-prompt-heading {
	margin-bottom: 1.75rem;
}

.ai-prompt-title {
	font-size: 2.25rem;
	font-weight: 750;
	line-height: 1.25;
	letter-spacing: -0.025em;
	color: var(--color-text-primary);
	margin: 0 0 0.85rem 0;
	word-break: break-word;
}

.ai-prompt-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	font-size: 0.875rem;
	color: var(--color-text-secondary);
	line-height: 1.6;
}

.ai-prompt-meta .meta-sep {
	color: var(--color-text-muted);
	opacity: 0.6;
	font-size: 0.75rem;
	user-select: none;
}

/* Meta Badges */
.meta-badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 12px;
	border-radius: var(--radius-full);
	font-size: 0.775rem;
	font-weight: 650;
	letter-spacing: 0.02em;
}

.meta-badge.platform-badge {
	background: rgba(139, 92, 246, 0.12);
	color: var(--color-brand-accent);
	border: 1px solid rgba(139, 92, 246, 0.25);
}

.meta-badge.type-badge {
	background: #f8fafc;
	color: #64748b;
	border: 1px solid #e2e8f0;
}

body.dark-mode .meta-badge.type-badge,
[data-theme="dark"] .meta-badge.type-badge {
	background: var(--color-bg-surface);
	color: var(--color-text-secondary);
	border-color: var(--color-border-glass);
}

.meta-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--color-text-secondary);
	font-weight: 500;
}

.meta-item strong {
	color: var(--color-text-primary);
	font-weight: 600;
}

.meta-icon {
	flex-shrink: 0;
	color: var(--color-text-muted);
}

.meta-item.likes-item .likes-icon {
	color: #ec4899;
}

.meta-item.likes-item .likes-count-val {
	color: #ec4899;
	font-weight: 700;
}

.meta-item.views-item .views-icon {
	color: var(--color-brand-accent);
}

.meta-item.copies-item .copies-icon {
	color: var(--color-text-secondary);
}

.btn-like.is-liked .heart-icon,
.btn-like.active .heart-icon {
	fill: #ec4899;
	color: #ec4899;
}

/* ==================================================
   DESKTOP PROMPT METADATA ROW
   ================================================== */
.desktop-prompt-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 6px;
	margin-bottom: 12px;
	font-size: 0.875rem;
	color: var(--color-text-secondary);
	line-height: 1.4;
}

.desktop-prompt-meta .meta-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	line-height: 1;
}

.desktop-prompt-meta .desktop-meta-avatar {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	overflow: hidden;
	display: inline-block;
	flex-shrink: 0;
	vertical-align: middle;
	background: #e2e8f0;
}

.desktop-prompt-meta .desktop-meta-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.desktop-prompt-meta .desktop-meta-author-name {
	font-weight: 650;
	color: var(--color-text-primary);
}

.desktop-prompt-meta .author-verified-icon {
	width: 13px;
	height: 13px;
	flex-shrink: 0;
	display: inline-block;
	vertical-align: middle;
}

.desktop-prompt-meta .desktop-meta-date {
	color: var(--color-text-muted);
	font-size: 0.8125rem;
}

.desktop-prompt-meta .meta-sep {
	font-size: 0.75rem;
	color: var(--color-text-muted);
	opacity: 0.45;
	user-select: none;
	margin: 0 1px;
}

.desktop-prompt-meta .heart-icon,
.desktop-prompt-meta .copies-icon {
	width: 15px;
	height: 15px;
	flex-shrink: 0;
	color: var(--color-text-secondary);
	stroke-width: 2;
}

.desktop-prompt-meta .created-on-label {
	color: var(--color-text-secondary);
	font-weight: 500;
	margin-right: 2px;
}

.desktop-platform-badge,
.platform-badge-pill {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 3px 9px;
	background: #f1f5f9;
	border: 1px solid #e2e8f0;
	border-radius: 9999px;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--color-text-primary);
	line-height: 1;
	white-space: nowrap;
	text-decoration: none;
	transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

a.desktop-platform-badge:hover,
a.platform-badge-pill:hover {
	background: #e2e8f0;
	border-color: #cbd5e1;
	color: var(--color-text-primary);
	text-decoration: none;
}

body.dark-mode .desktop-platform-badge,
[data-theme="dark"] .desktop-platform-badge,
body.dark-mode .platform-badge-pill,
[data-theme="dark"] .platform-badge-pill {
	background: rgba(255, 255, 255, 0.06);
	border-color: var(--color-border-glass);
	color: var(--color-text-primary);
}

body.dark-mode a.desktop-platform-badge:hover,
[data-theme="dark"] a.desktop-platform-badge:hover,
body.dark-mode a.platform-badge-pill:hover,
[data-theme="dark"] a.platform-badge-pill:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.2);
	color: #ffffff;
}

.desktop-platform-badge .platform-icon-svg,
.platform-badge-pill .platform-icon-svg,
.platform-icon-custom-img,
.desktop-platform-badge img,
.desktop-platform-badge svg {
	width: 14px;
	height: 14px;
	flex-shrink: 0;
	display: inline-block;
	vertical-align: middle;
	object-fit: contain;
}

/* Hide Mobile Elements on Desktop */
@media (min-width: 769px) {
	.mobile-feed-top-bar,
	.mobile-feed-author,
	.mobile-feed-desc,
	.mobile-feed-prompt-box,
	.mobile-prompt-toggle-btn {
		display: none !important;
	}
	.desktop-prompt-meta {
		display: flex !important;
	}
}

/* Hide Desktop Metadata on Mobile */
@media (max-width: 768px) {
	.desktop-prompt-meta {
		display: none !important;
	}
}

/* Left Column Title & Description (Desktop & Mobile) */
.ai-prompt-left-col .ai-prompt-heading {
	margin-top: 6px;
	margin-bottom: 8px;
}

.ai-prompt-left-col .ai-prompt-title {
	font-size: 1.65rem;
	font-weight: 750;
	line-height: 1.3;
	margin: 0 0 10px 0;
	color: var(--color-text-primary);
	word-break: break-word;
}

.prompt-desc-section {
	margin-top: 14px;
	width: 100%;
	position: relative;
}

.prompt-desc-wrap {
	position: relative;
	overflow: hidden;
	transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.prompt-desc-wrap.is-collapsible:not(.is-expanded) {
	max-height: calc(var(--desc-preview-lines, 3) * 1.65em);
	overflow: hidden;
}

.prompt-desc-wrap.is-collapsible:not(.is-expanded) .prompt-lead-desc {
	display: -webkit-box;
	-webkit-line-clamp: var(--desc-preview-lines, 3);
	line-clamp: var(--desc-preview-lines, 3);
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.prompt-desc-wrap.is-expanded {
	max-height: none !important;
	overflow: visible !important;
}

.prompt-desc-wrap.is-expanded .prompt-lead-desc {
	display: block !important;
	-webkit-line-clamp: unset !important;
	line-clamp: unset !important;
}

.prompt-desc-fade {
	display: none;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 36px;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 60%, #ffffff 100%);
	pointer-events: none;
	transition: opacity 0.2s ease;
}

[data-theme="dark"] .prompt-desc-fade,
body.dark-mode .prompt-desc-fade {
	background: linear-gradient(to bottom, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.85) 60%, #0f172a 100%);
}

.prompt-desc-wrap.is-collapsible:not(.is-expanded) .prompt-desc-fade {
	display: block;
}

.prompt-desc-toggle-btn {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: 6px;
	padding: 2px 0;
	background: transparent;
	border: none;
	color: var(--color-brand-accent, #8b5cf6);
	font-family: inherit;
	font-size: 0.92rem;
	font-weight: 650;
	cursor: pointer;
	line-height: 1.4;
	transition: color 0.18s ease, transform 0.18s ease;
	user-select: none;
}

.prompt-desc-toggle-btn:hover {
	color: var(--color-primary-hover, #4f46e5);
	text-decoration: underline;
}

.prompt-desc-toggle-btn:focus-visible {
	outline: 2px solid var(--color-primary, #6366f1);
	outline-offset: 2px;
	border-radius: 4px;
}

.prompt-lead-desc {
	font-size: 0.95rem;
	line-height: 1.65;
	color: var(--color-text-secondary);
	margin: 0;
	word-break: break-word;
}

/* MAIN TWO-COLUMN GRID: IMAGE LEFT, PROMPT RIGHT */
.ai-prompt-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 28px;
	align-items: start;
	margin-bottom: 2.5rem;
}

.ai-prompt-hero.layout-stacked {
	display: flex;
	flex-direction: column;
	max-width: 960px;
	margin-left: auto;
	margin-right: auto;
	gap: 28px;
}

.ai-prompt-hero.layout-stacked .ai-prompt-left-col,
.ai-prompt-hero.layout-stacked .ai-prompt-right-col {
	width: 100%;
	max-width: 100%;
}

.ai-prompt-hero.no-featured-image {
	grid-template-columns: 1fr;
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
}

.ai-prompt-left-col {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.ai-prompt-right-col {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.ai-prompt-media,
.ai-prompt-image-panel {
	width: 100%;
	min-width: 0;
}

.ai-prompt-left-col .prompt-about-section,
.prompt-about-section {
	width: 100%;
	margin-top: 24px;
	margin-bottom: 0;
}

.ai-prompt-details,
.ai-prompt-content-panel {
	width: 100%;
	min-width: 0;
}

/* LEFT: Featured Image & Video Card */
.ai-prompt-featured-image-card,
.ai-prompt-featured-video-card,
.ai-prompt-video-wrap {
	width: 100%;
	border-radius: 20px;
	overflow: hidden;
	background: #090d16;
	border: 1px solid rgba(226, 232, 240, 0.9);
	box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
	position: relative;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ai-prompt-featured-image-card {
	cursor: pointer;
}

.ai-prompt-featured-image-card:hover,
.ai-prompt-featured-video-card:hover {
	transform: translateY(-2px);
	border-color: rgba(139, 92, 246, 0.4);
	box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.12), 0 4px 10px -2px rgba(139, 92, 246, 0.1);
}

body.dark-mode .ai-prompt-featured-image-card,
[data-theme="dark"] .ai-prompt-featured-image-card,
body.dark-mode .ai-prompt-featured-video-card,
[data-theme="dark"] .ai-prompt-featured-video-card {
	background: var(--color-bg-surface);
	border: 1px solid var(--color-border-glass);
	box-shadow: var(--shadow-card);
}

body.dark-mode .ai-prompt-featured-image-card:hover,
[data-theme="dark"] .ai-prompt-featured-image-card:hover,
body.dark-mode .ai-prompt-featured-video-card:hover,
[data-theme="dark"] .ai-prompt-featured-video-card:hover {
	border-color: rgba(139, 92, 246, 0.6);
	box-shadow: 0 10px 30px -4px rgba(0, 0, 0, 0.4), 0 0 20px rgba(139, 92, 246, 0.2);
}

.ai-prompt-featured-image-card img {
	width: 100%;
	height: auto;
	max-height: 650px;
	object-fit: cover;
	display: block;
	transition: opacity 0.2s ease, transform 0.3s ease;
}

.ai-prompt-featured-image-card:hover img {
	transform: scale(1.015);
}

/* ─── Custom Native HTML5 Video Player (Single Prompt) ───────────────────── */
.custom-video-player {
	position: relative;
	background: #090d16;
	cursor: pointer;
	user-select: none;
	outline: none;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	width: 100%;
	max-width: 100%;
	height: auto;
	border-radius: 20px;
}

/* Desktop Portrait & Square Video Framing (Prevents Excessive Height, Keeps Aspect Ratio) */
@media (min-width: 769px) {
	.ai-prompt-video-wrap.is-portrait {
		max-width: min(100%, calc(72vh * 9 / 16));
		margin: 0 auto;
		max-height: 72vh;
	}

	.custom-video-player.is-portrait {
		width: 100%;
		max-width: 100%;
		max-height: 72vh;
		margin: 0 auto;
	}

	.custom-video-player.is-portrait video,
	.custom-video-player.is-portrait .player-video,
	.custom-video-player.is-portrait .ai-prompt-featured-video {
		max-height: 72vh;
		max-width: 100%;
		width: auto;
		height: auto;
		object-fit: contain;
		margin: 0 auto;
	}

	.ai-prompt-video-wrap.is-square {
		max-width: min(100%, 70vh);
		margin: 0 auto;
		max-height: 70vh;
	}

	.custom-video-player.is-square {
		width: 100%;
		max-width: 100%;
		max-height: 70vh;
		margin: 0 auto;
	}

	.custom-video-player.is-square video,
	.custom-video-player.is-square .player-video,
	.custom-video-player.is-square .ai-prompt-featured-video {
		max-height: 70vh;
		max-width: 100%;
		width: auto;
		height: auto;
		object-fit: contain;
		margin: 0 auto;
	}

	.ai-prompt-video-wrap.is-landscape {
		width: 100%;
		max-width: 100%;
		margin: 0;
	}

	.custom-video-player.is-landscape {
		width: 100%;
		max-width: 100%;
		margin: 0;
	}
}

.custom-video-player:focus-visible {
	box-shadow: 0 0 0 3px var(--color-brand-accent), 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Disable native browser Cast / Chromecast controls */
video::-internal-media-controls-cast-button,
video::-webkit-media-controls-cast-button,
video::-webkit-media-controls-overlay-cast-button {
	display: none !important;
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

/* Blurred Background Video Layer (Fills Black Bars for Portrait / Square) */
.player-backdrop-wrapper {
	position: absolute;
	inset: -20px;
	overflow: hidden;
	pointer-events: none;
	z-index: 1;
}

.player-video-background {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: blur(32px) brightness(0.7) saturate(1.2);
	transform: scale(1.15);
	opacity: 0.65;
	display: block;
}

.player-backdrop-overlay {
	position: absolute;
	inset: 0;
	background: rgba(9, 13, 22, 0.4);
}

/* Foreground Original Video (Aspect Ratio Strictly Preserved, Full Left Column Width) */
.custom-video-player video,
.custom-video-player .player-video,
.custom-video-player .ai-prompt-featured-video {
	width: 100% !important;
	max-width: 100% !important;
	height: auto;
	display: block;
	background: transparent;
	object-fit: contain;
	position: relative;
	z-index: 2;
}

/* Large Center Play Button */
.player-center-play-btn {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(1);
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: rgba(15, 23, 42, 0.75);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 2px solid rgba(255, 255, 255, 0.7);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.2);
	cursor: pointer;
	z-index: 4;
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	outline: none;
}

.player-center-play-btn svg {
	margin-left: 3px;
	/* optical center */
	fill: #ffffff;
}

.player-center-play-btn:hover {
	transform: translate(-50%, -50%) scale(1.1);
	background: rgba(99, 102, 241, 0.85);
	border-color: #ffffff;
	box-shadow: 0 12px 36px rgba(99, 102, 241, 0.5), 0 0 25px rgba(255, 255, 255, 0.4);
}

.custom-video-player.is-playing .player-center-play-btn {
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, -50%) scale(0.8);
	pointer-events: none;
}

/* Loading Spinner */
.player-spinner {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 5;
	pointer-events: none;
}

.spinner-svg {
	animation: rotate 2s linear infinite;
	width: 44px;
	height: 44px;
}

.spinner-path {
	stroke: #ffffff;
	stroke-linecap: round;
	animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
	100% {
		transform: rotate(360deg);
	}
}

@keyframes dash {
	0% {
		stroke-dasharray: 1, 150;
		stroke-dashoffset: 0;
	}

	50% {
		stroke-dasharray: 90, 150;
		stroke-dashoffset: -35;
	}

	100% {
		stroke-dasharray: 90, 150;
		stroke-dashoffset: -124;
	}
}

/* Error Message Overlay */
.player-error-msg {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 20px;
	border-radius: 12px;
	background: rgba(239, 68, 68, 0.85);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	color: #ffffff;
	font-size: 0.875rem;
	font-weight: 600;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
	z-index: 6;
}

/* Custom Bottom Control Bar */
.player-control-bar {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 12px 16px;
	background: linear-gradient(to top, rgba(10, 15, 29, 0.95) 0%, rgba(10, 15, 29, 0.7) 60%, transparent 100%);
	display: flex;
	align-items: center;
	gap: 14px;
	z-index: 5;
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
	box-sizing: border-box;
}

.custom-video-player.is-playing.controls-hidden .player-control-bar,
.custom-video-player.is-playing:not(.controls-active) .player-control-bar {
	opacity: 0 !important;
	visibility: hidden !important;
	transform: translateY(8px) !important;
	pointer-events: none !important;
}

.custom-video-player.is-playing.controls-hidden .ai-prompt-view-btn,
.custom-video-player.is-playing:not(.controls-active) .ai-prompt-view-btn {
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

.custom-video-player.is-playing.controls-active .player-control-bar {
	opacity: 1 !important;
	visibility: visible !important;
	transform: translateY(0) !important;
	pointer-events: auto !important;
}

.custom-video-player.is-playing.controls-active .ai-prompt-view-btn {
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: auto !important;
}

/* Player Button Controls */
.player-btn {
	background: transparent;
	border: none;
	color: #ffffff;
	padding: 6px;
	border-radius: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: color 0.15s ease, background 0.15s ease, transform 0.15s ease;
	outline: none;
	flex-shrink: 0;
}

.player-btn:hover {
	color: var(--color-brand-accent, #818cf8);
	background: rgba(255, 255, 255, 0.12);
	transform: scale(1.08);
}

.player-btn:focus-visible {
	box-shadow: 0 0 0 2px var(--color-brand-accent, #818cf8);
}

/* Time Display */
.player-time-display {
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	flex-shrink: 0;
	user-select: none;
}

/* Interactive Progress Bar */
.player-progress-container {
	flex: 1;
	height: 6px;
	background: rgba(255, 255, 255, 0.22);
	border-radius: 9999px;
	position: relative;
	cursor: pointer;
	outline: none;
	transition: height 0.15s ease;
	min-width: 60px;
}

.player-progress-container:hover,
.player-progress-container.is-dragging {
	height: 8px;
}

.player-progress-buffered {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 0%;
	background: rgba(255, 255, 255, 0.35);
	border-radius: 9999px;
	pointer-events: none;
	transition: width 0.2s ease;
}

.player-progress-filled {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 0%;
	background: linear-gradient(90deg, #6366f1, #8b5cf6, #ec4899);
	border-radius: 9999px;
	pointer-events: none;
}

.player-progress-thumb {
	position: absolute;
	right: -6px;
	top: 50%;
	transform: translateY(-50%) scale(0);
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
	transition: transform 0.15s ease;
}

.player-progress-container:hover .player-progress-thumb,
.player-progress-container.is-dragging .player-progress-thumb {
	transform: translateY(-50%) scale(1);
}

/* Right Controls Group */
.player-right-controls {
	display: flex;
	align-items: center;
	gap: 4px;
	flex-shrink: 0;
}

/* Volume Slider Overlay Wrapper */
.player-volume-wrapper {
	display: flex;
	align-items: center;
	position: relative;
}

.player-volume-slider-box {
	width: 0;
	opacity: 0;
	overflow: hidden;
	transition: width 0.22s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease;
	display: flex;
	align-items: center;
}

.player-volume-wrapper:hover .player-volume-slider-box,
.player-volume-wrapper:focus-within .player-volume-slider-box {
	width: 65px;
	opacity: 1;
	margin-left: 4px;
}

.player-volume-slider {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 4px;
	border-radius: 9999px;
	background: rgba(255, 255, 255, 0.35);
	outline: none;
	cursor: pointer;
}

.player-volume-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
	cursor: pointer;
}

.player-volume-slider::-moz-range-thumb {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #ffffff;
	border: none;
	cursor: pointer;
}

/* Fullscreen Mode Adjustments */
.custom-video-player:fullscreen,
.custom-video-player:-webkit-full-screen {
	width: 100vw !important;
	height: 100vh !important;
	max-height: none !important;
	border-radius: 0 !important;
	border: none !important;
	background: #000000 !important;
}

.custom-video-player:fullscreen video,
.custom-video-player:-webkit-full-screen video {
	max-height: 100vh !important;
	width: 100vw !important;
	height: 100vh !important;
	object-fit: contain !important;
}

.custom-video-player:fullscreen .player-control-bar,
.custom-video-player:-webkit-full-screen .player-control-bar {
	padding: 20px 28px;
}

/* Image View Top-Right Badge Button */
.ai-prompt-view-btn,
.ai-prompt-fullscreen-btn {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 5;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: rgba(15, 23, 42, 0.65);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
	transition: background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s ease, box-shadow 0.25s ease;
	outline: none;
	padding: 0;
}

.ai-prompt-view-btn svg,
.ai-prompt-fullscreen-btn svg {
	width: 19px;
	height: 19px;
	display: block;
	transition: transform 0.2s ease;
}

.ai-prompt-view-btn:hover,
.ai-prompt-fullscreen-btn:hover {
	background: rgba(15, 23, 42, 0.85);
	border-color: rgba(255, 255, 255, 0.35);
	color: #ffffff;
	transform: scale(1.05);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.32);
}

.ai-prompt-view-btn:active,
.ai-prompt-fullscreen-btn:active {
	transform: scale(0.96);
}

body.dark-mode .ai-prompt-view-btn,
body.dark-mode .ai-prompt-fullscreen-btn,
[data-theme="dark"] .ai-prompt-view-btn,
[data-theme="dark"] .ai-prompt-fullscreen-btn {
	background: rgba(15, 23, 42, 0.65);
	border-color: rgba(255, 255, 255, 0.18);
}

body.dark-mode .ai-prompt-view-btn:hover,
body.dark-mode .ai-prompt-fullscreen-btn:hover,
[data-theme="dark"] .ai-prompt-view-btn:hover,
[data-theme="dark"] .ai-prompt-fullscreen-btn:hover {
	background: rgba(30, 41, 59, 0.88);
	border-color: rgba(255, 255, 255, 0.35);
}

/* ─── Full-Screen Image Lightbox ────────────────────────────────────────── */
.ai-image-lightbox {
	position: fixed;
	inset: 0;
	z-index: 9999999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s ease-out;
}

.ai-image-lightbox.is-open {
	opacity: 1;
	pointer-events: auto;
}

.ai-lightbox-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.92);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	cursor: pointer;
}

.ai-lightbox-close {
	position: fixed;
	top: 24px;
	right: 24px;
	z-index: 999999999;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: rgba(15, 23, 42, 0.8);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1.5px solid rgba(255, 255, 255, 0.3);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	outline: none;
	pointer-events: auto !important;
}

.ai-lightbox-close svg {
	pointer-events: none;
}

.ai-lightbox-close:hover {
	background: rgba(255, 255, 255, 0.25);
	border-color: rgba(255, 255, 255, 0.6);
	transform: scale(1.08);
	color: #ffffff;
}

.ai-lightbox-close:active {
	transform: scale(0.95);
}

.ai-lightbox-content {
	position: relative;
	z-index: 5;
	max-width: 95vw;
	max-height: 95vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	box-sizing: border-box;
}

.ai-lightbox-content img {
	max-width: 95vw;
	max-height: 92vh;
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 12px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
	opacity: 0;
	transition: opacity 0.25s ease-out;
	user-select: none;
	-webkit-user-select: none;
}

.ai-image-lightbox.is-open .ai-lightbox-content img {
	opacity: 1;
}

/* ─── Centered Video Lightbox Popup Modal ────────────────────────────────── */
.ai-video-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease-out;
}

.ai-video-lightbox.is-open {
	opacity: 1;
	pointer-events: auto;
}

.ai-video-lightbox-backdrop {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(4, 7, 15, 0.88);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	cursor: pointer;
}

.ai-video-lightbox-close {
	position: fixed;
	top: 24px;
	right: 24px;
	z-index: 999999999 !important;
	pointer-events: auto !important;
	cursor: pointer;
}

.ai-video-lightbox-content {
	position: relative;
	z-index: 10;
	width: auto;
	max-width: 92vw;
	max-height: 88vh;
	display: flex;
	align-items: center;
	justify-content: center;
	transform: scale(0.98);
	opacity: 0;
	transition: transform 0.2s ease-out, opacity 0.2s ease-out;
	box-sizing: border-box;
}

.ai-video-lightbox.is-open .ai-video-lightbox-content {
	transform: scale(1);
	opacity: 1;
}

.ai-video-lightbox-holder {
	width: auto;
	max-width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ai-video-lightbox-holder .custom-video-player {
	width: auto;
	max-width: 92vw;
	max-height: 88vh;
	border-radius: 16px;
	box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.ai-video-lightbox-holder .custom-video-player.is-portrait {
	max-width: 520px;
}

.ai-video-lightbox-holder .custom-video-player.is-square {
	max-width: 75vh;
}

.ai-video-lightbox-holder .custom-video-player video.ai-prompt-featured-video {
	max-height: 88vh;
	max-width: 92vw;
	width: auto;
	height: auto;
	object-fit: contain;
}

.ai-video-lightbox-holder .ai-prompt-view-btn {
	display: none !important;
}

@media (max-width: 768px) {
	.ai-video-lightbox-content {
		max-width: 96vw;
		max-height: 90vh;
	}

	.ai-video-lightbox-holder .custom-video-player {
		border-radius: 14px;
		max-width: 96vw;
	}
}

@media (max-width: 640px) {
	.ai-lightbox-close {
		top: 14px;
		right: 14px;
		width: 40px;
		height: 40px;
	}

	.ai-lightbox-content {
		padding: 10px;
		max-width: 100vw;
		max-height: 100vh;
	}

	.ai-lightbox-content img {
		max-width: 96vw;
		max-height: 88vh;
		border-radius: 8px;
	}
}

/* Main Gallery Navigation Controls (‹ and › buttons) */
.gallery-nav-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(226, 232, 240, 0.85);
	color: #334155;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 6;
	padding: 0;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
	outline: none;
	user-select: none;
}

.gallery-nav-btn svg {
	width: 14px;
	height: 14px;
	flex-shrink: 0;
	color: currentColor;
	pointer-events: none;
}

.gallery-nav-prev {
	left: 10px;
}

.gallery-nav-next {
	right: 10px;
}

.gallery-nav-btn:hover {
	background: #ffffff;
	color: #7c3aed;
	border-color: #c4b5fd;
	transform: translateY(-50%) scale(1.06);
	box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
}

.gallery-nav-btn:active {
	transform: translateY(-50%) scale(0.94);
}

body.dark-mode .gallery-nav-btn,
[data-theme="dark"] .gallery-nav-btn {
	background: rgba(15, 23, 42, 0.85);
	border-color: rgba(255, 255, 255, 0.15);
	color: #e2e8f0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

body.dark-mode .gallery-nav-btn:hover,
[data-theme="dark"] .gallery-nav-btn:hover {
	background: rgba(30, 41, 59, 0.98);
	color: #c4b5fd;
	border-color: rgba(139, 92, 246, 0.5);
	box-shadow: 0 4px 14px rgba(139, 92, 246, 0.25);
}

/* Modal Gallery Navigation Buttons */
.gallery-nav-btn.modal-nav-btn {
	position: fixed;
	width: 36px;
	height: 36px;
	z-index: 100000000;
	background: rgba(15, 23, 42, 0.75);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #ffffff;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.gallery-nav-btn.modal-nav-btn.gallery-nav-prev {
	left: 18px;
}

.gallery-nav-btn.modal-nav-btn.gallery-nav-next {
	right: 18px;
}

.gallery-nav-btn.modal-nav-btn:hover {
	background: rgba(124, 58, 237, 0.9);
	color: #ffffff;
	border-color: #a78bfa;
	box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

#main-prompt-image {
	transition: opacity 0.22s ease;
	user-select: none;
	-webkit-user-drag: none;
}

#main-prompt-image.is-switching {
	opacity: 0.25;
}

/* Thumbnail Gallery Strip */
.ai-prompt-gallery {
	display: flex;
	gap: 10px;
	margin-top: 0.75rem;
	overflow-x: auto;
	padding-bottom: 4px;
	scrollbar-width: thin;
	scrollbar-color: #cbd5e1 transparent;
	-webkit-overflow-scrolling: touch;
	max-width: 100%;
}

.gallery-thumb-btn {
	width: 56px;
	height: 56px;
	border-radius: 8px;
	overflow: hidden;
	border: 2px solid transparent;
	padding: 0;
	background: #ffffff;
	cursor: pointer;
	transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
	flex-shrink: 0;
	box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

body.dark-mode .gallery-thumb-btn,
[data-theme="dark"] .gallery-thumb-btn {
	background: var(--color-bg-card);
}

.gallery-thumb-btn.is-active {
	border-color: var(--color-brand-accent);
	box-shadow: 0 0 0 2.5px rgba(139, 92, 246, 0.3);
	transform: translateY(-1px);
}

.gallery-thumb-btn:hover:not(.is-active) {
	border-color: rgba(139, 92, 246, 0.5);
	transform: translateY(-1px);
}

.gallery-thumb-btn img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

@media (max-width: 768px) {
	.ai-prompt-gallery {
		gap: 8px;
		margin-top: 0.625rem;
	}

	.gallery-thumb-btn {
		width: 50px;
		height: 50px;
		border-radius: 7px;
	}
}

/* RIGHT: Prompt Detail Card */
.ai-prompt-card {
	border-radius: 20px;
	padding: 1.5rem 1.75rem;
	background: #ffffff;
	border: 1px solid rgba(226, 232, 240, 0.9);
	box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

body.dark-mode .ai-prompt-card,
[data-theme="dark"] .ai-prompt-card {
	background: var(--color-bg-surface);
	border: 1px solid var(--color-border-glass);
	box-shadow: var(--shadow-card);
}

.ai-prompt-card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid #f1f5f9;
}

body.dark-mode .ai-prompt-card-header,
[data-theme="dark"] .ai-prompt-card-header {
	border-bottom-color: var(--color-border-glass);
}

.ai-prompt-card-title {
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--color-text-primary);
	margin: 0;
	letter-spacing: -0.01em;
}

/* Dedicated Scrollable Prompt Container (Internal Scroll Only, max-height: 560px) */
.ai-prompt-scroll {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 1.25rem 1.4rem;
	max-height: 560px;
	overflow-y: auto;
	overflow-x: hidden;
	scrollbar-width: thin;
	scrollbar-color: #cbd5e1 transparent;
}

body.dark-mode .ai-prompt-scroll,
[data-theme="dark"] .ai-prompt-scroll {
	background: var(--color-bg-elevated);
	border-color: var(--color-border-glass);
	scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.ai-prompt-scroll::-webkit-scrollbar {
	width: 6px;
}

.ai-prompt-scroll::-webkit-scrollbar-track {
	background: transparent;
}

.ai-prompt-scroll::-webkit-scrollbar-thumb {
	background: #cbd5e1;
	border-radius: 4px;
}

body.dark-mode .ai-prompt-scroll::-webkit-scrollbar-thumb,
[data-theme="dark"] .ai-prompt-scroll::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.2);
}

.ai-prompt-scroll pre {
	margin: 0;
	font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
	font-size: 0.95rem;
	line-height: 1.65;
	color: #0f172a;
	white-space: pre-wrap;
	word-break: break-word;
}

body.dark-mode .ai-prompt-scroll pre,
[data-theme="dark"] .ai-prompt-scroll pre {
	color: var(--color-text-primary);
}

/* Actions Row: [ Like ] [ Download TXT ] [ Share ] */
.ai-prompt-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
}

.btn-action {
	flex: 0 0 auto;
	width: auto;
	height: 42px;
	padding: 0 16px;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--color-text-primary);
	border-radius: var(--radius-full);
	border: 1px solid #e2e8f0;
	text-decoration: none;
	background: #f8fafc;
	transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	box-sizing: border-box;
	cursor: pointer;
}

.btn-action.btn-share {
	margin-left: auto;
}

body.dark-mode .btn-action,
[data-theme="dark"] .btn-action {
	background: var(--color-bg-elevated);
	border-color: var(--color-border-glass);
	color: var(--color-text-primary);
}

.btn-action:hover {
	background: #ffffff;
	transform: translateY(-1px);
	border-color: rgba(139, 92, 246, 0.4);
	color: var(--color-brand-accent);
}

body.dark-mode .btn-action:hover,
[data-theme="dark"] .btn-action:hover {
	background: var(--color-bg-surface);
	color: var(--color-text-primary);
	border-color: rgba(139, 92, 246, 0.5);
}

.btn-action .heart-icon {
	color: #94a3b8;
	transition: color 0.2s ease, transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-action .like-count {
	font-weight: 700;
	margin-left: 2px;
}

/* Enhanced Prominent Like Button */
.btn-action.btn-like {
	background: rgba(139, 92, 246, 0.08);
	border-color: rgba(139, 92, 246, 0.25);
	color: var(--color-brand-accent);
}

.btn-action.btn-like:hover {
	background: rgba(139, 92, 246, 0.15);
	border-color: rgba(139, 92, 246, 0.45);
	transform: translateY(-2px);
	color: var(--color-brand-accent);
}

.btn-action.btn-like .heart-icon {
	color: var(--color-brand-accent);
}

.btn-action.btn-like.liked,
.btn-action.btn-like.is-liked {
	background: rgba(236, 72, 153, 0.12);
	border-color: rgba(236, 72, 153, 0.4);
	color: #db2777;
}

.btn-action.btn-like.liked .heart-icon,
.btn-action.btn-like.is-liked .heart-icon {
	color: #ec4899;
	transform: scale(1.2);
}

body.dark-mode .btn-action.btn-like,
[data-theme="dark"] .btn-action.btn-like {
	background: rgba(139, 92, 246, 0.18);
	border-color: rgba(139, 92, 246, 0.35);
	color: #c4b5fd;
}

body.dark-mode .btn-action.btn-like.liked,
body.dark-mode .btn-action.btn-like.is-liked,
[data-theme="dark"] .btn-action.btn-like.liked,
[data-theme="dark"] .btn-action.btn-like.is-liked {
	background: rgba(236, 72, 153, 0.22);
	border-color: rgba(236, 72, 153, 0.5);
	color: #f472b6;
}

body.dark-mode .btn-action.btn-like.liked .heart-icon,
body.dark-mode .btn-action.btn-like.is-liked .heart-icon,
[data-theme="dark"] .btn-action.btn-like.liked .heart-icon,
[data-theme="dark"] .btn-action.btn-like.is-liked .heart-icon {
	color: #f472b6;
}

/* Prompt Parameters Inside Right Column */
.ai-prompt-parameters {
	padding-top: 1rem;
	border-top: 1px solid #f1f5f9;
}

body.dark-mode .ai-prompt-parameters,
[data-theme="dark"] .ai-prompt-parameters {
	border-top-color: var(--color-border-glass);
}

.ai-prompt-params-title {
	font-size: 1rem;
	font-weight: 700;
	color: var(--color-text-primary);
	margin: 0 0 0.85rem 0;
	letter-spacing: -0.01em;
}

.ai-prompt-params-table {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.param-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 0;
	border-bottom: 1px solid #f8fafc;
	font-size: 0.885rem;
}

body.dark-mode .param-row,
[data-theme="dark"] .param-row {
	border-bottom-color: var(--color-border-glass);
}

.param-row:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.param-row:first-child {
	padding-top: 0;
}

.param-key {
	color: var(--color-text-secondary);
	font-weight: 500;
}

.param-val {
	color: var(--color-text-primary);
	font-weight: 600;
	text-align: right;
}

/* Standalone Negative Prompt Card */
.ai-prompt-negative-card {
	width: 100%;
	border-radius: 20px;
	padding: 1.5rem 1.75rem;
	background: #ffffff;
	border: 1px solid rgba(226, 232, 240, 0.9);
	box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
}

body.dark-mode .ai-prompt-negative-card,
[data-theme="dark"] .ai-prompt-negative-card {
	background: var(--color-bg-surface);
	border: 1px solid var(--color-border-glass);
	box-shadow: var(--shadow-card);
}

.mobile-only-negative-card,
.mobile-negative-prompt-section,
.mobile-main-prompt-section {
	display: none;
}

/* Negative Prompt Button — identical visual style to main .btn-copy component */
.btn-copy-negative {
	height: 36px;
	padding: 0 16px;
	border-radius: var(--radius-full);
	font-family: inherit;
	font-size: 0.85rem;
	font-weight: 600;
	background: #ffffff;
	color: #7c3aed;
	border: 1px solid #ddd6fe;
	box-shadow: 0 1px 2px rgba(124, 58, 237, 0.04);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
	outline: none;
	user-select: none;
	box-sizing: border-box;
	text-decoration: none;
}

.btn-copy-negative svg {
	width: 14px;
	height: 14px;
	flex-shrink: 0;
	color: currentColor;
}

.btn-copy-negative:hover {
	background: #f5f3ff;
	color: #6d28d9;
	border-color: #c4b5fd;
	transform: none;
	box-shadow: 0 1px 3px rgba(124, 58, 237, 0.08);
}

.btn-copy-negative:active {
	transform: none;
}

body.dark-mode .btn-copy-negative,
[data-theme="dark"] .btn-copy-negative {
	background: rgba(139, 92, 246, 0.08);
	color: #c4b5fd;
	border-color: rgba(139, 92, 246, 0.25);
	box-shadow: none;
}

body.dark-mode .btn-copy-negative:hover,
[data-theme="dark"] .btn-copy-negative:hover {
	background: rgba(139, 92, 246, 0.16);
	color: #ddd6fe;
	border-color: rgba(139, 92, 246, 0.45);
	transform: none;
}

.ai-prompt-negative-scroll {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 1.25rem 1.4rem;
	max-height: 240px;
	overflow-y: auto;
	overflow-x: hidden;
	scrollbar-width: thin;
	scrollbar-color: #cbd5e1 transparent;
}

body.dark-mode .ai-prompt-negative-scroll,
[data-theme="dark"] .ai-prompt-negative-scroll {
	background: var(--color-bg-elevated);
	border-color: var(--color-border-glass);
	scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.ai-negative-code {
	margin: 0;
	font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
	font-size: 0.95rem;
	line-height: 1.65;
	color: var(--color-text-secondary, #475569);
	white-space: pre-wrap;
	word-break: break-word;
}

body.dark-mode .ai-negative-code,
[data-theme="dark"] .ai-negative-code {
	color: #cbd5e1;
}

/* Mobile Negative Prompt Block in feed prompt box */
.mobile-negative-prompt-block {
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px dashed rgba(226, 232, 240, 0.7);
}

body.dark-mode .mobile-negative-prompt-block,
[data-theme="dark"] .mobile-negative-prompt-block {
	border-top-color: rgba(255, 255, 255, 0.1);
}

.mobile-negative-prompt-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 8px;
}

.mobile-negative-prompt-title {
	font-size: 12px;
	font-weight: 750;
	color: var(--color-text-primary);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	display: flex;
	align-items: center;
	gap: 6px;
}

.mobile-negative-code {
	color: var(--color-text-secondary);
}

/* ─── About this Prompt Section (Clean & Premium Card) ────────────────────── */
.prompt-about-section {
	width: 100%;
	margin-top: 2rem;
	margin-bottom: 2rem;
}

.prompt-about-box {
	border-radius: 18px;
	padding: 1.5rem 1.75rem;
	background: #ffffff;
	border: 1px solid rgba(226, 232, 240, 0.9);
	box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
	transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

body.dark-mode .prompt-about-box,
[data-theme="dark"] .prompt-about-box {
	background: var(--color-bg-surface);
	border: 1px solid var(--color-border-glass);
	box-shadow: 0 4px 24px -2px rgba(0, 0, 0, 0.25);
}

.prompt-about-box .ai-prompt-card-title {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--color-text-primary);
	margin: 0 0 0.75rem 0;
	line-height: 1.35;
	display: block;
}

.prompt-about-content {
	color: var(--color-text-secondary);
	font-size: 0.96rem;
	line-height: 1.75;
	margin: 0;
}

.prompt-lead-desc {
	font-size: 0.96rem;
	font-weight: 400;
	color: var(--color-text-secondary);
	line-height: 1.75;
	margin: 0;
	word-break: break-word;
}

@media (max-width: 768px) {
	.prompt-about-section {
		margin-top: 0;
		margin-bottom: 0;
	}

	.prompt-about-box {
		padding: 1.25rem 1.25rem;
		border-radius: 14px;
	}

	.prompt-about-box .ai-prompt-card-title {
		font-size: 1.05rem;
		margin-bottom: 0.5rem;
	}

	.prompt-lead-desc {
		font-size: 0.92rem;
		line-height: 1.65;
	}
}

/* Related Prompts Responsive Grid (3 Desktop, 2 Tablet, 1 Mobile) */
.prompt-related-section {
	margin-top: 3.5rem;
	padding-top: 2.25rem;
	border-top: 1px solid #e2e8f0;
}

body.dark-mode .prompt-related-section,
[data-theme="dark"] .prompt-related-section {
	border-top-color: var(--color-border-glass);
}

.prompt-related-title {
	font-size: 1.65rem;
	font-weight: 750;
	color: var(--color-text-primary);
	margin-bottom: 1.5rem;
	letter-spacing: -0.02em;
}

.prompt-related-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	align-items: start;
}

.prompt-related-grid .prompt-card {
	margin-bottom: 0;
}

/* Responsive Mobile Rules */
@media (max-width: 1024px) {
	.ai-prompt-hero {
		gap: 20px;
	}

	.ai-prompt-title {
		font-size: 1.95rem;
	}

	.prompt-related-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}
}

@media (max-width: 768px) {
	/* Header height compact on mobile */
	.nav-card {
		height: 52px !important;
		margin: 8px auto 0 !important;
		width: calc(100% - 20px) !important;
		border-radius: 14px !important;
		padding: 0 14px !important;
	}

	/* Reset Single Prompt Page into Compact Feed */
	.ai-prompt-single {
		display: flex !important;
		flex-direction: column !important;
		padding-left: 10px !important;
		padding-right: 10px !important;
		padding-top: 6px !important;
	}

	/* 1. BREADCRUMBS ON MOBILE */
	.ai-prompt-breadcrumb {
		display: flex !important;
		font-size: 0.8rem !important;
		gap: 6px !important;
		margin-bottom: 0.75rem !important;
		flex-wrap: wrap !important;
		word-break: break-word !important;
	}

	/* 1. MAIN MEDIA / IMAGE (Appears First) */
	.ai-prompt-hero {
		order: 1 !important;
		display: block !important;
		margin-bottom: 0 !important;
	}

	.ai-prompt-left-col {
		display: block !important;
	}

	.ai-prompt-media,
	.ai-prompt-image-panel,
	.ai-prompt-left-col .ai-prompt-media {
		display: block !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	.ai-prompt-featured-image-card {
		width: 100% !important;
		position: relative !important;
		border-radius: 12px !important;
		overflow: hidden !important;
		background: #0f172a !important;
		text-align: center !important;
	}

	/* Full-Width Mobile Video Card - Natural Aspect Ratio (Portrait 9:16 & Landscape) */
	.ai-prompt-video-wrap {
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		max-height: none !important;
		aspect-ratio: unset !important;
		margin: 0 !important;
		position: relative !important;
		border-radius: 12px !important;
		overflow: hidden !important;
		box-sizing: border-box !important;
		background: #090d16 !important;
	}

	.custom-video-player {
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		max-height: none !important;
		aspect-ratio: unset !important;
		margin: 0 auto !important;
		border-radius: 12px !important;
		overflow: hidden !important;
		background: #090d16 !important;
		position: relative !important;
		display: block !important;
	}

	.custom-video-player.is-portrait,
	.custom-video-player.is-landscape,
	.custom-video-player.is-square,
	.ai-prompt-video-wrap.is-portrait,
	.ai-prompt-video-wrap.is-landscape,
	.ai-prompt-video-wrap.is-square {
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		max-height: none !important;
		aspect-ratio: unset !important;
	}

	.custom-video-player video,
	.custom-video-player .player-video,
	.custom-video-player .ai-prompt-featured-video,
	.ai-prompt-video-wrap video,
	.ai-prompt-video-wrap .player-video,
	.ai-prompt-video-wrap .ai-prompt-featured-video {
		width: 100% !important;
		max-width: 100% !important;
		max-height: none !important;
		height: auto !important;
		display: block !important;
		border-radius: 12px !important;
		object-fit: contain !important;
		margin: 0 auto !important;
	}

	/* Mobile Video Controls Polish */
	.player-control-bar {
		padding: 6px 8px !important;
		gap: 6px !important;
		background: linear-gradient(to top, rgba(10, 15, 29, 0.96) 0%, rgba(10, 15, 29, 0.75) 70%, transparent 100%) !important;
	}

	.player-time-display {
		font-size: 0.68rem !important;
		letter-spacing: 0 !important;
	}

	.player-btn {
		padding: 3px !important;
	}

	.player-btn svg {
		width: 13px !important;
		height: 13px !important;
	}

	.player-center-play-btn {
		width: 48px !important;
		height: 48px !important;
	}

	.player-center-play-btn svg {
		width: 20px !important;
		height: 20px !important;
	}

	/* Remove Cast / Popup Lightbox icon from mobile player controls */
	.player-btn.btn-popup-lightbox,
	#player-btn-popup {
		display: none !important;
	}

	.ai-prompt-featured-image-card img {
		width: 100% !important;
		max-height: 420px !important;
		height: auto !important;
		display: block !important;
		border-radius: 12px !important;
		object-fit: contain !important;
		margin: 0 auto !important;
	}

	/* Hide Desktop Right Col and Desktop About Box on Mobile */
	.ai-prompt-right-col,
	.prompt-about-section {
		display: none !important;
	}

	.ai-prompt-view-btn,
	.ai-prompt-fullscreen-btn {
		top: 8px !important;
		right: 8px !important;
		width: 32px !important;
		height: 32px !important;
	}

	.ai-prompt-view-btn svg,
	.ai-prompt-fullscreen-btn svg {
		width: 14px !important;
		height: 14px !important;
	}

	/* 2. ACTIONS: STATS / SHARE / COPY (Immediately below Main Image) */
	.mobile-feed-top-bar {
		order: 2 !important;
		display: flex !important;
		align-items: center !important;
		justify-content: space-between !important;
		gap: 8px !important;
		margin-top: 8px !important;
		margin-bottom: 8px !important;
		padding-bottom: 8px !important;
		border-bottom: 1px solid #f1f5f9 !important;
		box-sizing: border-box !important;
	}

	body.dark-mode .mobile-feed-top-bar,
	[data-theme="dark"] .mobile-feed-top-bar {
		border-bottom-color: var(--color-border-glass) !important;
	}

	/* Left: Engagement Stats */
	.mobile-feed-stats {
		display: inline-flex !important;
		align-items: center !important;
		gap: 12px !important;
		line-height: 1 !important;
	}

	.mobile-stat-pill {
		display: inline-flex !important;
		align-items: center !important;
		gap: 4px !important;
		background: transparent !important;
		background-color: transparent !important;
		border: none !important;
		box-shadow: none !important;
		outline: none !important;
		padding: 0 !important;
		margin: 0 !important;
		font-size: 0.875rem !important;
		font-weight: 700 !important;
		color: var(--color-text-primary) !important;
		border-radius: 0 !important;
		cursor: default !important;
		line-height: 1 !important;
		vertical-align: middle !important;
		user-select: none !important;
	}

	.mobile-stat-pill svg {
		width: 15px !important;
		height: 15px !important;
		flex-shrink: 0 !important;
		display: block !important;
		color: var(--color-text-secondary) !important;
	}

	.likes-count-val,
	.copy-count-val {
		font-size: 0.875rem !important;
		font-weight: 700 !important;
		line-height: 1 !important;
		color: var(--color-text-primary) !important;
		font-variant-numeric: tabular-nums !important;
		display: inline-block !important;
	}

	button.mobile-stat-pill.btn-like {
		cursor: pointer !important;
		background: transparent !important;
		background-color: transparent !important;
		border: none !important;
		box-shadow: none !important;
		outline: none !important;
		padding: 0 !important;
		margin: 0 !important;
		min-height: auto !important;
		height: auto !important;
		transition: transform 0.15s ease, color 0.15s ease !important;
	}

	body.dark-mode button.mobile-stat-pill.btn-like,
	[data-theme="dark"] button.mobile-stat-pill.btn-like {
		background: transparent !important;
		border: none !important;
		color: var(--color-text-primary) !important;
	}

	button.mobile-stat-pill.btn-like:hover,
	button.mobile-stat-pill.btn-like:active {
		background: transparent !important;
		border: none !important;
	}

	button.mobile-stat-pill.btn-like .heart-icon {
		width: 15px !important;
		height: 15px !important;
		transition: transform 0.2s ease, fill 0.2s ease, color 0.2s ease !important;
	}

	button.mobile-stat-pill.btn-like:active .heart-icon {
		transform: scale(1.2) !important;
	}

	button.mobile-stat-pill.btn-like.is-liked,
	button.mobile-stat-pill.btn-like.liked,
	button.mobile-stat-pill.btn-like.active {
		background: transparent !important;
		border: none !important;
		color: #ec4899 !important;
	}

	button.mobile-stat-pill.btn-like.is-liked .heart-icon,
	button.mobile-stat-pill.btn-like.liked .heart-icon,
	button.mobile-stat-pill.btn-like.active .heart-icon {
		fill: #ec4899 !important;
		color: #ec4899 !important;
	}

	/* Right: Action Buttons */
	.mobile-feed-actions {
		display: inline-flex !important;
		align-items: center !important;
		gap: 6px !important;
		flex-shrink: 0 !important;
	}

	.btn-action-compact {
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		gap: 5px !important;
		height: 32px !important;
		min-height: 32px !important;
		padding: 0 11px !important;
		border-radius: 8px !important;
		font-size: 0.8rem !important;
		font-weight: 600 !important;
		letter-spacing: 0.01em !important;
		cursor: pointer !important;
		transition: all 0.2s ease !important;
		background: #f1f5f9 !important;
		color: var(--color-text-primary) !important;
		border: 1px solid #e2e8f0 !important;
		box-sizing: border-box !important;
		line-height: 1 !important;
		user-select: none !important;
	}

	.btn-action-compact svg {
		width: 13px !important;
		height: 13px !important;
		flex-shrink: 0 !important;
		display: block !important;
	}

	body.dark-mode .btn-action-compact,
	[data-theme="dark"] .btn-action-compact {
		background: rgba(255, 255, 255, 0.06) !important;
		color: var(--color-text-primary) !important;
		border-color: var(--color-border-glass) !important;
	}

	body.dark-mode .btn-action-compact.btn-share:hover,
	[data-theme="dark"] .btn-action-compact.btn-share:hover {
		background: rgba(255, 255, 255, 0.1) !important;
		border-color: rgba(255, 255, 255, 0.22) !important;
	}

	.btn-action-compact.btn-copy-primary {
		background: var(--color-brand-accent) !important;
		color: #fff !important;
		border-color: var(--color-brand-accent) !important;
		box-shadow: 0 2px 6px rgba(139, 92, 246, 0.24) !important;
	}

	.btn-action-compact.btn-copy-primary:hover {
		filter: brightness(1.08) !important;
		box-shadow: 0 3px 10px rgba(139, 92, 246, 0.32) !important;
	}

	.btn-action-compact.btn-copy-primary:active,
	.btn-action-compact.btn-share:active {
		transform: scale(0.97) !important;
	}

	/* 3. AUTHOR + PLATFORM ROW (Immediately below Actions) */
	.prompt-author-platform-row,
	.mobile-feed-author {
		order: 3 !important;
		display: flex !important;
		align-items: center !important;
		justify-content: space-between !important;
		flex-wrap: nowrap !important;
		gap: 8px !important;
		margin-bottom: 8px !important;
		width: 100% !important;
	}

	.prompt-author-info-left {
		display: inline-flex !important;
		align-items: center !important;
		gap: 6px !important;
		min-width: 0 !important;
		flex-shrink: 1 !important;
	}

	.mobile-author-avatar {
		width: 24px !important;
		height: 24px !important;
		border-radius: 50% !important;
		overflow: hidden !important;
		flex-shrink: 0 !important;
		background: #e2e8f0 !important;
	}

	.mobile-author-avatar img {
		width: 100% !important;
		height: 100% !important;
		object-fit: cover !important;
		display: block !important;
	}

	.mobile-author-info {
		display: inline-flex !important;
		align-items: center !important;
		gap: 4px !important;
		font-size: 0.775rem !important;
		color: var(--color-text-muted) !important;
		min-width: 0 !important;
	}

	.prompt-author-name {
		font-weight: 650 !important;
		color: var(--color-text-primary) !important;
		display: inline-flex !important;
		align-items: center !important;
		gap: 3px !important;
		white-space: nowrap !important;
	}

	.mobile-author-sep,
	.prompt-author-sep {
		font-size: 0.65rem !important;
		opacity: 0.45 !important;
	}

	.mobile-author-time,
	.prompt-author-time {
		color: var(--color-text-muted) !important;
		font-size: 0.725rem !important;
		white-space: nowrap !important;
	}

	.prompt-platform-badge-wrap {
		display: inline-flex !important;
		align-items: center !important;
		gap: 4px !important;
		flex-shrink: 0 !important;
	}

	.mobile-created-on-label {
		font-size: 0.75rem !important;
		color: var(--color-text-muted) !important;
		font-weight: 500 !important;
		white-space: nowrap !important;
	}

	.platform-badge-pill {
		padding: 3px 8px !important;
		font-size: 0.75rem !important;
		gap: 4px !important;
		border-radius: 6px !important;
	}

	.platform-badge-pill svg.platform-icon-svg {
		width: 13px !important;
		height: 13px !important;
	}

	/* 4. TITLE (Immediately below Author) */
	.ai-prompt-heading {
		order: 4 !important;
		display: block !important;
		margin-bottom: 6px !important;
	}

	.ai-prompt-title {
		font-size: 1.32rem !important;
		line-height: 1.25 !important;
		margin: 0 !important;
		color: var(--color-text-primary) !important;
		font-weight: 750 !important;
	}

	/* Hide Desktop Metadata on Mobile */
	.ai-prompt-meta {
		display: none !important;
	}

	/* 5. SHORT DESCRIPTION (Immediately below Title) */
	.prompt-desc-section,
	.mobile-feed-desc {
		order: 5 !important;
		display: block !important;
		font-size: 0.88rem !important;
		line-height: 1.52 !important;
		color: var(--color-text-secondary) !important;
		margin: 0 0 8px 0 !important;
		word-break: break-word !important;
	}

	.prompt-desc-toggle-btn {
		font-size: 0.8rem !important;
		padding: 2px 0 !important;
	}

	/* 6. PROMPT PREVIEW BOX */
	.mobile-feed-prompt-box {
		order: 6 !important;
		display: block !important;
		position: relative !important;
		max-height: 95px !important;
		overflow: hidden !important;
		background: #f8fafc !important;
		border: 1px solid #e2e8f0 !important;
		border-radius: 10px !important;
		padding: 10px 12px !important;
		margin-bottom: 3px !important;
		transition: max-height 0.35s ease !important;
	}

	body.dark-mode .mobile-feed-prompt-box,
	[data-theme="dark"] .mobile-feed-prompt-box {
		background: rgba(255, 255, 255, 0.03) !important;
		border-color: var(--color-border-glass) !important;
	}

	.mobile-feed-prompt-box.is-expanded {
		max-height: 2500px !important;
	}

	.mobile-prompt-code {
		font-family: var(--font-mono, monospace) !important;
		font-size: 0.8125rem !important;
		line-height: 1.5 !important;
		color: var(--color-text-secondary) !important;
		margin: 0 !important;
		white-space: pre-wrap !important;
		word-break: break-word !important;
	}

	.mobile-prompt-fade {
		position: absolute !important;
		bottom: 0 !important;
		left: 0 !important;
		right: 0 !important;
		height: 40px !important;
		background: linear-gradient(to bottom, rgba(248, 250, 252, 0), #f8fafc) !important;
		pointer-events: none !important;
		transition: opacity 0.25s ease !important;
	}

	body.dark-mode .mobile-prompt-fade,
	[data-theme="dark"] .mobile-prompt-fade {
		background: linear-gradient(to bottom, rgba(15, 23, 42, 0), #0f172a) !important;
	}

	.mobile-feed-prompt-box.is-expanded .mobile-prompt-fade {
		opacity: 0 !important;
		visibility: hidden !important;
	}

	/* 7. SHOW MORE BUTTON (Custom Styled) */
	.mobile-prompt-toggle-btn {
		order: 7 !important;
		display: inline-flex !important;
		align-items: center !important;
		gap: 4px !important;
		background: none !important;
		background-color: transparent !important;
		border: none !important;
		box-shadow: none !important;
		outline: none !important;
		appearance: none !important;
		-webkit-appearance: none !important;
		padding: 0 !important;
		color: var(--color-brand-accent) !important;
		font-size: 0.8rem !important;
		font-weight: 600 !important;
		cursor: pointer !important;
		margin-bottom: 12px !important;
		user-select: none !important;
	}

	.mobile-prompt-toggle-btn .toggle-icon {
		transition: transform 0.25s ease !important;
	}

	.mobile-prompt-toggle-btn.is-expanded .toggle-icon {
		transform: rotate(180deg) !important;
	}

	/* Hide Desktop Negative Prompt Card on Mobile */
	.desktop-only-negative-card,
	.mobile-only-negative-card,
	.prompt-negative-section {
		display: none !important;
	}

	/* 6. MAIN PROMPT SECTION (Mobile) */
	.mobile-main-prompt-section {
		display: flex !important;
		flex-direction: column !important;
		order: 6 !important;
		width: 100% !important;
		margin-bottom: 8px !important;
		gap: 4px !important;
	}

	.mobile-prompt-header {
		display: flex !important;
		align-items: center !important;
		padding: 0 2px !important;
		margin-bottom: 2px !important;
	}

	.mobile-prompt-title,
	.mobile-negative-title {
		font-size: 0.84rem !important;
		font-weight: 700 !important;
		color: var(--color-text-primary) !important;
		letter-spacing: -0.01em !important;
	}

	/* 8. NEGATIVE PROMPT (Mobile Compact Block - Exact Match to Main Prompt) */
	.mobile-negative-prompt-section {
		display: flex !important;
		flex-direction: column !important;
		order: 8 !important;
		width: 100% !important;
		margin-bottom: 8px !important;
		gap: 4px !important;
	}

	.mobile-negative-header {
		display: flex !important;
		align-items: center !important;
		justify-content: space-between !important;
		padding: 0 2px !important;
		margin-bottom: 2px !important;
	}

	.mobile-negative-actions {
		display: inline-flex !important;
		align-items: center !important;
		gap: 6px !important;
		flex-wrap: wrap !important;
	}

	.btn-download-negative-link {
		display: inline-flex !important;
		align-items: center !important;
		gap: 4px !important;
		background: transparent !important;
		border: none !important;
		box-shadow: none !important;
		outline: none !important;
		padding: 2px 6px !important;
		color: var(--color-brand-accent) !important;
		font-size: 0.78rem !important;
		font-weight: 650 !important;
		cursor: pointer !important;
		border-radius: 4px !important;
		line-height: 1 !important;
		text-decoration: none !important;
		transition: background 0.15s ease, color 0.15s ease !important;
	}

	.btn-download-negative-link:hover {
		background: rgba(99, 102, 241, 0.08) !important;
	}

	/* 9. CATEGORY & TAGS METADATA (Matches Desktop Order: After Hero, Before Comments) */
	.prompt-meta-taxonomies {
		order: 8 !important;
		padding: 10px 14px !important;
		gap: 8px !important;
		margin: 0 0 1rem 0 !important;
		border-radius: 12px !important;
	}

	/* 10. COMMENTS SECTION (Matches Desktop Order: After Categories/Tags, Before Related Prompts) */
	.prompt-comments-section {
		order: 9 !important;
		margin-top: 1rem !important;
		margin-bottom: 1.5rem !important;
	}

	.prompt-meta-tax-row {
		gap: 6px 8px !important;
		font-size: 0.8125rem !important;
	}

	.prompt-tax-label {
		font-size: 0.75rem !important;
		min-width: 65px !important;
	}

	.prompt-category-badge {
		padding: 3px 9px !important;
		font-size: 0.75rem !important;
	}

	.prompt-tag-badge {
		padding: 2px 7px !important;
		font-size: 0.75rem !important;
	}

	/* 11. RELATED PROMPTS */
	.prompt-related-section {
		order: 10 !important;
		margin-top: 0.5rem !important;
		padding-top: 0.5rem !important;
	}

	.prompt-related-grid {
		grid-template-columns: 1fr !important;
		gap: 14px !important;
	}
}

/* ─── Load More Prompts Component ─────────────────────────────────────────── */
.load-more-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin: 2.25rem 0 1rem 0;
	width: 100%;
	position: relative;
	z-index: 10;
	pointer-events: auto;
}

.btn-load-more,
#load-more-prompts-btn,
#load-more-libraries-btn,
button.btn-load-more,
.btn.btn-load-more {
	height: 48px;
	padding: 0 32px;
	border-radius: var(--radius-full, 9999px);
	background: var(--color-brand-accent, #6366f1) !important;
	color: #ffffff !important;
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	border: 1px solid rgba(255, 255, 255, 0.18) !important;
	box-shadow: 0 4px 16px rgba(99, 102, 241, 0.28);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
	outline: none;
	user-select: none;
	text-decoration: none;
}

.btn-load-more:hover,
#load-more-prompts-btn:hover,
#load-more-libraries-btn:hover,
button.btn-load-more:hover,
.btn.btn-load-more:hover {
	background: var(--color-brand-hover, #4f46e5) !important;
	color: #ffffff !important;
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(99, 102, 241, 0.42);
}

.btn-load-more:active,
#load-more-prompts-btn:active,
#load-more-libraries-btn:active,
button.btn-load-more:active,
.btn.btn-load-more:active {
	transform: translateY(0);
	box-shadow: 0 2px 8px rgba(99, 102, 241, 0.25);
}

.btn-load-more:focus-visible,
#load-more-prompts-btn:focus-visible,
#load-more-libraries-btn:focus-visible {
	outline: 2px solid var(--color-brand-accent, #6366f1);
	outline-offset: 3px;
}

.btn-load-more .load-more-text,
#load-more-prompts-btn .load-more-text,
#load-more-libraries-btn .load-more-text {
	color: #ffffff !important;
	font-weight: 700;
	display: inline-block;
}

.btn-load-more:hover .load-more-text,
#load-more-prompts-btn:hover .load-more-text,
#load-more-libraries-btn:hover .load-more-text {
	color: #ffffff !important;
}

.btn-load-more.is-loading {
	opacity: 0.85;
	pointer-events: none;
	cursor: default;
	transform: none !important;
}

.btn-load-more.is-loading .load-more-text {
	color: #ffffff !important;
}

.load-more-spinner {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
}

.load-more-spinner svg {
	animation: spin 0.8s linear infinite;
	color: #ffffff;
}

.spinner-icon {
	animation: spin 0.8s linear infinite;
}

@keyframes spin {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

.no-more-prompts-msg {
	margin-top: 0.5rem;
	font-size: 13.5px;
	color: var(--color-text-muted);
	font-weight: 500;
}

@media (max-width: 640px) {
	.load-more-container {
		margin: 1.25rem 0 0 0;
		padding: 0;
	}

	.btn-load-more {
		width: 100%;
		max-width: 280px;
	}
}

/* ─── Global Clean Toast Notification Component (Horizontally Centered) ── */
.ai-toast-notification {
	position: fixed;
	bottom: 30px;
	left: 50%;
	right: auto;
	z-index: 999999;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 20px;
	border-radius: 9999px;
	background: rgba(15, 23, 42, 0.92);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #ffffff;
	font-size: 0.875rem;
	font-weight: 600;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
	opacity: 0;
	transform: translate(-50%, 14px) scale(0.96);
	transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
		transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
	pointer-events: none;
	width: max-content;
	max-width: calc(100vw - 32px);
	box-sizing: border-box;
}

.ai-toast-notification.is-visible {
	opacity: 1;
	transform: translate(-50%, 0) scale(1);
}

.ai-toast-notification.toast-success svg {
	color: #10b981;
}

.ai-toast-notification.toast-error {
	background: rgba(239, 68, 68, 0.95);
	border-color: rgba(239, 68, 68, 0.6);
}

@media (max-width: 640px) {
	.ai-toast-notification {
		bottom: 20px;
		left: 50%;
		right: auto;
		transform: translate(-50%, 12px) scale(0.96);
		padding: 9px 16px;
		font-size: 0.84rem;
	}

	.ai-toast-notification.is-visible {
		transform: translate(-50%, 0) scale(1);
	}
}

/* Custom Share Popup */
.ai-share-popup-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	z-index: 99990;
	display: none;
	opacity: 0;
	transition: opacity 0.2s ease-out;
	align-items: center;
	justify-content: center;
	padding: 16px;
	box-sizing: border-box;
}

.ai-share-popup-overlay.is-visible {
	display: flex;
}

.ai-share-popup-overlay.is-animated {
	opacity: 1;
}

.ai-share-popup-modal {
	background: var(--color-bg-surface, #1e2330);
	border: 1px solid var(--color-border-glass, rgba(255, 255, 255, 0.1));
	border-radius: 20px;
	width: 100%;
	max-width: 400px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
	transform: translateY(8px) scale(0.96);
	opacity: 0;
	transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	z-index: 100000;
	position: relative;
	padding: 22px 20px 20px;
	text-align: left;
	box-sizing: border-box;
}

.ai-share-popup-overlay.is-animated .ai-share-popup-modal {
	transform: translateY(0) scale(1);
	opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
	.ai-share-popup-overlay,
	.ai-share-popup-modal {
		transition: none !important;
	}
}

.ai-share-popup-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
	position: relative;
}

.ai-share-popup-title {
	margin: 0;
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--color-text-primary, #ffffff);
	letter-spacing: -0.01em;
	line-height: 1.25;
}

.ai-share-popup-close {
	background: var(--color-bg-primary, rgba(255, 255, 255, 0.05));
	border: 1px solid var(--color-border-glass, rgba(255, 255, 255, 0.1));
	color: var(--color-text-secondary, #94a3b8);
	cursor: pointer;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.15s ease;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
	padding: 0;
}

.ai-share-popup-close:hover,
.ai-share-popup-close:focus {
	background: var(--color-bg-elevated, rgba(255, 255, 255, 0.12));
	color: var(--color-text-primary, #ffffff);
	border-color: var(--color-border-hover, rgba(255, 255, 255, 0.2));
	transform: scale(1.05);
	outline: none;
}

/* Social Grid (4 columns, 2 rows) */
.ai-share-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px 8px;
	width: 100%;
}

.ai-share-tile-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: transparent;
	border: none;
	padding: 4px 2px;
	border-radius: 12px;
	cursor: pointer;
	text-decoration: none;
	color: var(--color-text-secondary, #94a3b8);
	transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
	font-family: inherit;
}

.ai-share-tile-btn .ai-share-icon-wrap {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--color-bg-primary, rgba(255, 255, 255, 0.05));
	border: 1px solid var(--color-border-glass, rgba(255, 255, 255, 0.08));
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-text-secondary, #cbd5e1);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
	flex-shrink: 0;
}

.ai-share-tile-btn .ai-share-icon-wrap svg {
	display: block;
	transition: transform 0.18s ease;
}

.ai-share-tile-label {
	font-size: 0.78rem;
	font-weight: 500;
	color: var(--color-text-secondary, #94a3b8);
	line-height: 1.2;
	text-align: center;
	transition: color 0.18s ease;
	white-space: nowrap;
}

.ai-share-tile-btn:hover .ai-share-icon-wrap {
	transform: translateY(-3px) scale(1.06);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.ai-share-tile-btn:hover .ai-share-tile-label {
	color: var(--color-text-primary, #ffffff);
}

/* Brand styling on hover */
.ai-share-tile-btn.share-facebook:hover .ai-share-icon-wrap {
	background: #1877F2;
	border-color: #1877F2;
	color: #ffffff;
}

.ai-share-tile-btn.share-x:hover .ai-share-icon-wrap {
	background: #000000;
	border-color: #333333;
	color: #ffffff;
}

.ai-share-tile-btn.share-threads:hover .ai-share-icon-wrap {
	background: #000000;
	border-color: #333333;
	color: #ffffff;
}

.ai-share-tile-btn.share-pinterest:hover .ai-share-icon-wrap {
	background: #E60023;
	border-color: #E60023;
	color: #ffffff;
}

.ai-share-tile-btn.share-whatsapp:hover .ai-share-icon-wrap {
	background: #25D366;
	border-color: #25D366;
	color: #ffffff;
}

.ai-share-tile-btn.share-telegram:hover .ai-share-icon-wrap {
	background: #229ED9;
	border-color: #229ED9;
	color: #ffffff;
}

.ai-share-tile-btn.share-copy-tile:hover .ai-share-icon-wrap {
	background: var(--color-brand-accent, #6366f1);
	border-color: var(--color-brand-accent, #6366f1);
	color: #ffffff;
}

.ai-share-tile-btn.share-copy-tile.is-copied .ai-share-icon-wrap {
	background: #10b981;
	border-color: #10b981;
	color: #ffffff;
}

.ai-share-tile-btn.share-more-tile:hover .ai-share-icon-wrap {
	background: #475569;
	border-color: #64748b;
	color: #ffffff;
}

@media (max-width: 440px) {
	.ai-share-popup-modal {
		padding: 18px 14px 16px;
		border-radius: 16px;
	}

	.ai-share-popup-header {
		margin-bottom: 16px;
	}

	.ai-share-popup-title {
		font-size: 1.05rem;
	}

	.ai-share-social-row {
		gap: 6px;
		margin-bottom: 16px;
	}

	.ai-share-circle-btn {
		width: 42px;
		height: 42px;
	}

	.ai-share-circle-btn svg {
		transform: scale(0.9);
	}

	.ai-share-popup-url-container {
		padding: 3px 4px 3px 12px;
		height: 40px;
		border-radius: 10px;
		gap: 6px;
	}

	.ai-share-popup-url-input {
		font-size: 0.78rem;
	}

	.ai-share-popup-btn-copy {
		padding: 5px 12px;
		font-size: 0.78rem;
	}
}

/* ─── Center Screen Reaction Animation (Like / Unlike / Dislike) ───────────── */
.ai-reaction-overlay {
	position: fixed;
	inset: 0;
	z-index: 99999999;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	background: transparent !important;
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
	animation: aiReactionFadeOut 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

body.dark-mode .ai-reaction-overlay,
[data-theme="dark"] .ai-reaction-overlay {
	background: transparent !important;
}

.ai-reaction-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 0;
	background: transparent;
	border: none;
	box-shadow: none;
	animation: aiReactionPop 0.85s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
	will-change: transform, opacity;
}

.ai-reaction-icon-wrap {
	position: relative;
	width: 80px;
	height: 80px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ai-reaction-icon {
	font-size: 3.8rem;
	line-height: 1;
	display: block;
	animation: aiIconBounce 0.85s cubic-bezier(0.175, 0.885, 0.32, 1.35) forwards;
	filter: drop-shadow(0 6px 20px rgba(236, 72, 153, 0.6)) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.ai-reaction-icon.is-unlike {
	font-size: 3.5rem;
	color: #ffffff;
	filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.ai-reaction-icon.is-dislike {
	font-size: 3.6rem;
	filter: drop-shadow(0 6px 20px rgba(239, 68, 68, 0.6)) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.ai-reaction-label {
	font-size: 1.25rem;
	font-weight: 800;
	letter-spacing: -0.01em;
	color: #ffffff;
	line-height: 1;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85), 0 0 20px rgba(236, 72, 153, 0.65), 0 0 2px rgba(0, 0, 0, 0.9);
}

.ai-reaction-icon.is-unlike ~ .ai-reaction-label,
.ai-reaction-card:has(.is-unlike) .ai-reaction-label {
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85), 0 0 20px rgba(100, 116, 139, 0.65);
}

.ai-reaction-icon.is-dislike ~ .ai-reaction-label,
.ai-reaction-card:has(.is-dislike) .ai-reaction-label {
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85), 0 0 20px rgba(239, 68, 68, 0.65);
}

/* Floating Heart Particles */
.ai-reaction-particles {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.ai-reaction-particle {
	position: absolute;
	top: 50%;
	left: 50%;
	font-size: 1.2rem;
	color: #ff3366;
	opacity: 0;
	text-shadow: 0 0 12px rgba(255, 51, 102, 0.9), 0 2px 6px rgba(0, 0, 0, 0.5);
	transform: translate(-50%, -50%) scale(0);
	animation: aiParticleBurst 0.85s ease-out forwards;
}

.ai-reaction-icon-wrap:has(.is-unlike) .ai-reaction-particle {
	color: #cbd5e1;
	text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 2px 6px rgba(0, 0, 0, 0.6);
}

.ai-reaction-icon-wrap:has(.is-dislike) .ai-reaction-particle {
	color: #ef4444;
	text-shadow: 0 0 12px rgba(239, 68, 68, 0.9), 0 2px 6px rgba(0, 0, 0, 0.5);
}

@keyframes aiReactionPop {
	0% {
		transform: scale(0.4);
		opacity: 0;
	}
	20% {
		transform: scale(1.1);
		opacity: 1;
	}
	40% {
		transform: scale(1);
		opacity: 1;
	}
	75% {
		transform: scale(1);
		opacity: 1;
	}
	100% {
		transform: scale(0.92);
		opacity: 0;
	}
}

@keyframes aiIconBounce {
	0% {
		transform: scale(0.3);
	}
	25% {
		transform: scale(1.28);
	}
	45% {
		transform: scale(0.95);
	}
	65% {
		transform: scale(1.05);
	}
	80% {
		transform: scale(1);
	}
	100% {
		transform: scale(0.9);
	}
}

@keyframes aiParticleBurst {
	0% {
		transform: translate(-50%, -50%) translate(0, 0) scale(0.3);
		opacity: 1;
	}
	60% {
		opacity: 0.95;
	}
	100% {
		transform: translate(-50%, -50%) translate(var(--tx, 0px), var(--ty, 0px)) scale(var(--scale, 0.85));
		opacity: 0;
	}
}

@keyframes aiReactionFadeOut {
	0% {
		opacity: 0;
	}
	15% {
		opacity: 1;
	}
	75% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}

@media (max-width: 640px) {
	.ai-reaction-icon-wrap {
		width: 64px;
		height: 64px;
	}
	.ai-reaction-icon {
		font-size: 3rem;
	}
	.ai-reaction-label {
		font-size: 1.1rem;
	}
	.ai-reaction-particle {
		font-size: 1rem;
	}
}

/* Advertisement Responsive Target Classes */
@media (max-width: 768px) {
	.show-desktop-only {
		display: none !important;
	}
}
@media (min-width: 769px) {
	.show-mobile-only {
		display: none !important;
	}
}
.promptsspot-ad-slot img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}

/* ==========================================================================
   NATIVE GRID ADVERTISEMENT CARD & DARK MODE ENHANCEMENTS
   ========================================================================== */

/* ── Native Grid Advertisement Card ─────────────────────────────────────── */
.prompt-card--native-ad,
.native-ad-card {
	display: inline-block;
	width: 100%;
	margin-bottom: 16px;
	break-inside: avoid;
	-webkit-column-break-inside: avoid;
	page-break-inside: avoid;
	position: relative;
	border-radius: 16px;
	border: 1.5px solid rgba(99, 102, 241, 0.25);
	background: linear-gradient(145deg, #ffffff, #f8fafc);
	box-shadow: 0 4px 20px -2px rgba(99, 102, 241, 0.08);
	transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
		box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
		border-color 0.25s ease;
	overflow: hidden;
	vertical-align: top;
	text-decoration: none;
}

body.dark-mode .prompt-card--native-ad,
[data-theme="dark"] .prompt-card--native-ad,
:root:not([data-theme="light"]) .prompt-card--native-ad,
body.dark-mode .native-ad-card,
[data-theme="dark"] .native-ad-card,
:root:not([data-theme="light"]) .native-ad-card {
	background: #12151c;
	border: 1px solid rgba(99, 102, 241, 0.32);
	box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.5), 0 2px 6px -1px rgba(0, 0, 0, 0.3);
}

.prompt-card--native-ad:hover,
.native-ad-card:hover {
	transform: translateY(-3px);
	border-color: rgba(99, 102, 241, 0.5);
	box-shadow: 0 12px 28px -4px rgba(99, 102, 241, 0.16), 0 4px 10px -2px rgba(15, 23, 42, 0.06);
}

body.dark-mode .prompt-card--native-ad:hover,
[data-theme="dark"] .prompt-card--native-ad:hover,
:root:not([data-theme="light"]) .prompt-card--native-ad:hover,
body.dark-mode .native-ad-card:hover,
[data-theme="dark"] .native-ad-card:hover,
:root:not([data-theme="light"]) .native-ad-card:hover {
	border-color: rgba(139, 92, 246, 0.55);
	box-shadow: 0 12px 32px -4px rgba(0, 0, 0, 0.65), 0 0 24px rgba(99, 102, 241, 0.22);
}

.native-ad-link {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	text-decoration: none;
	color: inherit;
	position: relative;
	background: transparent;
}

.native-ad-media-wrap {
	width: 100%;
	position: relative;
	overflow: hidden;
	background: #f1f5f9;
}

body.dark-mode .native-ad-media-wrap,
[data-theme="dark"] .native-ad-media-wrap,
:root:not([data-theme="light"]) .native-ad-media-wrap {
	background: rgba(15, 23, 42, 0.6);
}

.native-ad-img {
	width: 100%;
	height: auto;
	object-fit: cover;
	display: block;
	transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.prompt-card--native-ad:hover .native-ad-img,
.native-ad-card:hover .native-ad-img {
	transform: scale(1.03);
}

/* Floating SPONSORED Badge in Native Ad */
.promptsspot-native-floating-badge,
.native-ad-sponsored-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 5;
	font-size: 9.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 20px;
	background: rgba(15, 23, 42, 0.92);
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.2);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
	filter: none !important;
	-webkit-filter: none !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
	text-shadow: none !important;
}

/* Native Ad Titles & Typography in Dark & Light Modes */
.promptsspot-native-title,
.native-ad-title {
	font-size: 14.5px;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 8px;
	line-height: 1.35;
	text-shadow: none !important;
	filter: none !important;
	-webkit-filter: none !important;
	opacity: 1 !important;
}

body.dark-mode .promptsspot-native-title,
[data-theme="dark"] .promptsspot-native-title,
:root:not([data-theme="light"]) .promptsspot-native-title,
body.dark-mode .native-ad-title,
[data-theme="dark"] .native-ad-title,
:root:not([data-theme="light"]) .native-ad-title {
	color: #f8fafc;
	text-shadow: none !important;
}

.promptsspot-native-desc,
.native-ad-desc {
	font-size: 12.5px;
	color: #64748b;
	margin: 0 0 14px;
	line-height: 1.45;
	text-shadow: none !important;
	filter: none !important;
	-webkit-filter: none !important;
	opacity: 1 !important;
}

body.dark-mode .promptsspot-native-desc,
[data-theme="dark"] .promptsspot-native-desc,
:root:not([data-theme="light"]) .promptsspot-native-desc,
body.dark-mode .native-ad-desc,
[data-theme="dark"] .native-ad-desc,
:root:not([data-theme="light"]) .native-ad-desc {
	color: #94a3b8;
	text-shadow: none !important;
}

.promptsspot-native-cta-wrap {
	border-top: 1px solid rgba(226, 232, 240, 0.8);
}

body.dark-mode .promptsspot-native-cta-wrap,
[data-theme="dark"] .promptsspot-native-cta-wrap,
:root:not([data-theme="light"]) .promptsspot-native-cta-wrap {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.promptsspot-native-cta-btn {
	background: linear-gradient(135deg, #6366f1, #4f46e5);
	color: #ffffff !important;
	box-shadow: 0 2px 8px rgba(99, 102, 241, 0.28);
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.prompt-card--native-ad:hover .promptsspot-native-cta-btn {
	filter: brightness(1.08);
	box-shadow: 0 4px 14px rgba(99, 102, 241, 0.45);
	transform: translateY(-1px);
}

/* ── Ad Code / AdSense Card ──────────────────────────────────────────────── */
.prompt-card--ad-code {
	display: inline-block;
	width: 100%;
	margin-bottom: 16px;
	break-inside: avoid;
	-webkit-column-break-inside: avoid;
	page-break-inside: avoid;
	position: relative;
	border-radius: 16px;
	border: 1.5px solid rgba(226, 232, 240, 0.9);
	background: #ffffff;
	box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
	transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
		box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
		border-color 0.25s ease;
	overflow: hidden;
	vertical-align: top;
}

.prompt-card--ad-code:hover {
	transform: translateY(-3px);
	border-color: rgba(139, 92, 246, 0.4);
	box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.12);
}

body.dark-mode .prompt-card--ad-code,
[data-theme="dark"] .prompt-card--ad-code,
:root:not([data-theme="light"]) .prompt-card--ad-code {
	background: #12151c;
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.5);
}

body.dark-mode .prompt-card--ad-code:hover,
[data-theme="dark"] .prompt-card--ad-code:hover,
:root:not([data-theme="light"]) .prompt-card--ad-code:hover {
	border-color: rgba(139, 92, 246, 0.45);
	box-shadow: 0 12px 32px -4px rgba(0, 0, 0, 0.65), 0 0 20px rgba(139, 92, 246, 0.15);
}

/* ── Frontend Ad Header Labels ───────────────────────────────────────────── */
.promptsspot-ad-badge-sponsored {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 10.5px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #64748b;
	background: rgba(241, 245, 249, 0.9);
	border: 1px solid #e2e8f0;
	padding: 2px 8px;
	border-radius: 4px;
}

body.dark-mode .promptsspot-ad-badge-sponsored,
[data-theme="dark"] .promptsspot-ad-badge-sponsored,
:root:not([data-theme="light"]) .promptsspot-ad-badge-sponsored {
	color: #94a3b8;
	background: rgba(24, 28, 36, 0.9);
	border-color: rgba(255, 255, 255, 0.1);
}

.promptsspot-ad-title-label {
	font-size: 13px;
	font-weight: 700;
	color: #1e293b;
	line-height: 1.35;
	max-width: 90%;
	margin: 0 auto;
}

body.dark-mode .promptsspot-ad-title-label,
[data-theme="dark"] .promptsspot-ad-title-label,
:root:not([data-theme="light"]) .promptsspot-ad-title-label {
	color: #f1f5f9;
}

.no-more-prompts-msg {
	font-size: 0.9rem;
	color: var(--color-text-muted, #64748b);
	margin-top: 1rem;
	text-align: center;
}

/* ── Absolute Advertisement Sharpness & No-Blur Immunity ────────────────── */
.prompt-card--native-ad,
.prompt-card--ad-code,
.native-ad-card,
.promptsspot-grid-ad,
.promptsspot-ad-slot,
.promptsspot-native-title,
.promptsspot-native-desc,
.promptsspot-native-cta-wrap,
.promptsspot-native-cta-btn,
.promptsspot-ad-title-label,
.promptsspot-ad-badge-sponsored,
.promptsspot-native-floating-badge {
	filter: none !important;
	-webkit-filter: none !important;
	opacity: 1 !important;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

.prompt-card--native-ad *,
.prompt-card--ad-code *,
.native-ad-card * {
	filter: none;
	opacity: 1;
}

/* Prevent any prompt card hover overlay or backdrop filter from affecting ad cards */
.prompt-card--native-ad .prompt-card-hover-overlay,
.prompt-card--ad-code .prompt-card-hover-overlay {
	display: none !important;
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

/* Footer Advertisement Slot Seamless Spacing */
.promptsspot-ad-slot.promptsspot-ad-footer {
	margin: 1.5rem auto 0 auto !important;
	padding: 0 !important;
}

.promptsspot-ad-slot.promptsspot-ad-footer + .site-footer {
	margin-top: 1.5rem !important;
}

/* Ensure advertisement text and action links meet WCAG AA contrast */
.promptsspot-ad-slot a {
	color: #ffffff !important;
	text-decoration: none;
}
.promptsspot-ad-slot span[style*="color: #818cf8"] {
	color: #a5b4fc !important;
}

/* ==========================================================================
   BLOG ARCHIVE, ARTICLE CARDS & SINGLE POST STYLING
   ========================================================================== */

/* ── Blog Archive Header ─────────────────────────────────────────────────── */
.blog-archive-main {
	margin-top: 1.25rem;
	margin-bottom: 2.75rem;
	min-height: 50vh;
}

.blog-archive-main .container,
.blog-archive-header.container,
.blog-featured-section.container,
.blog-archive-main > .container {
	max-width: 1080px;
	margin-left: auto;
	margin-right: auto;
}

.blog-archive-header {
	margin-bottom: 1.5rem;
	text-align: center;
}

.blog-header-content {
	max-width: 680px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.blog-header-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 12px;
	border-radius: 9999px;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #6d28d9;
	background: rgba(109, 40, 217, 0.08);
	border: 1px solid rgba(109, 40, 217, 0.25);
}

[data-theme="dark"] .blog-header-badge,
body.dark-mode .blog-header-badge {
	color: #c4b5fd;
	background: rgba(139, 92, 246, 0.15);
	border-color: rgba(139, 92, 246, 0.35);
}

.blog-header-badge .badge-dot {
	color: #d97706;
	font-size: 0.85rem;
}

.blog-archive-title {
	font-size: 2.1rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	margin: 0;
	color: var(--color-text-primary, #0f172a);
	line-height: 1.2;
}

body.dark-mode .blog-archive-title,
[data-theme="dark"] .blog-archive-title,
:root:not([data-theme="light"]) .blog-archive-title {
	color: #f8fafc;
}

.blog-archive-subtitle {
	font-size: 0.95rem;
	color: var(--color-text-secondary, #64748b);
	margin: 0;
	line-height: 1.55;
	max-width: 580px;
}

body.dark-mode .blog-archive-subtitle,
[data-theme="dark"] .blog-archive-subtitle,
:root:not([data-theme="light"]) .blog-archive-subtitle {
	color: #94a3b8;
}

/* ── 2. FEATURED ARTICLE SECTION ─────────────────────────────────────────── */
.blog-featured-section {
	margin-bottom: 2.25rem;
	width: 100%;
}

.blog-featured-card {
	display: grid;
	grid-template-columns: 44% 56%;
	align-items: stretch;
	width: 100%;
	max-width: 1080px;
	margin: 0 auto;
	border-radius: 18px;
	overflow: hidden;
	background: #ffffff;
	border: 1px solid rgba(226, 232, 240, 0.85);
	box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.06);
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
		box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
		border-color 0.25s ease;
}

body.dark-mode .blog-featured-card,
[data-theme="dark"] .blog-featured-card,
:root:not([data-theme="light"]) .blog-featured-card {
	background: #12151c;
	border-color: rgba(255, 255, 255, 0.08);
	box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
}

.blog-featured-card:hover {
	transform: translateY(-3px);
	border-color: rgba(139, 92, 246, 0.45);
	box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.1), 0 0 20px rgba(139, 92, 246, 0.1);
}

body.dark-mode .blog-featured-card:hover,
[data-theme="dark"] .blog-featured-card:hover,
:root:not([data-theme="light"]) .blog-featured-card:hover {
	box-shadow: 0 18px 38px -6px rgba(0, 0, 0, 0.65), 0 0 24px rgba(139, 92, 246, 0.18);
}

/* Featured Media (Left) */
.blog-featured-media {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 250px;
	max-height: 300px;
	background: #0f172a;
	overflow: hidden;
	border-radius: 0;
	margin: 0;
	padding: 0;
}

.blog-featured-img-link {
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.blog-featured-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-featured-card:hover .blog-featured-img {
	transform: scale(1.035);
}

.blog-featured-fallback {
	width: 100%;
	height: 100%;
}

.blog-featured-media-badges {
	position: absolute;
	bottom: 12px;
	left: 12px;
	display: flex;
	gap: 6px;
	z-index: 3;
}

.blog-featured-media-badges .blog-card-category-badge {
	position: static;
}

.blog-featured-media-badges .blog-read-badge {
	background: rgba(15, 23, 42, 0.78);
}

/* Featured Content (Right) */
.blog-featured-content {
	width: 100%;
	min-width: 0;
	padding: 24px 28px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 10px;
	box-sizing: border-box;
}

.blog-featured-tag-wrap {
	display: flex;
	align-items: center;
}

.blog-featured-pill {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px 10px;
	border-radius: 9999px;
	font-size: 0.675rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #6d28d9;
	background: rgba(109, 40, 217, 0.08);
	border: 1px solid rgba(109, 40, 217, 0.25);
}

[data-theme="dark"] .blog-featured-pill,
body.dark-mode .blog-featured-pill {
	color: #c4b5fd;
	background: rgba(139, 92, 246, 0.15);
	border-color: rgba(139, 92, 246, 0.35);
}

.blog-featured-pill .pill-sparkle {
	color: #d97706;
	font-size: 0.75rem;
}

.blog-featured-title {
	font-size: 1.4rem;
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.3;
	margin: 0;
	color: var(--color-text-primary, #0f172a);
}

body.dark-mode .blog-featured-title,
[data-theme="dark"] .blog-featured-title,
:root:not([data-theme="light"]) .blog-featured-title {
	color: #f8fafc;
}

.blog-featured-title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.blog-featured-title a:hover {
	color: var(--color-brand-accent, #8b5cf6);
}

.blog-featured-excerpt {
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--color-text-secondary, #64748b);
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

body.dark-mode .blog-featured-excerpt,
[data-theme="dark"] .blog-featured-excerpt,
:root:not([data-theme="light"]) .blog-featured-excerpt {
	color: #94a3b8;
}

/* Featured Footer */
.blog-featured-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 14px;
	border-top: 1px solid rgba(226, 232, 240, 0.8);
	margin-top: 2px;
}

body.dark-mode .blog-featured-footer,
[data-theme="dark"] .blog-featured-footer,
:root:not([data-theme="light"]) .blog-featured-footer {
	border-top-color: rgba(255, 255, 255, 0.08);
}

.blog-featured-author-meta {
	display: flex;
	align-items: center;
	gap: 10px;
}

.blog-featured-avatar .author-avatar-img {
	width: 38px;
	height: 38px;
}

.blog-featured-author-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	line-height: 1.25;
}

.blog-featured-by {
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--color-text-primary, #0f172a);
}

body.dark-mode .blog-featured-by,
[data-theme="dark"] .blog-featured-by,
:root:not([data-theme="light"]) .blog-featured-by {
	color: #f8fafc;
}

.blog-featured-date {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 0.775rem;
	color: var(--color-text-muted, #64748b);
	font-weight: 500;
}

body.dark-mode .blog-featured-date,
[data-theme="dark"] .blog-featured-date,
:root:not([data-theme="light"]) .blog-featured-date {
	color: #94a3b8;
}

.btn-blog-featured-read {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 18px;
	border-radius: 9999px;
	font-size: 0.825rem;
	font-weight: 700;
	color: #ffffff;
	background: linear-gradient(135deg, #6366f1, #8b5cf6);
	box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
	text-decoration: none;
	transition: all 0.25s ease;
	flex-shrink: 0;
}

.btn-blog-featured-read:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(99, 102, 241, 0.45);
	color: #ffffff;
}

/* ── 3. SECTION HEADER ROW & CATEGORY FILTERS ────────────────────────────── */
.blog-section-header-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 1.25rem;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

body.dark-mode .blog-section-header-row,
[data-theme="dark"] .blog-section-header-row,
:root:not([data-theme="light"]) .blog-section-header-row {
	border-bottom-color: rgba(255, 255, 255, 0.08);
}

.blog-section-heading-wrap {
	display: flex;
	align-items: baseline;
	gap: 8px;
}

.blog-section-title {
	font-size: 1.25rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	margin: 0;
	color: var(--color-text-primary, #0f172a);
}

body.dark-mode .blog-section-title,
[data-theme="dark"] .blog-section-title,
:root:not([data-theme="light"]) .blog-section-title {
	color: #f8fafc;
}

.blog-section-count {
	font-size: 0.775rem;
	font-weight: 600;
	color: var(--color-text-muted, #64748b);
	padding: 2px 8px;
	background: rgba(148, 163, 184, 0.12);
	border-radius: 12px;
}

body.dark-mode .blog-section-count,
[data-theme="dark"] .blog-section-count,
:root:not([data-theme="light"]) .blog-section-count {
	color: #94a3b8;
	background: rgba(255, 255, 255, 0.06);
}

.blog-category-filter-nav {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

.blog-cat-filter-btn {
	display: inline-flex;
	align-items: center;
	padding: 4px 12px;
	border-radius: 9999px;
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--color-text-secondary, #64748b);
	background: #ffffff;
	border: 1px solid rgba(226, 232, 240, 0.85);
	text-decoration: none;
	transition: all 0.2s ease;
}

body.dark-mode .blog-cat-filter-btn,
[data-theme="dark"] .blog-cat-filter-btn,
:root:not([data-theme="light"]) .blog-cat-filter-btn {
	background: #181c24;
	border-color: rgba(255, 255, 255, 0.08);
	color: #94a3b8;
}

.blog-cat-filter-btn:hover {
	color: var(--color-brand-accent, #8b5cf6);
	border-color: rgba(139, 92, 246, 0.4);
}

.blog-cat-filter-btn.active {
	background: linear-gradient(135deg, #6366f1, #8b5cf6);
	color: #ffffff !important;
	border-color: transparent;
	box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.blog-single-featured-note {
	padding: 1.75rem 1.25rem;
	text-align: center;
	border-radius: 14px;
	background: rgba(139, 92, 246, 0.05);
	border: 1px dashed rgba(139, 92, 246, 0.25);
	color: var(--color-text-secondary, #94a3b8);
	font-size: 0.9rem;
	margin-top: 0.5rem;
}

/* ── Blog Grid Layout ────────────────────────────────────────────────────── */
.blog-posts-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	width: 100%;
}

/* ── Tablet Breakpoint (769px–1024px) ─────────────────────────────────────── */
@media (max-width: 1024px) and (min-width: 769px) {
	.blog-featured-card {
		grid-template-columns: 42% 58%;
	}
	.blog-featured-media {
		min-height: 230px;
		max-height: 280px;
	}
	.blog-featured-content {
		padding: 20px 22px;
		gap: 10px;
	}
	.blog-featured-title {
		font-size: 1.25rem;
	}
	.blog-posts-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px;
	}
}

/* ── Mobile Breakpoint (max-width: 768px) ────────────────────────────────── */
@media (max-width: 768px) {
	.blog-archive-main {
		margin-top: 1.25rem;
		margin-bottom: 2.5rem;
	}
	.blog-archive-header {
		margin-bottom: 1.5rem;
	}
	.blog-archive-title {
		font-size: 1.75rem;
	}
	.blog-archive-subtitle {
		font-size: 0.925rem;
	}
	.blog-featured-section {
		margin-bottom: 2rem;
		padding: 0 12px;
		box-sizing: border-box;
	}
	.blog-featured-card {
		display: flex;
		flex-direction: column;
		width: 100%;
		max-width: 100%;
		margin: 0 auto;
		border-radius: 16px;
	}
	.blog-featured-media {
		width: 100%;
		height: auto;
		min-height: unset;
		max-height: none;
		aspect-ratio: 16 / 9;
	}
	.blog-featured-content {
		padding: 18px 16px;
		gap: 12px;
	}
	.blog-featured-title {
		font-size: 1.25rem;
	}
	.blog-featured-excerpt {
		font-size: 0.875rem;
		-webkit-line-clamp: 2;
		line-clamp: 2;
	}
	.blog-featured-footer {
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		padding-top: 14px;
	}
	.blog-featured-author-meta {
		flex: 1 1 auto;
		min-width: 0;
	}
	.btn-blog-featured-read {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 6px;
		width: 128px !important;
		min-width: 128px;
		max-width: 128px;
		height: 40px;
		padding: 0 12px;
		font-size: 0.8125rem;
		font-weight: 700;
		flex: 0 0 auto;
		box-sizing: border-box;
		align-self: auto;
	}
	.blog-posts-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}
}

/* ── Blog Article Card ───────────────────────────────────────────────────── */
.blog-card {
	display: flex;
	flex-direction: column;
	border-radius: 14px;
	overflow: hidden;
	background: #ffffff;
	border: 1px solid rgba(226, 232, 240, 0.85);
	box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05);
	transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
		box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
		border-color 0.25s ease;
	height: 100%;
}

body.dark-mode .blog-card,
[data-theme="dark"] .blog-card,
:root:not([data-theme="light"]) .blog-card {
	background: #12151c;
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 0 4px 18px -2px rgba(0, 0, 0, 0.45), 0 2px 6px -1px rgba(0, 0, 0, 0.3);
}

.blog-card:hover {
	transform: translateY(-3px);
	border-color: rgba(139, 92, 246, 0.45);
	box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.1), 0 0 18px rgba(139, 92, 246, 0.08);
}

body.dark-mode .blog-card:hover,
[data-theme="dark"] .blog-card:hover,
:root:not([data-theme="light"]) .blog-card:hover {
	border-color: rgba(139, 92, 246, 0.5);
	box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.6), 0 0 20px rgba(139, 92, 246, 0.16);
}

/* Card Media / Thumbnail */
.blog-card-media-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #0f172a;
	overflow: hidden;
}

.blog-card-img-link {
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.blog-card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-card-img {
	transform: scale(1.04);
}

/* Fallback Image with Rich Theme Visual */
.blog-card-fallback-img {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
	position: relative;
	overflow: hidden;
}

.blog-card-fallback-pattern {
	position: absolute;
	inset: 0;
	opacity: 0.12;
	background-image: radial-gradient(rgba(255, 255, 255, 0.8) 1px, transparent 1px);
	background-size: 16px 16px;
}

.blog-card-fallback-icon {
	position: relative;
	z-index: 1;
	color: rgba(255, 255, 255, 0.4);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.3s ease, color 0.3s ease;
}

.blog-card:hover .blog-card-fallback-icon {
	transform: scale(1.08);
	color: rgba(255, 255, 255, 0.65);
}

/* Category Badge on Card */
.blog-card-category-badge {
	display: inline-flex;
	align-items: center;
	padding: 3px 9px;
	border-radius: 9999px;
	font-size: 0.65rem;
	font-weight: 800;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: #ffffff;
	background: rgba(99, 102, 241, 0.88);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 3;
}

.blog-card-category-badge.badge-teal {
	background: rgba(13, 148, 136, 0.88);
}

.blog-card-category-badge.badge-amber {
	background: rgba(217, 119, 6, 0.88);
}

.blog-card-category-badge.badge-rose {
	background: rgba(225, 29, 72, 0.88);
}

/* Card Body */
.blog-card-body {
	padding: 16px 18px;
	display: flex;
	flex-direction: column;
	flex: 1;
	justify-content: space-between;
	gap: 10px;
}

.blog-card-title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.36;
	letter-spacing: -0.015em;
	color: var(--color-text-primary, #0f172a);
}

body.dark-mode .blog-card-title,
[data-theme="dark"] .blog-card-title,
:root:not([data-theme="light"]) .blog-card-title {
	color: #f8fafc;
}

.blog-card-title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.blog-card-title a:hover {
	color: var(--color-brand-accent, #8b5cf6);
}

.blog-card-excerpt {
	margin: 0;
	font-size: 0.825rem;
	line-height: 1.5;
	color: var(--color-text-secondary, #64748b);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

body.dark-mode .blog-card-excerpt,
[data-theme="dark"] .blog-card-excerpt,
:root:not([data-theme="light"]) .blog-card-excerpt {
	color: #94a3b8;
}

/* Card Footer */
.blog-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding-top: 12px;
	border-top: 1px solid rgba(226, 232, 240, 0.8);
	margin-top: auto;
}

body.dark-mode .blog-card-footer,
[data-theme="dark"] .blog-card-footer,
:root:not([data-theme="light"]) .blog-card-footer {
	border-top-color: rgba(255, 255, 255, 0.08);
}

.blog-card-meta {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 0.775rem;
	color: var(--color-text-muted, #64748b);
	font-weight: 500;
}

body.dark-mode .blog-card-meta,
[data-theme="dark"] .blog-card-meta,
:root:not([data-theme="light"]) .blog-card-meta {
	color: #94a3b8;
}

.blog-card-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.blog-card-meta-sep {
	opacity: 0.5;
}

.blog-card-read-more {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--color-brand-accent, #6366f1);
	text-decoration: none;
	transition: gap 0.2s ease, color 0.2s ease;
	flex-shrink: 0;
}

body.dark-mode .blog-card-read-more,
[data-theme="dark"] .blog-card-read-more,
:root:not([data-theme="light"]) .blog-card-read-more {
	color: #a78bfa;
}

.blog-card:hover .blog-card-read-more {
	gap: 7px;
	color: var(--color-brand-hover, #4f46e5);
}

body.dark-mode .blog-card:hover .blog-card-read-more,
[data-theme="dark"] .blog-card:hover .blog-card-read-more,
:root:not([data-theme="light"]) .blog-card:hover .blog-card-read-more {
	color: #c4b5fd;
}

/* ── Blog Pagination ─────────────────────────────────────────────────────── */
.blog-pagination-wrapper {
	margin: 3.5rem 0 1rem;
	display: flex;
	justify-content: center;
	width: 100%;
}

.blog-pagination-wrapper .nav-links {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	list-style: none;
	padding: 6px;
	border-radius: 9999px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

body.dark-mode .blog-pagination-wrapper .nav-links,
[data-theme="dark"] .blog-pagination-wrapper .nav-links,
:root:not([data-theme="light"]) .blog-pagination-wrapper .nav-links {
	background: #181c24;
	border-color: rgba(255, 255, 255, 0.1);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.blog-pagination-wrapper .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	border-radius: 9999px;
	font-size: 0.875rem;
	font-weight: 600;
	color: #64748b;
	text-decoration: none;
	transition: all 0.2s ease;
}

body.dark-mode .blog-pagination-wrapper .page-numbers,
[data-theme="dark"] .blog-pagination-wrapper .page-numbers,
:root:not([data-theme="light"]) .blog-pagination-wrapper .page-numbers {
	color: #94a3b8;
}

.blog-pagination-wrapper .page-numbers:hover {
	color: #0f172a;
	background: #f1f5f9;
}

body.dark-mode .blog-pagination-wrapper .page-numbers:hover,
[data-theme="dark"] .blog-pagination-wrapper .page-numbers:hover,
:root:not([data-theme="light"]) .blog-pagination-wrapper .page-numbers:hover {
	color: #ffffff;
	background: rgba(255, 255, 255, 0.08);
}

.blog-pagination-wrapper .page-numbers.current {
	background: linear-gradient(135deg, #6366f1, #8b5cf6);
	color: #ffffff !important;
	box-shadow: 0 2px 8px rgba(99, 102, 241, 0.35);
}

/* ── Blog Empty State ────────────────────────────────────────────────────── */
.blog-empty-state {
	text-align: center;
	padding: 4rem 2rem;
	max-width: 540px;
	margin: 2rem auto;
	border-radius: 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}

.blog-empty-icon {
	font-size: 3rem;
	line-height: 1;
}

.blog-empty-title {
	font-size: 1.35rem;
	font-weight: 700;
	margin: 0;
	color: var(--color-text-primary, #f8fafc);
}

.blog-empty-desc {
	font-size: 0.925rem;
	color: var(--color-text-secondary, #94a3b8);
	margin: 0 0 10px;
	line-height: 1.6;
}

/* ==========================================================================
   SINGLE ARTICLE PAGE STYLING
   ========================================================================== */

.single-article-main {
	margin-top: 1.5rem;
	margin-bottom: 5rem;
}

.single-article-container {
	max-width: 880px;
	margin: 0 auto;
}

.single-article-top-nav {
	margin-bottom: 1.5rem;
}

.single-article-back-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--color-text-secondary, #94a3b8);
	text-decoration: none;
	transition: color 0.2s ease, transform 0.2s ease;
}

.single-article-back-link:hover {
	color: var(--color-brand-accent, #8b5cf6);
	transform: translateX(-3px);
}

/* Header */
.single-article-header {
	margin-bottom: 2rem;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.single-article-cat-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 0.725rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--color-brand-accent, #8b5cf6);
	background: rgba(139, 92, 246, 0.1);
	border: 1px solid rgba(139, 92, 246, 0.25);
	align-self: flex-start;
}

.single-article-cat-badge .badge-dot {
	color: #fbbf24;
}

.single-article-title {
	font-size: 2.6rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.25;
	color: var(--color-text-primary, #0f172a);
	margin: 0;
}

body.dark-mode .single-article-title,
[data-theme="dark"] .single-article-title,
:root:not([data-theme="light"]) .single-article-title {
	color: #f8fafc;
}

@media (max-width: 768px) {
	.single-article-title {
		font-size: 1.85rem;
	}
}

/* Meta Bar */
.single-article-meta-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	padding-top: 14px;
	border-top: 1px solid rgba(226, 232, 240, 0.8);
}

body.dark-mode .single-article-meta-bar,
[data-theme="dark"] .single-article-meta-bar,
:root:not([data-theme="light"]) .single-article-meta-bar {
	border-top-color: rgba(255, 255, 255, 0.08);
}

.single-article-author-info {
	display: flex;
	align-items: center;
	gap: 10px;
}

.author-avatar-img {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid rgba(139, 92, 246, 0.3);
}

.single-article-author-text {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
}

.author-label {
	font-size: 0.725rem;
	color: var(--color-text-muted, #64748b);
	font-weight: 500;
}

.author-name {
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--color-text-primary, #0f172a);
}

body.dark-mode .author-name,
[data-theme="dark"] .author-name,
:root:not([data-theme="light"]) .author-name {
	color: #f8fafc;
}

.single-article-meta-details {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.825rem;
	color: var(--color-text-muted, #64748b);
	font-weight: 500;
}

body.dark-mode .single-article-meta-details,
[data-theme="dark"] .single-article-meta-details,
:root:not([data-theme="light"]) .single-article-meta-details {
	color: #94a3b8;
}

.meta-item {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.meta-sep {
	opacity: 0.5;
}

/* Featured Media */
.single-article-featured-media {
	margin-bottom: 2.5rem;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.25);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.single-article-featured-img {
	width: 100%;
	height: auto;
	max-height: 480px;
	object-fit: cover;
	display: block;
}

/* Article Body Card */
.single-article-body {
	padding: 2.75rem 3rem;
	border-radius: 20px;
	margin-bottom: 4rem;
	background: #ffffff;
	border: 1px solid rgba(226, 232, 240, 0.85);
	box-shadow: 0 4px 25px rgba(15, 23, 42, 0.04);
}

body.dark-mode .single-article-body,
[data-theme="dark"] .single-article-body,
:root:not([data-theme="light"]) .single-article-body {
	background: #12151c;
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
	.single-article-body {
		padding: 1.5rem 1.25rem;
		border-radius: 16px;
	}
}

/* Typography & Gutenberg Blocks Content */
.single-article-content {
	font-size: 1.05rem;
	line-height: 1.8;
	color: var(--color-text-primary, #1e293b);
}

body.dark-mode .single-article-content,
[data-theme="dark"] .single-article-content,
:root:not([data-theme="light"]) .single-article-content {
	color: #e2e8f0;
}

.single-article-content p {
	margin-bottom: 1.6rem;
}

.single-article-content h2,
.single-article-content h3,
.single-article-content h4,
.single-article-content h5,
.single-article-content h6 {
	color: var(--color-text-primary, #0f172a);
	font-weight: 700;
	letter-spacing: -0.02em;
	margin-top: 2.25rem;
	margin-bottom: 1rem;
	line-height: 1.35;
}

body.dark-mode .single-article-content h2,
body.dark-mode .single-article-content h3,
body.dark-mode .single-article-content h4,
[data-theme="dark"] .single-article-content h2,
[data-theme="dark"] .single-article-content h3,
[data-theme="dark"] .single-article-content h4,
:root:not([data-theme="light"]) .single-article-content h2,
:root:not([data-theme="light"]) .single-article-content h3,
:root:not([data-theme="light"]) .single-article-content h4 {
	color: #f8fafc;
}

.single-article-content h2 {
	font-size: 1.75rem;
	padding-bottom: 8px;
	border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

body.dark-mode .single-article-content h2,
[data-theme="dark"] .single-article-content h2,
:root:not([data-theme="light"]) .single-article-content h2 {
	border-bottom-color: rgba(255, 255, 255, 0.08);
}

.single-article-content h3 {
	font-size: 1.4rem;
}

.single-article-content ul,
.single-article-content ol {
	margin-bottom: 1.6rem;
	padding-left: 1.75rem;
}

.single-article-content li {
	margin-bottom: 0.6rem;
}

.single-article-content a {
	color: var(--color-brand-accent, #6366f1);
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color 0.2s ease;
}

body.dark-mode .single-article-content a,
[data-theme="dark"] .single-article-content a,
:root:not([data-theme="light"]) .single-article-content a {
	color: #a78bfa;
}

.single-article-content a:hover {
	color: var(--color-brand-hover, #4f46e5);
}

.single-article-content blockquote {
	margin: 2rem 0;
	padding: 1.25rem 1.5rem;
	border-left: 4px solid var(--color-brand-accent, #8b5cf6);
	background: rgba(139, 92, 246, 0.06);
	border-radius: 0 12px 12px 0;
	font-style: italic;
	color: var(--color-text-primary, #0f172a);
}

body.dark-mode .single-article-content blockquote,
[data-theme="dark"] .single-article-content blockquote,
:root:not([data-theme="light"]) .single-article-content blockquote {
	color: #f1f5f9;
	background: rgba(139, 92, 246, 0.1);
}

.single-article-content img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
	margin: 1.5rem 0;
}

.single-article-content figure {
	margin: 2rem 0;
}

.single-article-content figcaption {
	font-size: 0.825rem;
	color: var(--color-text-muted, #64748b);
	text-align: center;
	margin-top: 6px;
}

.single-article-content pre {
	background: #0f172a;
	color: #38bdf8;
	padding: 1.25rem;
	border-radius: 12px;
	overflow-x: auto;
	font-size: 0.9rem;
	line-height: 1.6;
	margin: 1.75rem 0;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.single-article-content code {
	font-family: monospace;
	font-size: 0.9em;
	padding: 2px 6px;
	border-radius: 6px;
	background: rgba(139, 92, 246, 0.1);
	color: var(--color-brand-accent, #8b5cf6);
}

/* Tags in Single Post */
.single-article-tags-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	padding-top: 1.5rem;
	margin-top: 2rem;
	border-top: 1px solid rgba(226, 232, 240, 0.8);
}

body.dark-mode .single-article-tags-wrap,
[data-theme="dark"] .single-article-tags-wrap,
:root:not([data-theme="light"]) .single-article-tags-wrap {
	border-top-color: rgba(255, 255, 255, 0.08);
}

.tags-title {
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--color-text-muted, #64748b);
}

.tags-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.article-tag-pill {
	font-size: 0.775rem;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 6px;
	background: #f1f5f9;
	color: #475569;
}

body.dark-mode .article-tag-pill,
[data-theme="dark"] .article-tag-pill,
:root:not([data-theme="light"]) .article-tag-pill {
	background: #181c24;
	color: #94a3b8;
}

/* ── Related Blog Posts Section ──────────────────────────────────────────── */
.single-article-related-section {
	margin-top: 4rem;
	padding-top: 2.5rem;
	border-top: 1px solid rgba(226, 232, 240, 0.8);
}

body.dark-mode .single-article-related-section,
[data-theme="dark"] .single-article-related-section,
:root:not([data-theme="light"]) .single-article-related-section {
	border-top-color: rgba(255, 255, 255, 0.08);
}

.related-section-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: 2rem;
	gap: 16px;
}

.related-header-left {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.related-eyebrow {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--color-brand-accent, #8b5cf6);
}

.related-title {
	font-size: 1.65rem;
	font-weight: 800;
	margin: 0;
	color: var(--color-text-primary, #0f172a);
}

body.dark-mode .related-title,
[data-theme="dark"] .related-title,
:root:not([data-theme="light"]) .related-title {
	color: #f8fafc;
}

.related-view-all {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--color-brand-accent, #6366f1);
	text-decoration: none;
	transition: gap 0.2s ease, color 0.2s ease;
	flex-shrink: 0;
}

body.dark-mode .related-view-all,
[data-theme="dark"] .related-view-all,
:root:not([data-theme="light"]) .related-view-all {
	color: #a78bfa;
}

.related-view-all:hover {
	gap: 8px;
	color: var(--color-brand-hover, #4f46e5);
}

body.dark-mode .related-view-all:hover,
[data-theme="dark"] .related-view-all:hover,
:root:not([data-theme="light"]) .related-view-all:hover {
	color: #c4b5fd;
}

/* ── Blog Article Action Bar (Directly below Featured Image) ─────────────── */
.single-article-featured-media {
	margin-bottom: 0.85rem;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.25);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Featured Image Credit */
.single-article-image-credit {
	margin: -0.35rem 0 0.85rem 0;
	padding: 0 4px;
	font-size: 0.8125rem;
	line-height: 1.4;
	color: #64748b;
	text-align: right;
	font-style: italic;
}

body.dark-mode .single-article-image-credit,
[data-theme="dark"] .single-article-image-credit,
:root:not([data-theme="light"]) .single-article-image-credit {
	color: #94a3b8;
}

.single-article-image-credit .image-credit-link {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color 0.15s ease;
}

.single-article-image-credit .image-credit-link:hover {
	color: var(--color-primary, #6366f1);
}

.article-action-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 20px;
	border-radius: 14px;
	margin: 0 auto 2rem;
	width: 100%;
	background: #ffffff;
	border: 1px solid rgba(226, 232, 240, 0.85);
	box-shadow: 0 2px 12px -2px rgba(15, 23, 42, 0.04);
	box-sizing: border-box;
}

body.dark-mode .article-action-bar,
[data-theme="dark"] .article-action-bar,
:root:not([data-theme="light"]) .article-action-bar {
	background: #12151c;
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.45);
}

.article-action-left,
.article-action-right {
	display: flex;
	align-items: center;
	position: relative;
}

/* Action Buttons (Like & Share) */
.article-action-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 18px;
	border-radius: 9999px;
	font-size: 0.875rem;
	font-weight: 600;
	font-family: 'Inter', system-ui, sans-serif;
	cursor: pointer;
	user-select: none;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	color: #334155;
	transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: 0 1px 4px rgba(15, 23, 42, 0.03);
	outline: none;
}

.article-action-btn:focus-visible {
	outline: 2px solid var(--color-brand-accent, #8b5cf6);
	outline-offset: 2px;
}

body.dark-mode .article-action-btn,
[data-theme="dark"] .article-action-btn,
:root:not([data-theme="light"]) .article-action-btn {
	background: #181c24;
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: #f1f5f9;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.article-action-btn:hover {
	transform: translateY(-2px);
	border-color: rgba(99, 102, 241, 0.4);
	color: #6366f1;
	box-shadow: 0 4px 12px -2px rgba(99, 102, 241, 0.18);
}

body.dark-mode .article-action-btn:hover,
[data-theme="dark"] .article-action-btn:hover,
:root:not([data-theme="light"]) .article-action-btn:hover {
	border-color: rgba(139, 92, 246, 0.5);
	color: #c4b5fd;
	box-shadow: 0 4px 14px -2px rgba(0, 0, 0, 0.5), 0 0 12px rgba(139, 92, 246, 0.2);
}

/* Like Button Active State */
.article-action-btn.btn-article-like.is-liked {
	background: rgba(99, 102, 241, 0.12);
	border-color: rgba(99, 102, 241, 0.5);
	color: #6366f1;
}

.article-action-btn.btn-article-like.is-liked .article-like-icon {
	fill: currentColor;
	stroke: currentColor;
}

body.dark-mode .article-action-btn.btn-article-like.is-liked,
[data-theme="dark"] .article-action-btn.btn-article-like.is-liked,
:root:not([data-theme="light"]) .article-action-btn.btn-article-like.is-liked {
	background: rgba(139, 92, 246, 0.22);
	border-color: rgba(139, 92, 246, 0.65);
	color: #a78bfa;
}

.article-like-count {
	font-size: 0.775rem;
	font-weight: 700;
	padding: 2px 7px;
	border-radius: 9999px;
	background: rgba(0, 0, 0, 0.06);
	line-height: 1.2;
}

body.dark-mode .article-like-count,
[data-theme="dark"] .article-like-count,
:root:not([data-theme="light"]) .article-like-count {
	background: rgba(255, 255, 255, 0.1);
}

/* Share Button Toast (Copy Feedback) */
.article-share-toast {
	position: absolute;
	right: 0;
	top: -42px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	border-radius: 8px;
	font-size: 0.75rem;
	font-weight: 700;
	background: #10b981;
	color: #ffffff;
	box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
	pointer-events: none;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
	white-space: nowrap;
	z-index: 20;
}

.article-share-toast.is-visible {
	opacity: 1;
	transform: translateY(0);
}

@media (max-width: 640px) {
	.article-action-bar {
		padding: 10px 14px;
		margin-bottom: 1.5rem;
	}
	.article-action-btn {
		padding: 7px 13px;
		font-size: 0.8125rem;
	}
}

/* ==========================================================================
   AI TOOLS FRONTEND HUB & CARDS STYLING
   ========================================================================== */

.ai-tools-page-main {
	margin-top: 2rem;
	margin-bottom: 5rem;
	min-height: 60vh;
}

.ai-tools-header {
	margin-bottom: 2.5rem;
	text-align: center;
}

.ai-tools-header-content {
	max-width: 720px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.ai-tools-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 14px;
	border-radius: 9999px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--color-brand-accent, #8b5cf6);
	background: rgba(139, 92, 246, 0.1);
	border: 1px solid rgba(139, 92, 246, 0.25);
}

.ai-tools-title {
	font-size: 2.5rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	margin: 0;
	color: var(--color-text-primary, #f8fafc);
	line-height: 1.2;
}

.ai-tools-subtitle {
	font-size: 1.05rem;
	color: var(--color-text-secondary, #94a3b8);
	margin: 0;
	line-height: 1.6;
}

/* ── AI Tools Grid ───────────────────────────────────────────────────────── */
.ai-tools-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 24px;
	width: 100%;
}

@media (max-width: 640px) {
	.ai-tools-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	.ai-tools-title {
		font-size: 1.85rem;
	}
}

/* ── AI Tool Card ────────────────────────────────────────────────────────── */
.ai-tool-card {
	display: flex;
	flex-direction: column;
	padding: 28px 24px;
	border-radius: 18px;
	background: #ffffff;
	border: 1px solid rgba(226, 232, 240, 0.85);
	box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
	transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
		box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
		border-color 0.25s ease;
	gap: 16px;
	position: relative;
}

body.dark-mode .ai-tool-card,
[data-theme="dark"] .ai-tool-card,
:root:not([data-theme="light"]) .ai-tool-card {
	background: #12151c;
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.45);
}

.ai-tool-card:hover {
	transform: translateY(-4px);
	border-color: rgba(139, 92, 246, 0.45);
	box-shadow: 0 14px 32px -4px rgba(15, 23, 42, 0.12), 0 0 20px rgba(139, 92, 246, 0.1);
}

body.dark-mode .ai-tool-card:hover,
[data-theme="dark"] .ai-tool-card:hover,
:root:not([data-theme="light"]) .ai-tool-card:hover {
	border-color: rgba(139, 92, 246, 0.5);
	box-shadow: 0 14px 36px -4px rgba(0, 0, 0, 0.65), 0 0 22px rgba(139, 92, 246, 0.18);
}

.ai-tool-card-icon-wrap {
	width: 58px;
	height: 58px;
	border-radius: 14px;
	background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.12));
	border: 1px solid rgba(139, 92, 246, 0.25);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	color: var(--color-brand-accent, #8b5cf6);
	flex-shrink: 0;
}

.ai-tool-card-icon-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 8px;
}

.ai-tool-card-body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

.ai-tool-card-title {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--color-text-primary, #0f172a);
}

body.dark-mode .ai-tool-card-title,
[data-theme="dark"] .ai-tool-card-title,
:root:not([data-theme="light"]) .ai-tool-card-title {
	color: #f8fafc;
}

.ai-tool-card-desc {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.6;
	color: var(--color-text-secondary, #64748b);
}

body.dark-mode .ai-tool-card-desc,
[data-theme="dark"] .ai-tool-card-desc,
:root:not([data-theme="light"]) .ai-tool-card-desc {
	color: #94a3b8;
}

.ai-tool-card-footer {
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid rgba(226, 232, 240, 0.8);
}

body.dark-mode .ai-tool-card-footer,
[data-theme="dark"] .ai-tool-card-footer,
:root:not([data-theme="light"]) .ai-tool-card-footer {
	border-top-color: rgba(255, 255, 255, 0.08);
}

.ai-tool-open-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	height: 42px;
	border-radius: 10px;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	background: linear-gradient(135deg, #6366f1, #4f46e5);
	color: #ffffff !important;
	border: none;
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: 0 2px 8px rgba(99, 102, 241, 0.25);
}

.ai-tool-open-btn:hover {
	transform: translateY(-2px);
	background: linear-gradient(135deg, #4f46e5, #4338ca);
	box-shadow: 0 6px 16px rgba(99, 102, 241, 0.35);
}

/* Empty State */
.ai-tools-empty-state {
	text-align: center;
	padding: 4rem 2rem;
	max-width: 540px;
	margin: 2rem auto;
	border-radius: 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}

.ai-tools-empty-icon {
	font-size: 3rem;
	line-height: 1;
}

.ai-tools-empty-title {
	font-size: 1.35rem;
	font-weight: 700;
	margin: 0;
	color: var(--color-text-primary, #f8fafc);
}

.ai-tools-empty-desc {
	font-size: 0.925rem;
	color: var(--color-text-secondary, #94a3b8);
	margin: 0 0 10px;
	line-height: 1.6;
}

/* ==========================================================================
   PROMPT CATEGORY & TAGS METADATA
   ========================================================================== */
.prompt-meta-taxonomies {
	margin-top: 18px;
	padding: 14px 18px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
	display: flex;
	flex-direction: column;
	gap: 10px;
	box-sizing: border-box;
	max-width: 100%;
	overflow: hidden;
}

body.dark-mode .prompt-meta-taxonomies,
[data-theme="dark"] .prompt-meta-taxonomies {
	background: rgba(255, 255, 255, 0.03);
	border-color: var(--color-border-glass, rgba(255, 255, 255, 0.08));
}

.prompt-meta-tax-row {
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 8px 12px;
	font-size: 0.875rem;
	width: 100%;
	min-width: 0;
}

.prompt-tax-label {
	font-weight: 700;
	color: #64748b;
	font-size: 0.78125rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	min-width: 82px;
	flex-shrink: 0;
	padding-top: 3px;
	line-height: 1.4;
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.prompt-tax-label .tax-label-icon {
	width: 12px;
	height: 12px;
	color: #8b5cf6;
	flex-shrink: 0;
}

body.dark-mode .prompt-tax-label,
[data-theme="dark"] .prompt-tax-label {
	color: #94a3b8;
}

body.dark-mode .prompt-tax-label .tax-label-icon,
[data-theme="dark"] .prompt-tax-label .tax-label-icon {
	color: #a78bfa;
}

.prompt-categories-cloud,
.prompt-tags-cloud {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px 8px;
	flex: 1;
	min-width: 0;
	max-width: 100%;
}

.prompt-category-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 12px;
	background: #ffffff;
	color: #7c3aed;
	border: 1px solid #ddd6fe;
	border-radius: var(--radius-full);
	font-weight: 600;
	font-size: 0.8125rem;
	line-height: 1.4;
	text-decoration: none;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
	max-width: 100%;
	box-sizing: border-box;
	box-shadow: 0 1px 2px rgba(124, 58, 237, 0.04);
}

.prompt-category-badge .tax-badge-icon {
	width: 12px;
	height: 12px;
	flex-shrink: 0;
	color: currentColor;
	opacity: 0.85;
}

.prompt-category-badge span {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 260px;
}

.prompt-category-badge:hover {
	background: #f5f3ff;
	color: #6d28d9;
	border-color: #c4b5fd;
	transform: none;
}

body.dark-mode .prompt-category-badge,
[data-theme="dark"] .prompt-category-badge {
	background: rgba(139, 92, 246, 0.08);
	color: #c4b5fd;
	border-color: rgba(139, 92, 246, 0.25);
	box-shadow: none;
}

body.dark-mode .prompt-category-badge:hover,
[data-theme="dark"] .prompt-category-badge:hover {
	background: rgba(139, 92, 246, 0.18);
	color: #ddd6fe;
	border-color: rgba(139, 92, 246, 0.45);
}

.prompt-tag-badge {
	display: inline-flex;
	align-items: center;
	gap: 1px;
	padding: 3px 10px;
	background: #ffffff;
	color: #475569;
	border: 1px solid #e2e8f0;
	border-radius: var(--radius-full);
	font-weight: 550;
	font-size: 0.8125rem;
	line-height: 1.4;
	text-decoration: none;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
	max-width: 100%;
	box-sizing: border-box;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.prompt-tag-badge .prompt-tag-hash {
	color: #a855f7;
	font-weight: 600;
	font-size: 0.8125rem;
}

.prompt-tag-badge .prompt-tag-text {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 240px;
}

.prompt-tag-badge:hover {
	background: #f5f3ff;
	color: #7c3aed;
	border-color: #ddd6fe;
	transform: none;
}

.prompt-tag-badge:hover .prompt-tag-hash {
	color: #7c3aed;
}

body.dark-mode .prompt-tag-badge,
[data-theme="dark"] .prompt-tag-badge {
	background: rgba(255, 255, 255, 0.04);
	color: #cbd5e1;
	border-color: rgba(255, 255, 255, 0.1);
	box-shadow: none;
}

body.dark-mode .prompt-tag-badge .prompt-tag-hash,
[data-theme="dark"] .prompt-tag-badge .prompt-tag-hash {
	color: #c084fc;
}

body.dark-mode .prompt-tag-badge:hover,
[data-theme="dark"] .prompt-tag-badge:hover {
	background: rgba(139, 92, 246, 0.12);
	color: #e9d5ff;
	border-color: rgba(139, 92, 246, 0.35);
}

/* ==========================================================================
   PROMPT POST NOTE (Premium Red Glowing AI Disclaimer Card)
   ========================================================================== */
.prompt-post-note {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-top: 14px;
	margin-bottom: 0;
	padding: 12px 16px;
	border-radius: 12px;
	background: linear-gradient(135deg, rgba(239, 68, 68, 0.05) 0%, rgba(15, 23, 42, 0.6) 100%);
	border: 1px solid rgba(239, 68, 68, 0.35);
	box-shadow: 0 0 16px rgba(239, 68, 68, 0.08), inset 0 0 12px rgba(239, 68, 68, 0.03);
	color: var(--color-text-secondary, #94a3b8);
	font-size: 0.8125rem;
	line-height: 1.55;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	overflow-wrap: break-word;
	word-break: break-word;
	transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

body.dark-mode .prompt-post-note,
[data-theme="dark"] .prompt-post-note,
:root:not([data-theme="light"]) .prompt-post-note {
	background: linear-gradient(135deg, rgba(239, 68, 68, 0.07) 0%, rgba(18, 21, 28, 0.85) 60%, rgba(10, 12, 16, 0.95) 100%);
	border-color: rgba(239, 68, 68, 0.38);
	box-shadow: 0 0 20px rgba(239, 68, 68, 0.12), inset 0 0 14px rgba(239, 68, 68, 0.04);
	color: #94a3b8;
}

.prompt-post-note:hover {
	border-color: rgba(239, 68, 68, 0.55);
	box-shadow: 0 0 24px rgba(239, 68, 68, 0.2), inset 0 0 16px rgba(239, 68, 68, 0.06);
}

[data-theme="light"] .prompt-post-note {
	background: linear-gradient(135deg, rgba(254, 242, 242, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
	border: 1px solid rgba(239, 68, 68, 0.32);
	box-shadow: 0 2px 14px rgba(239, 68, 68, 0.08), inset 0 0 8px rgba(239, 68, 68, 0.02);
	color: #475569;
}

[data-theme="light"] .prompt-post-note:hover {
	border-color: rgba(239, 68, 68, 0.48);
	box-shadow: 0 4px 18px rgba(239, 68, 68, 0.14), inset 0 0 10px rgba(239, 68, 68, 0.03);
}

.prompt-post-note-icon {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	margin-top: 1px;
	color: #ef4444;
	opacity: 1;
	display: inline-block;
	vertical-align: middle;
	filter: drop-shadow(0 0 6px rgba(239, 68, 68, 0.4));
	transition: filter 0.3s ease, color 0.3s ease;
}

body.dark-mode .prompt-post-note-icon,
[data-theme="dark"] .prompt-post-note-icon,
:root:not([data-theme="light"]) .prompt-post-note-icon {
	color: #f87171;
	filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.45));
}

[data-theme="light"] .prompt-post-note-icon {
	color: #dc2626;
	filter: drop-shadow(0 0 4px rgba(220, 38, 38, 0.25));
}

.prompt-post-note:hover .prompt-post-note-icon {
	filter: drop-shadow(0 0 10px rgba(239, 68, 68, 0.65));
}

.prompt-post-note-content {
	flex: 1;
	min-width: 0;
}

.prompt-post-note-content p {
	margin: 0;
	padding: 0;
	font-size: inherit;
	line-height: inherit;
	color: inherit;
}

.prompt-post-note-content p + p {
	margin-top: 6px;
}

/* ==========================================================================
   AI Prompt Libraries Discovery Page (Clean, Native UI)
   ========================================================================== */
.libraries-page-main {
	padding-bottom: 5rem;
	min-height: 70vh;
}

.libraries-breadcrumb-wrap {
	padding-top: 1.5rem;
	padding-bottom: 0.25rem;
}

/* Compact Hero Header (Clean, Zero Purple Glow) */
.libraries-hero-wrap {
	text-align: center;
	padding: 1.25rem 1rem 0.5rem;
	background: transparent;
}

.libraries-hero-inner {
	max-width: 760px;
	margin: 0 auto;
}

.libraries-hero-title {
	font-size: 2.35rem;
	font-weight: 850;
	font-family: 'Outfit', sans-serif;
	color: var(--color-text-primary, #0f172a);
	letter-spacing: -0.025em;
	line-height: 1.2;
	margin: 0 0 0.5rem;
}

.libraries-hero-desc {
	font-size: 1.05rem;
	color: var(--color-text-secondary, #64748b);
	line-height: 1.55;
	margin: 0 auto;
	max-width: 660px;
}

/* Sorting Bar */
.libraries-sort-section {
	margin-top: 1rem;
	margin-bottom: 1.75rem;
}

.libraries-sort-bar {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.libraries-sort-group {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.libraries-sort-label {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--color-text-muted, #64748b);
}

.libraries-sort-toggle {
	display: inline-flex;
	padding: 3px;
	background: rgba(0, 0, 0, 0.03);
	border: 1px solid var(--color-border-glass, #e2e8f0);
	border-radius: 8px;
	gap: 3px;
}

.lib-sort-btn {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 12px;
	border-radius: 6px;
	background: transparent;
	border: none;
	color: var(--color-text-secondary, #475569);
	font-size: 0.8125rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.18s ease;
}

.lib-sort-btn:hover {
	color: var(--color-text-primary, #0f172a);
	background: rgba(0, 0, 0, 0.04);
}

.lib-sort-btn.is-active {
	background: var(--color-brand-accent, #8b5cf6);
	color: #ffffff;
	box-shadow: 0 2px 6px rgba(139, 92, 246, 0.3);
}

/* Original Libraries Card Grid */
.libraries-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.library-card {
	background: var(--color-bg-card, #ffffff);
	border: 1px solid var(--color-border-glass, #e2e8f0);
	border-radius: 16px;
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.02);
	transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease, box-shadow 0.22s ease;
	position: relative;
	overflow: hidden;
}

.library-card:hover {
	transform: translateY(-3px);
	border-color: rgba(139, 92, 246, 0.4);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05), 0 0 12px rgba(139, 92, 246, 0.1);
}

/* Popular Card subtle hierarchy highlight */
.library-card.is-popular-library {
	border-color: rgba(139, 92, 246, 0.22);
}

.library-card.is-popular-library:hover {
	border-color: rgba(139, 92, 246, 0.5);
	box-shadow: 0 12px 28px rgba(139, 92, 246, 0.08), 0 0 16px rgba(139, 92, 246, 0.14);
}

.library-card-link {
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
	color: inherit;
	padding: 20px 18px;
}

.library-card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
}

.library-icon-indicator {
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: rgba(139, 92, 246, 0.08);
	border: 1px solid rgba(139, 92, 246, 0.2);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 750;
	font-size: 1.125rem;
	color: #8b5cf6;
	font-family: 'Outfit', sans-serif;
	line-height: 1;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.library-card:hover .library-icon-indicator {
	background: rgba(139, 92, 246, 0.16);
	border-color: rgba(139, 92, 246, 0.38);
	color: #7c3aed;
}

.library-header-meta {
	display: flex;
	align-items: center;
	gap: 6px;
}

.library-popular-pill {
	font-size: 0.725rem;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 9999px;
	background: rgba(109, 40, 217, 0.08);
	border: 1px solid rgba(109, 40, 217, 0.25);
	color: #6d28d9;
	display: inline-flex;
	align-items: center;
	gap: 3px;
	letter-spacing: 0.01em;
}

[data-theme="dark"] .library-popular-pill,
body.dark-mode .library-popular-pill {
	background: rgba(139, 92, 246, 0.15);
	border-color: rgba(139, 92, 246, 0.35);
	color: #c4b5fd;
}

.library-popular-pill .popular-sparkle {
	font-size: 0.65rem;
	color: currentColor;
}

.library-count-pill {
	font-size: 0.775rem;
	font-weight: 600;
	padding: 3px 9px;
	border-radius: 9999px;
	background: rgba(0, 0, 0, 0.04);
	border: 1px solid rgba(0, 0, 0, 0.08);
	color: var(--color-text-secondary, #475569);
}

.library-card-main {
	flex-grow: 1;
	margin-bottom: 14px;
}

.library-card-title {
	font-size: 1.25rem;
	font-weight: 750;
	font-family: 'Outfit', sans-serif;
	color: var(--color-text-primary, #0f172a);
	margin: 0 0 4px;
	line-height: 1.3;
	letter-spacing: -0.015em;
	word-break: break-word;
	transition: color 0.2s ease;
}

.library-card:hover .library-card-title {
	color: var(--color-brand-accent, #7c3aed);
}

.library-card-subline {
	font-size: 0.8125rem;
	color: #475569;
	font-weight: 500;
}

[data-theme="dark"] .library-card-subline,
body.dark-mode .library-card-subline {
	color: #94a3b8;
}

.library-card-divider {
	height: 1px;
	width: 32px;
	background: rgba(139, 92, 246, 0.25);
	margin: 0 0 14px;
	transition: width 0.25s ease, background 0.25s ease;
}

.library-card:hover .library-card-divider {
	width: 100%;
	background: linear-gradient(90deg, rgba(139, 92, 246, 0.4) 0%, rgba(139, 92, 246, 0.04) 100%);
}

.library-card-action {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.85rem;
	font-weight: 600;
	color: #6d28d9;
	transition: color 0.2s ease;
}

[data-theme="dark"] .library-card-action,
body.dark-mode .library-card-action {
	color: #a78bfa;
}

.library-action-arrow {
	transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.library-card:hover .library-action-arrow {
	transform: translateX(4px);
}

/* Empty State */
.libraries-empty-state {
	text-align: center;
	padding: 4rem 2rem;
	border-radius: 18px;
	max-width: 580px;
	margin: 2rem auto;
	background: var(--color-bg-card, #ffffff);
	border: 1px solid var(--color-border-glass, #e2e8f0);
}

.libraries-empty-icon {
	font-size: 2.75rem;
	margin-bottom: 0.75rem;
}

.libraries-empty-title {
	font-size: 1.4rem;
	font-weight: 750;
	font-family: 'Outfit', sans-serif;
	color: var(--color-text-primary, #0f172a);
	margin: 0 0 0.5rem;
}

.libraries-empty-desc {
	font-size: 0.95rem;
	color: var(--color-text-secondary, #64748b);
	line-height: 1.6;
	margin: 0 0 1.5rem;
}

/* Dark Theme Adjustments */
body.dark-mode .libraries-hero-title,
[data-theme="dark"] .libraries-hero-title {
	color: #ffffff;
}

body.dark-mode .libraries-hero-desc,
[data-theme="dark"] .libraries-hero-desc {
	color: var(--color-text-secondary, #94a3b8);
}

body.dark-mode .libraries-sort-label,
[data-theme="dark"] .libraries-sort-label {
	color: #cbd5e1;
}

body.dark-mode .libraries-sort-toggle,
[data-theme="dark"] .libraries-sort-toggle {
	background: rgba(255, 255, 255, 0.07);
	border-color: rgba(255, 255, 255, 0.12);
}

body.dark-mode .lib-sort-btn,
[data-theme="dark"] .lib-sort-btn {
	color: #e2e8f0;
}

body.dark-mode .lib-sort-btn:hover,
[data-theme="dark"] .lib-sort-btn:hover {
	color: #ffffff;
	background: rgba(255, 255, 255, 0.12);
}

body.dark-mode .lib-sort-btn.is-active,
[data-theme="dark"] .lib-sort-btn.is-active {
	background: var(--color-brand-accent, #8b5cf6);
	color: #ffffff;
	box-shadow: 0 2px 8px rgba(139, 92, 246, 0.4);
}

body.dark-mode .library-card,
[data-theme="dark"] .library-card {
	background: var(--color-bg-card, #12151c);
	border-color: var(--color-border-glass, rgba(255, 255, 255, 0.08));
	box-shadow: none;
}

body.dark-mode .library-card:hover,
[data-theme="dark"] .library-card:hover {
	border-color: rgba(139, 92, 246, 0.4);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35), 0 0 16px rgba(139, 92, 246, 0.15);
}

body.dark-mode .library-card.is-popular-library,
[data-theme="dark"] .library-card.is-popular-library {
	border-color: rgba(139, 92, 246, 0.25);
}

body.dark-mode .library-count-pill,
[data-theme="dark"] .library-count-pill {
	background: rgba(255, 255, 255, 0.05);
	border-color: rgba(255, 255, 255, 0.08);
	color: var(--color-text-secondary, #94a3b8);
}

body.dark-mode .library-card-title,
[data-theme="dark"] .library-card-title {
	color: var(--color-text-primary, #ffffff);
}

body.dark-mode .libraries-empty-state,
[data-theme="dark"] .libraries-empty-state {
	background: var(--color-bg-card, #12151c);
	border-color: var(--color-border-glass, rgba(255, 255, 255, 0.08));
}

body.dark-mode .libraries-empty-title,
[data-theme="dark"] .libraries-empty-title {
	color: #ffffff;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
	.libraries-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}
	.libraries-hero-title {
		font-size: 2.1rem;
	}
}

@media (max-width: 640px) {
	.libraries-grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}
	.libraries-hero-title {
		font-size: 1.85rem;
	}
	.libraries-hero-desc {
		font-size: 0.95rem;
	}
	.libraries-sort-section {
		margin-top: 0.35rem;
		margin-bottom: 0.5rem;
	}
	.libraries-sort-bar {
		justify-content: flex-end;
	}
	.libraries-sort-group {
		justify-content: flex-end;
		align-items: center;
		width: auto;
		gap: 8px;
	}
	.libraries-sort-label {
		font-size: 0.8rem;
		white-space: nowrap;
	}
	.libraries-sort-toggle {
		flex: none;
		padding: 2px;
		gap: 2px;
		border-radius: 6px;
	}
	.lib-sort-btn {
		flex: none;
		padding: 4px 10px;
		font-size: 0.75rem;
		gap: 4px;
		border-radius: 5px;
	}
	.lib-sort-btn svg {
		width: 12px;
		height: 12px;
	}
}

/* ==========================================================================
   Custom 404 Not Found Page
   ========================================================================== */
.error-404-page {
	min-height: 70vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 3rem 0 5rem;
}

.error-404-container {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.error-404-content {
	text-align: center;
	max-width: 580px;
	width: 100%;
	padding: 3.5rem 2.5rem;
	border-radius: 24px;
	background: var(--color-bg-card, #ffffff);
	border: 1px solid var(--color-border-glass, #e2e8f0);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.error-404-badge-wrap {
	margin-bottom: 1.25rem;
}

.error-404-num {
	display: inline-block;
	font-size: 5rem;
	font-weight: 900;
	font-family: 'Outfit', sans-serif;
	line-height: 1;
	letter-spacing: -0.04em;
	background: linear-gradient(135deg, var(--color-brand-accent, #8b5cf6) 0%, #c084fc 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.error-404-title {
	font-size: 2.15rem;
	font-weight: 850;
	font-family: 'Outfit', sans-serif;
	margin: 0 0 0.75rem;
	letter-spacing: -0.02em;
	color: var(--color-text-primary, #0f172a);
}

.error-404-desc {
	font-size: 1.05rem;
	color: var(--color-text-secondary, #64748b);
	line-height: 1.6;
	margin: 0 auto 2.25rem;
	max-width: 460px;
}

.error-404-actions {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	flex-wrap: wrap;
}

.btn-404-primary {
	padding: 12px 26px;
	font-weight: 700;
	border-radius: 12px;
}

.btn-404-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 24px;
	font-size: 0.95rem;
	font-weight: 700;
	border-radius: 12px;
	background: rgba(139, 92, 246, 0.08);
	color: var(--color-brand-accent, #8b5cf6);
	border: 1px solid rgba(139, 92, 246, 0.25);
	text-decoration: none;
	transition: all 0.2s ease;
}

.btn-404-secondary:hover {
	background: rgba(139, 92, 246, 0.16);
	border-color: rgba(139, 92, 246, 0.45);
	color: #7c3aed;
	transform: translateY(-1px);
}

body.dark-mode .error-404-content,
[data-theme="dark"] .error-404-content {
	background: var(--color-bg-card, #12151c);
	border-color: var(--color-border-glass, rgba(255, 255, 255, 0.08));
	box-shadow: none;
}

body.dark-mode .error-404-title,
[data-theme="dark"] .error-404-title {
	color: #ffffff;
}

body.dark-mode .error-404-desc,
[data-theme="dark"] .error-404-desc {
	color: var(--color-text-secondary, #94a3b8);
}

@media (max-width: 640px) {
	.error-404-page {
		padding: 2rem 0 3.5rem;
	}
	.error-404-content {
		padding: 2.5rem 1.5rem;
	}
	.error-404-num {
		font-size: 4rem;
	}
	.error-404-title {
		font-size: 1.75rem;
	}
	.error-404-desc {
		font-size: 0.95rem;
		margin-bottom: 1.75rem;
	}
	.error-404-actions {
		flex-direction: column;
		width: 100%;
		gap: 10px;
	}
	.btn-404-primary,
	.btn-404-secondary {
		width: 100%;
		text-align: center;
	}
}

/* ==========================================================================
   8. WordPress Native Comments Styling (EKPrompt Theme Specification)
   ========================================================================== */
.prompt-comments-section {
	margin-top: 2rem;
	margin-bottom: 1.75rem;
	padding: 1.6rem 1.75rem;
	border-radius: var(--radius-lg, 16px);
	background: var(--color-bg-card, rgba(18, 21, 28, 0.85));
	border: 1px solid var(--color-border-glass, rgba(255, 255, 255, 0.08));
	backdrop-filter: var(--glass-backdrop-blur, blur(12px));
	-webkit-backdrop-filter: var(--glass-backdrop-blur, blur(12px));
	box-shadow: var(--shadow-card, 0 8px 24px -8px rgba(0, 0, 0, 0.45));
}

[data-theme="light"] .prompt-comments-section {
	background: var(--color-bg-card, rgba(255, 255, 255, 0.9));
	border: 1px solid var(--color-border-glass, #e6e8ef);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.comments-header {
	margin-bottom: 1.25rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--color-border-glass, rgba(255, 255, 255, 0.08));
}

/* AI/Image Prompt: Community Feedback Header & Action Bar */
.community-feedback-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 1.2rem;
	padding-bottom: 0.85rem;
	border-bottom: 1px solid var(--color-border-glass, rgba(255, 255, 255, 0.08));
}

.community-feedback-title-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.community-feedback-count {
	display: inline-flex;
	align-items: center;
	padding: 2px 9px;
	font-size: 0.76rem;
	font-weight: 600;
	color: var(--color-brand-accent, #8b5cf6);
	background: rgba(139, 92, 246, 0.12);
	border: 1px solid rgba(139, 92, 246, 0.25);
	border-radius: 20px;
	line-height: 1.35;
}

.btn-share-feedback {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 7px 15px;
	font-size: 0.82rem;
	font-weight: 600;
	border-radius: var(--radius-sm, 8px);
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(139, 92, 246, 0.22);
	transition: all 0.2s ease;
	flex-shrink: 0;
	line-height: 1.35;
	border: 1px solid transparent;
}

.btn-share-feedback:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 14px rgba(139, 92, 246, 0.38);
	color: #ffffff;
}

/* AI/Image Prompt: Community Feedback Main 2-Column Body */
.community-feedback-body {
	display: flex;
	align-items: stretch;
	gap: 2.5rem;
	width: 100%;
}

.community-feedback-comments-column {
	flex: 1;
	min-width: 0;
	padding-right: 0.5rem;
}

.community-feedback-comments-column .comment-list {
	margin-bottom: 0;
}

.no-comments-placeholder {
	padding: 2rem 0;
	color: var(--color-text-muted, #64748b);
	font-size: 0.95rem;
}

/* AI/Image Prompt: Right-Side Rating Summary Column */
.community-feedback-rating-column {
	width: 310px;
	flex: 0 0 310px;
	padding-left: 2.5rem;
	border-left: 1px solid var(--color-border-glass, rgba(255, 255, 255, 0.08));
	display: flex;
	flex-direction: column;
	align-items: center;
}

[data-theme="light"] .community-feedback-rating-column {
	border-left: 1px solid #e2e8f0;
}

.community-rating-summary-group {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	margin-bottom: 1.5rem;
}

.community-rating-number {
	font-family: 'Outfit', sans-serif;
	font-size: 3.25rem;
	font-weight: 800;
	line-height: 1;
	color: var(--color-text-primary, #f5f7fa);
	margin-bottom: 8px;
}

[data-theme="light"] .community-rating-number {
	color: #0f172a;
}

.community-rating-stars-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 1.45rem;
	line-height: 1;
	color: #f59e0b;
	margin-bottom: 8px;
	transition: opacity 0.2s ease;
}

.community-rating-stars-badge .star.empty {
	color: rgba(255, 255, 255, 0.18);
}

[data-theme="light"] .community-rating-stars-badge .star.empty {
	color: #cbd5e1;
}

.community-rating-total {
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--color-text-muted, #64748b);
	text-transform: uppercase;
	transition: opacity 0.2s ease;
}

.community-rating-distribution {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 1.75rem;
}

.rating-dist-row {
	display: grid;
	grid-template-columns: 28px 1fr 20px;
	align-items: center;
	column-gap: 10px;
	font-size: 0.82rem;
	line-height: 1;
	width: 100%;
	height: 18px;
	box-sizing: border-box;
}

.dist-star-label {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	gap: 4px;
	font-weight: 600;
	color: var(--color-text-secondary, #a5adba);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

[data-theme="light"] .dist-star-label {
	color: #475569;
}

.dist-star-icon {
	color: #f59e0b;
	font-size: 0.85rem;
	line-height: 1;
	display: inline-block;
}

.dist-bar-track {
	width: 100%;
	height: 6px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	overflow: hidden;
	display: block;
}

[data-theme="light"] .dist-bar-track {
	background: #e2e8f0;
}

.dist-bar-fill {
	height: 100%;
	background: #f59e0b;
	border-radius: 999px;
	transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	display: block;
}

.dist-count-label {
	text-align: right;
	font-weight: 600;
	color: var(--color-text-muted, #64748b);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

/* ─── RATE THIS PROMPT Rating & Feedback Action Area (Seamless integration) ─── */
.community-rating-action-box {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 0;
	background: transparent;
	border: none;
	border-radius: 0;
	box-shadow: none;
	text-align: center;
	box-sizing: border-box;
}

[data-theme="light"] .community-rating-action-box {
	background: transparent;
	border: none;
	box-shadow: none;
}

.community-rating-action-title {
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	color: var(--color-text-muted, #64748b);
	text-transform: uppercase;
	margin-bottom: 2px;
	user-select: none;
}

.community-rating-hover-label {
	display: block;
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	margin-top: 0;
	margin-bottom: 0;
	font-size: 0.84rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #f59e0b;
	text-align: center;
	white-space: nowrap;
	pointer-events: none;
	transition: max-height 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.15s ease, margin-top 0.2s ease, margin-bottom 0.2s ease;
}

.community-rating-hover-label.is-visible {
	max-height: 22px;
	opacity: 1;
	margin-top: 2px;
	margin-bottom: 4px;
}

.community-rating-status-text {
	font-size: 0.72rem;
	font-weight: 600;
	min-height: 14px;
	margin-top: 2px;
	color: #10b981;
	opacity: 0;
	line-height: 1;
	transition: opacity 0.2s ease;
}

.community-rating-status-text.is-visible {
	opacity: 1;
}

.community-interactive-stars-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.community-interactive-stars {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.community-interactive-stars .star-btn {
	background: transparent;
	border: none;
	padding: 3px 4px;
	margin: 0;
	font-size: 1.75rem;
	line-height: 1;
	color: rgba(255, 255, 255, 0.25);
	cursor: pointer;
	font-family: inherit;
	transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.15s ease, text-shadow 0.15s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	-webkit-tap-highlight-color: transparent;
}

[data-theme="light"] .community-interactive-stars .star-btn {
	color: #cbd5e1;
}

.community-interactive-stars .star-btn:hover {
	transform: scale(1.22);
}

.community-interactive-stars .star-btn:focus-visible {
	outline: 2px solid #8b5cf6;
	outline-offset: 1px;
	border-radius: 3px;
}

.community-interactive-stars.is-hovering .star-btn.hover-filled {
	color: #f59e0b !important;
	text-shadow: 0 0 12px rgba(245, 158, 11, 0.65);
}

.community-interactive-stars.is-hovering .star-btn.hover-empty {
	color: rgba(255, 255, 255, 0.2) !important;
	text-shadow: none !important;
}

[data-theme="light"] .community-interactive-stars.is-hovering .star-btn.hover-empty {
	color: #cbd5e1 !important;
}

.community-interactive-stars.has-user-rated .star-btn.is-user-selected {
	color: #f59e0b;
	text-shadow: 0 0 10px rgba(245, 158, 11, 0.55);
}

.community-rating-action-box.is-submitting {
	opacity: 0.6;
	pointer-events: none;
}

.community-rating-action-box .btn-share-feedback {
	margin-top: 8px;
	align-self: center;
	padding: 5px 12px;
	font-size: 0.78rem;
}

.comments-title {
	font-family: 'Outfit', sans-serif;
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--color-text-primary, #f5f7fa);
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	line-height: 1.35;
	word-break: break-word;
	overflow-wrap: break-word;
}

[data-theme="light"] .comments-title {
	color: #0f172a;
}

.comments-title-icon {
	color: var(--color-brand-accent, #8b5cf6);
	flex-shrink: 0;
	margin-top: 2px;
}

/* Comment List */
.comment-list {
	list-style: none;
	margin: 0 0 2rem;
	padding: 0;
}

.comment-list .comment {
	position: relative;
	margin-bottom: 1.25rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid var(--color-border-glass, rgba(255, 255, 255, 0.06));
}

.comment-list .comment:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.comment-list .children {
	list-style: none;
	margin: 1.25rem 0 0 1.5rem;
	padding: 0;
	border-left: 2px solid rgba(139, 92, 246, 0.25);
	padding-left: 1.25rem;
}

.comment-body {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.comment-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
}

.comment-author {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.comment-author .avatar {
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid rgba(139, 92, 246, 0.3);
}

.comment-author .fn {
	font-weight: 700;
	font-size: 0.95rem;
	color: var(--color-text-primary, #f5f7fa);
	font-style: normal;
}

[data-theme="light"] .comment-author .fn {
	color: #0f172a;
}

.comment-metadata {
	font-size: 0.82rem;
	color: var(--color-text-muted, #64748b);
}

.comment-metadata a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.comment-metadata a:hover {
	color: var(--color-brand-accent, #8b5cf6);
}

.comment-content {
	font-size: 0.92rem;
	line-height: 1.6;
	color: var(--color-text-secondary, #a5adba);
	word-break: break-word;
	overflow-wrap: break-word;
}

.comment-content.is-collapsible {
	max-height: 135px;
	overflow: hidden;
	position: relative;
	transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.comment-content.is-collapsible::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 48px;
	background: linear-gradient(to bottom, rgba(18, 21, 28, 0), rgba(18, 21, 28, 0.98));
	pointer-events: none;
	opacity: 1;
	transition: opacity 0.2s ease;
}

[data-theme="light"] .comment-content.is-collapsible::after {
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.98));
}

.comment-content.is-collapsible.is-expanded {
	max-height: 3000px;
}

.comment-content.is-collapsible.is-expanded::after {
	opacity: 0;
	visibility: hidden;
}

.btn-comment-readmore {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: none;
	border: none;
	outline: none;
	padding: 2px 0;
	margin-top: 4px;
	margin-bottom: 4px;
	font-size: 0.82rem;
	font-weight: 650;
	color: var(--color-brand-accent, #8b5cf6);
	cursor: pointer;
	line-height: 1.4;
	transition: opacity 0.15s ease;
}

.btn-comment-readmore:hover {
	text-decoration: underline;
	opacity: 0.85;
}

[data-theme="light"] .comment-content {
	color: #334155;
}

.comment-content p {
	margin: 0 0 0.5rem;
}

.comment-content p:last-child {
	margin-bottom: 0;
}

.comment-reply-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--color-brand-accent, #8b5cf6);
	text-decoration: none;
	padding: 3px 9px;
	border-radius: 6px;
	background: rgba(139, 92, 246, 0.08);
	transition: all 0.2s ease;
	align-self: flex-start;
}

.comment-reply-link:hover {
	background: rgba(139, 92, 246, 0.18);
	color: #a78bfa;
}

.comment-awaiting-moderation {
	font-size: 0.82rem;
	color: #f59e0b;
	margin: 4px 0 0;
	font-style: italic;
}

/* Comment Form / Respond Box (Compact Modern Design) */
.comment-respond {
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--color-border-glass, rgba(255, 255, 255, 0.08));
}

/* ─── AI/Image Prompt: Modern Feedback Popup Modal ──────────────────────── */
.feedback-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(8, 10, 15, 0.78);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	z-index: 99999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 16px;
	box-sizing: border-box;
	opacity: 0;
	transition: opacity 0.22s ease;
}

.feedback-modal-overlay.is-visible {
	display: flex;
}

.feedback-modal-overlay.is-animated {
	opacity: 1;
}

.feedback-modal-card {
	background: var(--color-bg-surface, #181d28);
	border: 1px solid var(--color-border-glass, rgba(255, 255, 255, 0.12));
	border-radius: 18px;
	width: 100%;
	max-width: 540px;
	max-height: 90vh;
	display: flex;
	flex-direction: column;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
	transform: translateY(12px) scale(0.97);
	opacity: 0;
	transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
	box-sizing: border-box;
	overflow: hidden;
}

[data-theme="light"] .feedback-modal-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.feedback-modal-overlay.is-animated .feedback-modal-card {
	transform: translateY(0) scale(1);
	opacity: 1;
}

.feedback-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	border-bottom: 1px solid var(--color-border-glass, rgba(255, 255, 255, 0.08));
	background: rgba(255, 255, 255, 0.02);
	flex-shrink: 0;
}

[data-theme="light"] .feedback-modal-header {
	border-bottom: 1px solid #f1f5f9;
	background: #f8fafc;
}

.feedback-modal-title-group {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.feedback-modal-title {
	font-family: 'Outfit', sans-serif;
	font-size: 1.15rem;
	font-weight: 700;
	margin: 0;
	color: var(--color-text-primary, #f5f7fa);
	display: flex;
	align-items: center;
	gap: 8px;
}

[data-theme="light"] .feedback-modal-title {
	color: #0f172a;
}

.feedback-modal-subtitle {
	font-size: 0.85rem;
	color: var(--color-text-secondary, #94a3b8);
	margin: 0;
	line-height: 1.4;
}

[data-theme="light"] .feedback-modal-subtitle {
	color: #64748b;
}

.feedback-modal-close {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid var(--color-border-glass, rgba(255, 255, 255, 0.1));
	color: var(--color-text-secondary, #94a3b8);
	cursor: pointer;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.15s ease;
	padding: 0;
	flex-shrink: 0;
}

.feedback-modal-close:hover,
.feedback-modal-close:focus {
	background: rgba(239, 68, 68, 0.18);
	border-color: rgba(239, 68, 68, 0.4);
	color: #ef4444;
	transform: scale(1.05);
	outline: none;
}

.feedback-modal-body {
	padding: 20px;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	box-sizing: border-box;
}

/* Modal Inner Form Adjustments */
.feedback-modal-body .prompt-comment-respond {
	display: block !important;
	opacity: 1 !important;
	transform: none !important;
	margin-top: 0 !important;
	padding-top: 0 !important;
	border-top: none !important;
}

.feedback-modal-body .comment-reply-title {
	display: none; /* Modal header already provides the clean title */
}

.feedback-modal-body .comment-notes {
	font-size: 0.78rem;
	color: var(--color-text-muted, #64748b);
	margin-bottom: 12px;
}

.feedback-modal-body .comment-form-rating {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--color-border-glass, rgba(255, 255, 255, 0.08));
	border-radius: 10px;
	padding: 10px 14px;
	margin-bottom: 12px;
	justify-content: space-between;
}

[data-theme="light"] .feedback-modal-body .comment-form-rating {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
}

.feedback-modal-body .comment-rating-label {
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--color-text-primary, #f5f7fa);
}

[data-theme="light"] .feedback-modal-body .comment-rating-label {
	color: #0f172a;
}

/* Hide any asterisks or required notices inside the clean feedback modal */
.feedback-modal-body .required,
.feedback-modal-body .comment-notes .required,
.feedback-modal-body .logged-in-as .required {
	display: none !important;
}

/* Feedback Modal: Success State */
.feedback-modal-success {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 24px 16px 20px;
	animation: feedbackSuccessFadeIn 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.feedback-success-icon-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: rgba(34, 197, 94, 0.12);
	border: 1px solid rgba(34, 197, 94, 0.25);
	color: #22c55e;
	margin-bottom: 18px;
	box-shadow: 0 0 20px rgba(34, 197, 94, 0.15);
}

.feedback-success-icon {
	width: 34px;
	height: 34px;
	stroke: currentColor;
}

.feedback-success-title {
	font-family: 'Outfit', sans-serif;
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--color-text-primary, #f5f7fa);
	margin: 0 0 10px;
	line-height: 1.3;
}

[data-theme="light"] .feedback-success-title {
	color: #0f172a;
}

.feedback-success-message {
	font-size: 0.92rem;
	line-height: 1.55;
	color: var(--color-text-secondary, #94a3b8);
	margin: 0 0 22px;
	max-width: 380px;
}

[data-theme="light"] .feedback-success-message {
	color: #64748b;
}

.btn-modal-share-prompt {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 8px 20px;
	font-size: 0.88rem;
	font-weight: 600;
	border-radius: var(--radius-sm, 8px);
	text-decoration: none;
	cursor: pointer;
	background: var(--color-primary, #8b5cf6);
	color: #ffffff;
	box-shadow: 0 2px 10px rgba(139, 92, 246, 0.28);
	transition: all 0.2s ease;
	border: 1px solid transparent;
	line-height: 1.35;
}

.btn-modal-share-prompt:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 16px rgba(139, 92, 246, 0.45);
	background: var(--color-primary-hover, #7c3aed);
	color: #ffffff;
}

.btn-modal-share-prompt svg {
	width: 15px;
	height: 15px;
	flex-shrink: 0;
}

/* When not inside modal (e.g. blog posts), prompt-comment-respond is hidden from bottom on prompt posts */
.prompt-community-feedback-section > .prompt-comment-respond {
	display: none !important;
}

/* Prevent body scroll when feedback modal is open */
body.feedback-modal-open {
	overflow: hidden !important;
	touch-action: none;
}

.comment-reply-title {
	font-family: 'Outfit', sans-serif;
	font-size: 1.18rem;
	font-weight: 700;
	color: var(--color-text-primary, #f5f7fa);
	margin: 0 0 0.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 6px;
}

[data-theme="light"] .comment-reply-title {
	color: #0f172a;
}

.cancel-comment-reply a {
	font-size: 0.8rem;
	font-weight: 600;
	color: #ef4444;
	text-decoration: none;
	padding: 2px 7px;
	border-radius: 4px;
	background: rgba(239, 68, 68, 0.1);
	transition: opacity 0.2s ease;
}

.cancel-comment-reply a:hover {
	opacity: 0.85;
}

.comment-notes,
.logged-in-as {
	font-size: 0.82rem;
	color: var(--color-text-muted, #64748b);
	margin-bottom: 0.75rem;
}

.logged-in-as a {
	color: var(--color-brand-accent, #8b5cf6);
	text-decoration: none;
}

.comment-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
	box-sizing: border-box;
}

@media (min-width: 641px) {
	.comment-form {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 12px 14px;
	}
	.comment-form-comment,
	.comment-form-cookies-consent,
	.comment-form p.form-submit,
	.comment-form .form-submit {
		grid-column: 1 / -1;
	}
	.comment-form-author {
		grid-column: 1 / 2;
	}
	.comment-form-email {
		grid-column: 2 / 3;
	}
}

.comment-form p {
	margin: 0;
	width: 100%;
	box-sizing: border-box;
}

.comment-form-comment label,
.comment-form-author label,
.comment-form-email label {
	display: block;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--color-text-secondary, #a5adba);
	margin-bottom: 4px;
}

[data-theme="light"] .comment-form-comment label,
[data-theme="light"] .comment-form-author label,
[data-theme="light"] .comment-form-email label {
	color: #475569;
}

.comment-form-rating {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 2px;
}

.comment-rating-label {
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--color-text-secondary, #a5adba);
}

.comment-rating-label .optional {
	font-size: 0.75rem;
	font-weight: 400;
	opacity: 0.75;
}

.comment-star-rating {
	display: inline-flex;
	flex-direction: row-reverse;
	align-items: center;
	gap: 3px;
}

.comment-star-rating input[type="radio"] {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	pointer-events: none;
}

.comment-star-rating .star-label {
	cursor: pointer;
	color: rgba(255, 255, 255, 0.22);
	line-height: 1;
	transition: color 0.15s ease, transform 0.15s ease;
	display: inline-flex;
	align-items: center;
	padding: 2px;
}

[data-theme="light"] .comment-star-rating .star-label {
	color: #cbd5e1;
}

.comment-star-rating .star-label svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.comment-star-rating .star-label:hover,
.comment-star-rating .star-label:hover ~ .star-label,
.comment-star-rating input[type="radio"]:checked ~ .star-label {
	color: #f59e0b;
}

.comment-star-rating .star-label:hover {
	transform: scale(1.15);
}

/* Rating display in approved comments */
.comment-rating-stars {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	margin-bottom: 6px;
	font-size: 0.92rem;
	line-height: 1;
	color: #f59e0b;
}

.comment-rating-stars .star.empty {
	color: rgba(255, 255, 255, 0.2);
}

[data-theme="light"] .comment-rating-stars .star.empty {
	color: #cbd5e1;
}

.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"] {
	width: 100%;
	padding: 8px 12px;
	font-size: 0.88rem;
	font-family: inherit;
	color: var(--color-text-primary, #f5f7fa);
	background: rgba(15, 23, 42, 0.6);
	border: 1px solid var(--color-border-glass, rgba(255, 255, 255, 0.1));
	border-radius: var(--radius-sm, 8px);
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
	box-sizing: border-box;
}

.comment-form textarea {
	height: 130px;
	min-height: 120px;
	max-height: 280px;
	resize: vertical;
}

[data-theme="light"] .comment-form textarea,
[data-theme="light"] .comment-form input[type="text"],
[data-theme="light"] .comment-form input[type="email"] {
	background: #ffffff;
	border: 1px solid #cbd5e1;
	color: #0f172a;
}

.comment-form textarea:focus,
.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus {
	border-color: var(--color-brand-accent, #8b5cf6);
	box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

/* Scoped Comment Textarea Custom Scrollbar */
.comment-form textarea {
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 255, 255, 0.22) rgba(15, 23, 42, 0.35);
}

.comment-form textarea::-webkit-scrollbar {
	width: 10px;
}

.comment-form textarea::-webkit-scrollbar-track {
	background: rgba(15, 23, 42, 0.35);
	border-radius: 6px;
	margin: 4px 0;
}

.comment-form textarea::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.22);
	border-radius: 6px;
	border: 2px solid transparent;
	background-clip: padding-box;
	transition: background-color 0.2s ease;
}

.comment-form textarea::-webkit-scrollbar-thumb:hover {
	background: rgba(255, 255, 255, 0.38);
	background-clip: padding-box;
}

[data-theme="light"] .comment-form textarea {
	scrollbar-color: #cbd5e1 rgba(241, 245, 249, 0.7);
}

[data-theme="light"] .comment-form textarea::-webkit-scrollbar-track {
	background: rgba(241, 245, 249, 0.7);
}

[data-theme="light"] .comment-form textarea::-webkit-scrollbar-thumb {
	background: #cbd5e1;
	background-clip: padding-box;
}

[data-theme="light"] .comment-form textarea::-webkit-scrollbar-thumb:hover {
	background: #94a3b8;
	background-clip: padding-box;
}

.comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 0.8rem;
	color: var(--color-text-muted, #64748b);
	margin: 2px 0 4px;
	line-height: 1.4;
}

.comment-form-cookies-consent input[type="checkbox"] {
	margin-top: 3px;
	accent-color: var(--color-brand-accent, #8b5cf6);
}

.btn-comment-submit {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 22px;
	font-size: 0.92rem;
	font-weight: 700;
	border-radius: var(--radius-sm, 8px);
	background: var(--gradient-brand, linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%));
	color: #ffffff;
	border: none;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(139, 92, 246, 0.35);
	transition: all 0.2s ease;
}

.btn-comment-submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
	opacity: 0.96;
}

.comment-author .says {
	display: none;
}

.no-comments {
	font-size: 0.9rem;
	color: var(--color-text-muted, #64748b);
	font-style: italic;
	margin: 1rem 0;
}

@media (max-width: 768px) {
	.prompt-comments-section {
		order: 9 !important;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
		padding: 1.5rem 1.25rem;
		margin-top: 1rem !important;
		margin-bottom: 1.5rem !important;
		border-radius: 14px;
		overflow-wrap: break-word;
		word-break: break-word;
	}

	.comments-header,
	.community-feedback-header {
		margin-bottom: 1.25rem;
		padding-bottom: 0.75rem;
	}

	.community-feedback-header {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: center;
		justify-content: flex-start;
		gap: 10px;
		width: 100%;
	}

	.community-feedback-title-wrap {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: center;
		gap: 8px;
		min-width: 0;
		width: 100%;
	}

	.community-feedback-title {
		font-size: 1.15rem;
		margin: 0;
		white-space: nowrap;
		display: inline-flex;
		align-items: center;
		gap: 8px;
	}

	.community-feedback-count {
		font-size: 0.74rem;
		padding: 2px 8px;
		white-space: nowrap;
		flex-shrink: 0;
	}

	.community-feedback-body {
		flex-direction: column;
		gap: 2rem;
	}

	.community-feedback-rating-column {
		order: 1;
		width: 100%;
		flex: 1 1 auto;
		padding-left: 0;
		padding-top: 0;
		border-left: none;
		border-top: none;
	}

	[data-theme="light"] .community-feedback-rating-column {
		border-left: none;
		border-top: none;
	}

	.community-feedback-comments-column {
		order: 2;
		width: 100%;
		padding-right: 0;
		padding-top: 2rem;
		border-top: 1px solid var(--color-border-glass, rgba(255, 255, 255, 0.08));
	}

	[data-theme="light"] .community-feedback-comments-column {
		border-top: 1px solid #e2e8f0;
	}

	.community-rating-summary-group {
		margin-bottom: 1.25rem;
	}

	.community-rating-number {
		font-size: 2.75rem;
		margin-bottom: 6px;
	}

	.community-rating-action-box {
		width: 100%;
		max-width: 100%;
		padding: 0;
		background: transparent;
		border: none;
		border-radius: 0;
		box-shadow: none;
	}

	.community-interactive-stars {
		gap: 7px;
	}

	.community-interactive-stars .star-btn {
		font-size: 1.6rem;
		padding: 4px 3px;
	}

	.community-rating-action-box .btn-share-feedback {
		margin-top: 8px;
		padding: 5px 12px;
		font-size: 0.78rem;
	}

	.community-rating-distribution {
		width: 100%;
		max-width: 280px;
	}

	.comments-title {
		font-size: 1.15rem;
		display: flex;
		align-items: flex-start;
		gap: 8px;
		line-height: 1.35;
		word-break: break-word;
		overflow-wrap: break-word;
	}

	.comments-title-icon {
		margin-top: 2px;
		width: 18px;
		height: 18px;
		flex-shrink: 0;
	}

	.comment-body {
		gap: 8px;
	}

	.comment-meta {
		display: flex;
		align-items: center;
		justify-content: space-between;
		flex-wrap: wrap;
		gap: 6px 12px;
	}

	.comment-author {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		flex-wrap: wrap;
	}

	.comment-author .avatar {
		width: 34px;
		height: 34px;
	}

	.comment-author .fn {
		font-size: 0.9rem;
		word-break: break-word;
		overflow-wrap: break-word;
	}

	.comment-metadata {
		font-size: 0.78rem;
	}

	.comment-content {
		font-size: 0.9rem;
		line-height: 1.6;
		overflow-wrap: break-word;
		word-break: break-word;
	}

	.comment-content p {
		margin-bottom: 0.4rem;
		overflow-wrap: break-word;
		word-break: break-word;
	}

	.comment-reply-link {
		font-size: 0.78rem;
		padding: 3px 8px;
	}

	.comment-list .children {
		margin-top: 0.85rem;
		margin-left: 0.5rem;
		padding-left: 0.75rem;
		border-left: 2px solid rgba(139, 92, 246, 0.25);
	}

	.comment-respond {
		margin-top: 1.5rem;
		padding-top: 1.25rem;
	}

	.comment-reply-title {
		font-size: 1.15rem;
		margin-bottom: 0.75rem;
		gap: 6px;
	}

	.comment-form {
		gap: 12px;
		width: 100%;
		box-sizing: border-box;
	}

	.comment-form p {
		margin: 0;
		width: 100%;
		box-sizing: border-box;
	}

	.comment-form textarea {
		width: 100%;
		max-width: 100%;
		height: 110px;
		min-height: 100px;
		max-height: 220px;
		box-sizing: border-box;
		font-size: 0.86rem;
		padding: 8px 10px;
	}

	.comment-form input[type="text"],
	.comment-form input[type="email"] {
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
		font-size: 0.86rem;
		padding: 8px 10px;
	}

	.comment-form-cookies-consent {
		display: flex;
		align-items: flex-start;
		gap: 8px;
		font-size: 0.78rem;
		line-height: 1.4;
	}

	.comment-form p.form-submit,
	.comment-form .form-submit {
		width: 100%;
		margin: 4px 0 0;
	}

	.btn-comment-submit,
	.comment-form .form-submit .btn-comment-submit,
	.comment-form .form-submit button,
	.comment-form .form-submit input[type="submit"] {
		width: 100% !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		padding: 12px 16px !important;
		font-size: 0.92rem !important;
		box-sizing: border-box !important;
	}
}

@media (max-width: 480px) {
	.prompt-comments-section {
		padding: 1.25rem 0.95rem;
		margin-top: 1.25rem;
		margin-bottom: 1.25rem;
		border-radius: 12px;
	}

	.community-feedback-header {
		gap: 6px;
	}

	.community-feedback-title-wrap {
		gap: 6px;
	}

	.community-feedback-title {
		font-size: 0.98rem;
		gap: 5px;
	}

	.community-feedback-title .comments-title-icon {
		width: 16px;
		height: 16px;
	}

	.community-feedback-count {
		font-size: 0.7rem;
		padding: 2px 6px;
	}

	.btn-share-feedback {
		padding: 5px 9px;
		font-size: 0.74rem;
		gap: 4px;
	}

	.btn-share-feedback svg {
		width: 13px;
		height: 13px;
	}

	.comments-title {
		font-size: 1.08rem;
	}

	.comment-list .children {
		margin-left: 0.25rem;
		padding-left: 0.5rem;
	}

	.comment-author .fn {
		font-size: 0.85rem;
	}

	.comment-reply-title {
		font-size: 1.08rem;
	}
}

@media (max-width: 360px) {
	.community-feedback-header {
		gap: 4px;
	}

	.community-feedback-title-wrap {
		gap: 4px;
	}

	.community-feedback-title {
		font-size: 0.9rem;
	}

	.community-feedback-count {
		font-size: 0.68rem;
		padding: 1px 5px;
	}

	.btn-share-feedback {
		padding: 4px 8px;
		font-size: 0.7rem;
	}
}

/* ==========================================================================
   Standard Page & Legal Document Typography & Layout
   ========================================================================== */
.page-article.glass-card {
	background: var(--color-bg-card, rgba(18, 21, 28, 0.85));
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid var(--color-border-glass, rgba(255, 255, 255, 0.08));
	box-shadow: 0 10px 35px rgba(0, 0, 0, 0.28);
	transition: background-color 0.25s ease, border-color 0.25s ease;
	transform: none !important;
}

.page-article.glass-card:hover,
.page-article.glass-card:active,
.page-article.glass-card:focus {
	transform: none !important;
	border-color: var(--color-border-glass, rgba(255, 255, 255, 0.08)) !important;
	box-shadow: 0 10px 35px rgba(0, 0, 0, 0.28) !important;
}

[data-theme="light"] .page-article.glass-card {
	background: #ffffff;
	border: 1px solid rgba(30, 40, 80, 0.08);
	box-shadow: 0 8px 30px rgba(30, 40, 80, 0.06);
	transform: none !important;
}

[data-theme="light"] .page-article.glass-card:hover,
[data-theme="light"] .page-article.glass-card:active,
[data-theme="light"] .page-article.glass-card:focus {
	transform: none !important;
	border-color: rgba(30, 40, 80, 0.08) !important;
	box-shadow: 0 8px 30px rgba(30, 40, 80, 0.06) !important;
}

.page-article .page-header {
	border-bottom: 1px solid var(--color-border-glass, rgba(255, 255, 255, 0.08));
}

[data-theme="light"] .page-article .page-header {
	border-bottom-color: rgba(30, 40, 80, 0.08);
}

.page-article .page-title {
	color: var(--color-text-primary, #ffffff);
	line-height: 1.25;
}

[data-theme="light"] .page-article .page-title {
	color: #0f172a;
}

/* Entry content & legal page typography */
.page-article .entry-content {
	color: var(--color-text-secondary, #cbd5e1);
	font-size: 1rem;
	line-height: 1.75;
}

[data-theme="light"] .page-article .entry-content {
	color: #334155;
}

.page-article .entry-content p {
	margin: 0 0 0.75rem;
}

.page-article .entry-content p:last-child {
	margin-bottom: 0;
}

.page-article .entry-content h2,
.page-article .entry-content h3,
.page-article .entry-content h4 {
	color: var(--color-text-primary, #ffffff);
	font-family: 'Outfit', 'Inter', sans-serif;
	font-weight: 700;
	letter-spacing: -0.015em;
	line-height: 1.3;
	margin-top: 1.25rem;
	margin-bottom: 0.5rem;
}

[data-theme="light"] .page-article .entry-content h2,
[data-theme="light"] .page-article .entry-content h3,
[data-theme="light"] .page-article .entry-content h4 {
	color: #0f172a;
}

.page-article .entry-content h2 {
	font-size: 1.2rem;
	border-bottom: 1px solid var(--color-border-glass, rgba(255, 255, 255, 0.06));
	padding-bottom: 0.35rem;
}

[data-theme="light"] .page-article .entry-content h2 {
	border-bottom-color: rgba(30, 40, 80, 0.06);
}

.page-article .entry-content h3 {
	font-size: 1.05rem;
}

.page-article .entry-content h4 {
	font-size: 0.95rem;
}

.page-article .entry-content ul,
.page-article .entry-content ol {
	margin: 0 0 1rem 1.25rem;
	padding: 0;
}

.page-article .entry-content li {
	margin-bottom: 0.35rem;
	line-height: 1.65;
}

.page-article .entry-content a {
	color: var(--color-brand-accent, #8b5cf6);
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color 0.15s ease;
}

.page-article .entry-content a:hover {
	color: var(--color-brand-hover, #7c3aed);
}

.page-article .entry-content strong {
	color: var(--color-text-primary, #ffffff);
	font-weight: 600;
}

[data-theme="light"] .page-article .entry-content strong {
	color: #0f172a;
}

/* Specific styling for legal subsections / disclaimer structure */
.legal-last-updated {
	display: inline-flex;
	align-items: center;
	font-size: 0.825rem;
	font-weight: 500;
	letter-spacing: 0.01em;
	color: var(--color-text-muted, #94a3b8);
	margin-bottom: 0.85rem;
	padding: 4px 10px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--color-border-glass, rgba(255, 255, 255, 0.07));
}

[data-theme="light"] .legal-last-updated {
	background: #f8fafc;
	border-color: #e2e8f0;
	color: #64748b;
}

.legal-section {
	margin-top: 1.15rem;
	margin-bottom: 0.75rem;
	padding-top: 0;
}

.legal-section:first-of-type {
	margin-top: 0.15rem;
}

.legal-section-title {
	font-size: 1.125rem;
	font-weight: 700;
	font-family: 'Outfit', 'Inter', sans-serif;
	color: var(--color-text-primary, #ffffff);
	margin-bottom: 0.45rem;
	letter-spacing: -0.01em;
	line-height: 1.3;
	border-bottom: 1px solid var(--color-border-glass, rgba(255, 255, 255, 0.06));
	padding-bottom: 0.35rem;
}

[data-theme="light"] .legal-section-title {
	color: #0f172a;
	border-bottom-color: rgba(30, 40, 80, 0.06);
}

.legal-contact-list {
	list-style: none !important;
	margin: 0.5rem 0 0 !important;
	padding: 0 !important;
}

.legal-contact-list li {
	margin-bottom: 0.4rem;
}

@media (max-width: 640px) {
	.page-article.glass-card {
		padding: 1.75rem 1.25rem !important;
		border-radius: 16px !important;
	}

	.page-article .page-title {
		font-size: 1.75rem !important;
	}

	.page-article .entry-content {
		font-size: 0.95rem;
	}
}

/* ─── Media Protection (Casual download & drag prevention) ───────────────── */
img,
video,
picture img,
.ai-prompt-featured-image-card img,
.ai-prompt-featured-video,
.player-video,
.prompt-card-img,
.prompt-card-media img,
.prompt-card-media video {
	-webkit-user-drag: none;
	-khtml-user-drag: none;
	-moz-user-drag: none;
	-o-user-drag: none;
	user-drag: none;
	-webkit-touch-callout: none;
}

/* ==========================================================================
   Contact Form 7 - EKPrompt Native Styling
   ========================================================================== */

/* Form Wrapper */
.wpcf7 {
	width: 100%;
	margin-top: 1rem;
}

/* Base input fields */
.wpcf7 .wpcf7-text,
.wpcf7 .wpcf7-email,
.wpcf7 .wpcf7-textarea,
.wpcf7 select {
	width: 100%;
	max-width: 100%;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--color-border-glass, rgba(255, 255, 255, 0.08));
	color: var(--color-text-primary, #ffffff);
	font-family: inherit;
	font-size: 0.95rem;
	padding: 12px 16px;
	border-radius: var(--radius-md, 12px);
	box-sizing: border-box;
	transition: all 0.3s ease;
	outline: none;
}

[data-theme="light"] .wpcf7 .wpcf7-text,
[data-theme="light"] .wpcf7 .wpcf7-email,
[data-theme="light"] .wpcf7 .wpcf7-textarea,
[data-theme="light"] .wpcf7 select {
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.1);
	color: var(--color-text-primary, #171923);
}

/* Hover & Focus states */
.wpcf7 .wpcf7-text:hover,
.wpcf7 .wpcf7-email:hover,
.wpcf7 .wpcf7-textarea:hover,
.wpcf7 select:hover {
	border-color: var(--color-border-hover, rgba(139, 92, 246, 0.35));
}

.wpcf7 .wpcf7-text:focus,
.wpcf7 .wpcf7-email:focus,
.wpcf7 .wpcf7-textarea:focus,
.wpcf7 select:focus {
	border-color: var(--color-brand-accent, #8b5cf6);
	box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
	background: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .wpcf7 .wpcf7-text:focus,
[data-theme="light"] .wpcf7 .wpcf7-email:focus,
[data-theme="light"] .wpcf7 .wpcf7-textarea:focus,
[data-theme="light"] .wpcf7 select:focus {
	background: #ffffff;
	box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

/* Textarea styling */
.wpcf7 .wpcf7-textarea {
	min-height: 150px;
	height: 150px;
	resize: vertical;
	overflow-y: auto;
	line-height: 1.6;
	scrollbar-width: thin;
	scrollbar-color: rgba(139, 92, 246, 0.4) transparent;
}

.wpcf7 .wpcf7-textarea::-webkit-scrollbar {
	width: 6px;
}

.wpcf7 .wpcf7-textarea::-webkit-scrollbar-track {
	background: transparent;
}

.wpcf7 .wpcf7-textarea::-webkit-scrollbar-thumb {
	background-color: rgba(139, 92, 246, 0.35);
	border-radius: 999px;
}

.wpcf7 .wpcf7-textarea::-webkit-scrollbar-thumb:hover {
	background-color: rgba(139, 92, 246, 0.6);
}

[data-theme="light"] .wpcf7 .wpcf7-textarea {
	scrollbar-color: rgba(99, 102, 241, 0.35) transparent;
}

[data-theme="light"] .wpcf7 .wpcf7-textarea::-webkit-scrollbar-thumb {
	background-color: rgba(99, 102, 241, 0.3);
}

[data-theme="light"] .wpcf7 .wpcf7-textarea::-webkit-scrollbar-thumb:hover {
	background-color: rgba(99, 102, 241, 0.55);
}

/* Submit Button */
.wpcf7 .wpcf7-submit {
	width: 100%;
	background: var(--gradient-brand, linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%));
	color: #ffffff;
	border: none;
	padding: 14px 24px;
	font-size: 1rem;
	font-weight: 600;
	border-radius: var(--radius-md, 12px);
	cursor: pointer;
	transition: all 0.3s ease;
	display: inline-flex;
	justify-content: center;
	align-items: center;
}

.wpcf7 .wpcf7-submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

.wpcf7 .wpcf7-submit:active {
	transform: translateY(0);
}

.wpcf7 .wpcf7-submit:disabled,
.wpcf7 .wpcf7-submit.wpcf7-disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

/* Field layout */
.wpcf7 p {
	margin-bottom: 1.25rem;
}

.wpcf7 label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 500;
	color: var(--color-text-secondary, #cbd5e1);
	font-size: 0.95rem;
}

[data-theme="light"] .wpcf7 label {
	color: #334155;
}

/* Placeholder styling */
.wpcf7 ::placeholder {
	color: rgba(255, 255, 255, 0.3);
}

[data-theme="light"] .wpcf7 ::placeholder {
	color: rgba(0, 0, 0, 0.3);
}

/* Validation Errors */
.wpcf7 .wpcf7-not-valid-tip {
	color: #ef4444;
	font-size: 0.85rem;
	margin-top: 0.25rem;
	font-weight: 500;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
	background: rgba(239, 68, 68, 0.1) !important;
	border: 1px solid rgba(239, 68, 68, 0.2) !important;
	color: #ef4444 !important;
	border-radius: var(--radius-md, 12px) !important;
	padding: 12px 16px !important;
	margin: 1rem 0 0 0 !important;
	font-size: 0.95rem !important;
}

/* Success Message */
.wpcf7 form.sent .wpcf7-response-output {
	background: rgba(34, 197, 94, 0.1) !important;
	border: 1px solid rgba(34, 197, 94, 0.2) !important;
	color: #22c55e !important;
	border-radius: var(--radius-md, 12px) !important;
	padding: 12px 16px !important;
	margin: 1rem 0 0 0 !important;
	font-size: 0.95rem !important;
}

/* Loading state / Spinner */
.wpcf7 .wpcf7-spinner {
	background-color: var(--color-brand-accent, #8b5cf6);
	margin-left: 10px;
}

/* ==========================================================================
   EKPrompt - Compact AI Models Directory Cards & Grid
   ========================================================================== */
.ai-models-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 18px;
}

.ai-model-card {
	background: var(--color-bg-card, rgba(18, 21, 28, 0.85));
	border: 1px solid var(--color-border-glass, rgba(255, 255, 255, 0.08));
	border-radius: var(--radius-md, 14px);
	padding: 18px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease, box-shadow 0.22s ease;
	position: relative;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.ai-model-card:hover {
	border-color: var(--color-border-hover, rgba(139, 92, 246, 0.4));
	transform: translateY(-3px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12), 0 0 16px rgba(139, 92, 246, 0.12);
}

.ai-model-card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}

.ai-model-card-logo {
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: rgba(15, 23, 42, 0.45);
	border: 1px solid var(--color-border-glass, rgba(255, 255, 255, 0.1));
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	flex-shrink: 0;
}

[data-theme="light"] .ai-model-card-logo {
	background: rgba(241, 245, 249, 0.85);
	border-color: rgba(0, 0, 0, 0.06);
}

.ai-model-count-badge {
	font-size: 11.5px;
	font-weight: 600;
	padding: 3px 8px;
	border-radius: var(--radius-full, 9999px);
	background: rgba(139, 92, 246, 0.12);
	color: var(--color-brand-accent, #8b5cf6);
	border: 1px solid rgba(139, 92, 246, 0.25);
	white-space: nowrap;
}

[data-theme="light"] .ai-model-count-badge {
	background: rgba(109, 40, 217, 0.08);
	color: #6d28d9;
	border-color: rgba(109, 40, 217, 0.25);
}

.ai-model-card-title {
	font-size: 1.18rem;
	font-weight: 700;
	font-family: 'Outfit', sans-serif;
	color: var(--color-text-primary, #f5f7fa);
	margin: 0 0 6px 0;
	line-height: 1.3;
}

.ai-model-card-title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.18s ease;
}

.ai-model-card-title a:hover,
.ai-model-card-title a:focus-visible {
	color: var(--color-brand-accent, #8b5cf6);
}

.ai-model-card-desc {
	font-size: 0.86rem;
	color: var(--color-text-secondary, #94a3b8);
	line-height: 1.5;
	margin: 0 0 14px 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.6em;
}

.ai-model-card-actions {
	display: flex;
	gap: 8px;
	align-items: center;
	border-top: 1px solid var(--color-border-glass, rgba(255, 255, 255, 0.08));
	padding-top: 12px;
	margin-top: auto;
}

.ai-model-card-actions .btn-browse {
	flex: 1;
	text-align: center;
	justify-content: center;
	padding: 7px 12px;
	font-size: 12.5px;
	font-weight: 600;
	border-radius: var(--radius-sm, 8px);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: var(--gradient-brand, linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%));
	color: #ffffff;
	box-shadow: 0 3px 10px rgba(99, 102, 241, 0.22);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ai-model-card-actions .btn-browse:hover {
	transform: translateY(-1px);
	box-shadow: 0 5px 14px rgba(99, 102, 241, 0.35);
	color: #ffffff;
}

.ai-model-card-actions .btn-website {
	padding: 7px 10px;
	font-size: 12px;
	font-weight: 600;
	border-radius: var(--radius-sm, 8px);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: rgba(255, 255, 255, 0.05);
	color: var(--color-text-secondary, #cbd5e1);
	border: 1px solid var(--color-border-glass, rgba(255, 255, 255, 0.1));
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
	flex-shrink: 0;
}

[data-theme="light"] .ai-model-card-actions .btn-website {
	background: #f1f5f9;
	color: #334155;
	border-color: #cbd5e1;
}

.ai-model-card-actions .btn-website:hover {
	background: rgba(139, 92, 246, 0.15);
	color: var(--color-brand-accent, #8b5cf6);
	border-color: rgba(139, 92, 246, 0.3);
}

@media (max-width: 900px) {
	.ai-models-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}
}

@media (max-width: 580px) {
	.ai-models-grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}
}