:root {
	color-scheme: dark light;
	--bg: #0c0e14;
	--bg-subtle: #141721;
	--card-bg: #181c28;
	--card-hover: #1f2433;
	--border: #262c3e;
	--border-light: #343c52;
	--fg: #f3f5fa;
	--fg-muted: #9ba3b8;
	--fg-dim: #64708a;
	--accent: #f59e0b;
	--accent-glow: rgba(245, 158, 11, 0.25);
	--accent-hover: #fbbf24;
	--accent-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
	--brand-indigo: #6366f1;
	--brand-emerald: #10b981;
	--brand-rose: #f43f5e;
	--danger: #f87171;
	--danger-bg: rgba(239, 68, 68, 0.12);
	--success: #34d399;
	--success-bg: rgba(16, 185, 129, 0.12);
	--radius-sm: 6px;
	--radius: 12px;
	--radius-lg: 18px;
	--radius-full: 9999px;
	--space: 1rem;
	--font-sans: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
	--font-serif: "Fraunces", Georgia, serif;
	--font-mono: "JetBrains Mono", monospace;
	--shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
	--shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
	--shadow-glow: 0 0 30px rgba(245, 158, 11, 0.15);
}

@media (prefers-color-scheme: light) {
	:root {
		--bg: #f8f9fc;
		--bg-subtle: #f0f2f8;
		--card-bg: #ffffff;
		--card-hover: #fcfdfe;
		--border: #e2e6f0;
		--border-light: #cbd2e1;
		--fg: #111827;
		--fg-muted: #4b5563;
		--fg-dim: #9ca3af;
		--accent: #d97706;
		--accent-glow: rgba(217, 119, 6, 0.15);
		--accent-hover: #b45309;
		--accent-gradient: linear-gradient(135deg, #d97706 0%, #b45309 100%);
		--brand-indigo: #4f46e5;
		--brand-emerald: #059669;
		--danger: #dc2626;
		--danger-bg: rgba(220, 38, 38, 0.08);
		--success: #059669;
		--success-bg: rgba(5, 150, 105, 0.08);
		--shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.05);
		--shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
		--shadow-glow: 0 0 25px rgba(217, 119, 6, 0.1);
	}
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--fg);
	font-family: var(--font-sans);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	min-height: 100vh;
}

/* Background Atmosphere */
.app-wrapper {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
		radial-gradient(circle at 100% 20%, rgba(245, 158, 11, 0.05) 0%, transparent 40%);
}

/* Header & Top Navigation */
.app-header {
	border-bottom: 1px solid var(--border);
	background: rgba(20, 23, 33, 0.75);
	backdrop-filter: blur(12px);
	position: sticky;
	top: 0;
	z-index: 50;
}

@media (prefers-color-scheme: light) {
	.app-header {
		background: rgba(255, 255, 255, 0.85);
	}
}

.header-inner {
	max-width: 80rem;
	margin: 0 auto;
	padding: 0.85rem 1.25rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.logo-group {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	text-decoration: none;
	color: inherit;
	cursor: pointer;
}

.logo-icon {
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 10px;
	background: var(--accent-gradient);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #000;
	font-weight: 800;
	box-shadow: 0 0 15px var(--accent-glow);
}

.logo-text {
	display: flex;
	flex-direction: column;
}

.logo-title {
	font-family: var(--font-serif);
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.logo-tagline {
	font-size: 0.72rem;
	color: var(--fg-muted);
	font-weight: 500;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.nav-tabs {
	display: flex;
	align-items: center;
	background: var(--bg-subtle);
	padding: 0.25rem;
	border-radius: var(--radius-full);
	border: 1px solid var(--border);
	gap: 0.25rem;
}

.nav-tab-btn {
	padding: 0.45rem 0.9rem;
	border: none;
	background: transparent;
	color: var(--fg-muted);
	font-size: 0.85rem;
	font-weight: 600;
	border-radius: var(--radius-full);
	cursor: pointer;
	transition: all 0.15s ease;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

.nav-tab-btn:hover {
	color: var(--fg);
}

.nav-tab-btn.active {
	background: var(--card-bg);
	color: var(--fg);
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--border);
}

/* Layout Containers */
.main-container {
	max-width: 80rem;
	margin: 0 auto;
	padding: 1.5rem 1.25rem 3rem;
	width: 100%;
	flex: 1;
}

/* Hero Intro Banner */
.hero-banner {
	margin-bottom: 2rem;
	text-align: center;
	padding: 2rem 1rem;
	border-radius: var(--radius-lg);
	background: linear-gradient(180deg, rgba(38, 44, 62, 0.4) 0%, rgba(20, 23, 33, 0.2) 100%);
	border: 1px solid var(--border);
	position: relative;
	overflow: hidden;
}

.hero-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.3rem 0.85rem;
	border-radius: var(--radius-full);
	background: rgba(245, 158, 11, 0.12);
	border: 1px solid rgba(245, 158, 11, 0.3);
	color: var(--accent);
	font-size: 0.8rem;
	font-weight: 600;
	margin-bottom: 0.75rem;
}

.hero-title {
	font-family: var(--font-serif);
	font-size: clamp(1.8rem, 4.5vw, 2.75rem);
	font-weight: 700;
	line-height: 1.15;
	margin: 0 0 0.75rem;
	letter-spacing: -0.03em;
}

.hero-title span {
	background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #f43f5e 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.hero-sub {
	max-width: 38rem;
	margin: 0 auto;
	font-size: 1.05rem;
	color: var(--fg-muted);
	line-height: 1.5;
}

/* Studio 2-Column Grid Layout */
.studio-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	align-items: start;
}

@media (min-width: 64rem) {
	.studio-grid {
		grid-template-columns: 1fr 1.15fr;
	}
}

/* Cards & Panels */
.panel-card {
	background: var(--card-bg);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 1.5rem;
	box-shadow: var(--shadow-sm);
	position: relative;
}

.panel-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1.25rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--border);
}

.panel-title-group {
	display: flex;
	align-items: center;
	gap: 0.6rem;
}

.panel-icon-badge {
	width: 2rem;
	height: 2rem;
	border-radius: var(--radius-sm);
	background: rgba(99, 102, 241, 0.15);
	color: var(--brand-indigo);
	display: flex;
	align-items: center;
	justify-content: center;
}

.panel-icon-badge.accent {
	background: rgba(245, 158, 11, 0.15);
	color: var(--accent);
}

.panel-title {
	font-family: var(--font-serif);
	font-size: 1.2rem;
	font-weight: 700;
	margin: 0;
	letter-spacing: -0.01em;
}

/* Voice Recorder Box */
.record-box {
	background: var(--bg-subtle);
	border: 1.5px dashed var(--border-light);
	border-radius: var(--radius);
	padding: 1.75rem 1.25rem;
	text-align: center;
	margin-bottom: 1.25rem;
	transition: all 0.2s ease;
	position: relative;
}

.record-box.recording {
	border-color: var(--danger);
	background: rgba(239, 68, 68, 0.05);
	box-shadow: 0 0 25px rgba(239, 68, 68, 0.15);
}

.record-action-row {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}

.record-mic-btn {
	width: 4.5rem;
	height: 4.5rem;
	border-radius: var(--radius-full);
	border: none;
	background: var(--accent-gradient);
	color: #000;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 20px var(--accent-glow);
	transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
	position: relative;
}

.record-mic-btn:hover {
	transform: scale(1.06);
}

.record-mic-btn.active {
	background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
	color: #fff;
	box-shadow: 0 0 30px rgba(239, 68, 68, 0.4);
	animation: pulse-ring 1.5s infinite;
}

@keyframes pulse-ring {
	0% {
		box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5);
	}
	70% {
		box-shadow: 0 0 0 16px rgba(239, 68, 68, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
	}
}

/* Audio Waveform Bars */
.waveform-bars {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 3px;
	height: 36px;
	margin: 0.75rem 0;
}

.wave-bar {
	width: 4px;
	background: var(--border-light);
	border-radius: 2px;
	height: 8px;
	transition: height 0.1s ease;
}

.wave-bar.active {
	background: var(--accent);
	animation: wave-bounce 1s ease-in-out infinite alternate;
}

.wave-bar.recording-live {
	background: var(--danger);
	animation: wave-bounce 0.4s ease-in-out infinite alternate;
}

@keyframes wave-bounce {
	0% {
		height: 6px;
	}
	100% {
		height: 32px;
	}
}

.record-status-text {
	font-size: 0.9rem;
	font-weight: 600;
	margin: 0;
}

.record-time-badge {
	font-family: var(--font-mono);
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--accent);
	padding: 0.2rem 0.6rem;
	background: rgba(0, 0, 0, 0.3);
	border-radius: var(--radius-sm);
	display: inline-block;
}

/* Quick Example Prompts */
.demo-preset-group {
	margin-top: 1rem;
	text-align: left;
}

.demo-title {
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--fg-dim);
	margin-bottom: 0.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.demo-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.demo-pill-btn {
	padding: 0.4rem 0.75rem;
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius-full);
	color: var(--fg-muted);
	font-size: 0.78rem;
	font-weight: 500;
	cursor: pointer;
	text-align: left;
	transition: all 0.15s ease;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.demo-pill-btn:hover {
	color: var(--fg);
	border-color: var(--accent);
	background: var(--card-hover);
}

/* Transcript Textarea */
.transcript-wrapper {
	margin-top: 1rem;
}

.transcript-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.5rem;
	font-size: 0.85rem;
}

.transcript-area {
	width: 100%;
	min-height: 140px;
	padding: 0.85rem;
	border-radius: var(--radius);
	background: var(--bg-subtle);
	border: 1px solid var(--border);
	color: var(--fg);
	font-family: var(--font-sans);
	font-size: 0.92rem;
	line-height: 1.55;
	resize: vertical;
	transition: border-color 0.15s ease;
}

.transcript-area:focus {
	border-color: var(--accent);
	outline: none;
}

/* Form Controls & AI Config Grid */
.config-section {
	margin-top: 1.25rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--border);
	display: grid;
	gap: 1rem;
}

.config-grid-2 {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.85rem;
}

@media (min-width: 30rem) {
	.config-grid-2 {
		grid-template-columns: 1fr 1fr;
	}
}

.form-label {
	display: block;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--fg-muted);
	margin-bottom: 0.35rem;
}

.select-custom,
.input-custom {
	width: 100%;
	padding: 0.6rem 0.8rem;
	border-radius: var(--radius);
	background: var(--bg-subtle);
	border: 1px solid var(--border);
	color: var(--fg);
	font-size: 0.88rem;
	font-weight: 500;
	outline: none;
	transition: border-color 0.15s ease;
}

.select-custom:focus,
.input-custom:focus {
	border-color: var(--accent);
}

/* Transformation Button */
.generate-btn {
	width: 100%;
	padding: 0.95rem 1.5rem;
	border-radius: var(--radius);
	background: var(--accent-gradient);
	border: none;
	color: #000;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	cursor: pointer;
	box-shadow: 0 4px 20px var(--accent-glow);
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	margin-top: 0.5rem;
}

.generate-btn:hover:not(:disabled) {
	filter: brightness(1.08);
	transform: translateY(-1px);
}

.generate-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}

/* Post Studio Preview & Editor Area */
.studio-tabs {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	border-bottom: 1px solid var(--border);
	padding-bottom: 0.75rem;
	margin-bottom: 1.25rem;
	overflow-x: auto;
}

.studio-tab-btn {
	padding: 0.45rem 0.85rem;
	border: 1px solid transparent;
	border-radius: var(--radius-sm);
	background: transparent;
	color: var(--fg-muted);
	font-size: 0.85rem;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	transition: all 0.15s ease;
}

.studio-tab-btn:hover {
	color: var(--fg);
	background: var(--bg-subtle);
}

.studio-tab-btn.active {
	background: var(--bg-subtle);
	color: var(--accent);
	border-color: var(--border);
}

/* Article Header in Preview */
.article-header {
	margin-bottom: 1.5rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid var(--border);
}

.article-meta-row {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
	margin-bottom: 0.75rem;
	font-size: 0.82rem;
	color: var(--fg-muted);
}

.format-badge {
	padding: 0.2rem 0.65rem;
	border-radius: var(--radius-full);
	background: rgba(99, 102, 241, 0.15);
	color: var(--brand-indigo);
	font-weight: 600;
	font-size: 0.75rem;
	text-transform: uppercase;
}

.tone-badge {
	padding: 0.2rem 0.65rem;
	border-radius: var(--radius-full);
	background: rgba(245, 158, 11, 0.15);
	color: var(--accent);
	font-weight: 600;
	font-size: 0.75rem;
}

.post-title-editable {
	font-family: var(--font-serif);
	font-size: clamp(1.5rem, 3.5vw, 2.15rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
	margin: 0 0 0.75rem;
	color: var(--fg);
}

.post-summary-box {
	background: var(--bg-subtle);
	border-left: 3px solid var(--accent);
	padding: 0.75rem 1rem;
	border-radius: 0 var(--radius) var(--radius) 0;
	font-size: 0.95rem;
	color: var(--fg-muted);
	font-style: italic;
	margin-bottom: 1.25rem;
}

/* Rendered Markdown Styling */
.rendered-article {
	font-size: 1.02rem;
	line-height: 1.75;
	color: var(--fg);
}

.rendered-article h1,
.rendered-article h2,
.rendered-article h3,
.rendered-article h4 {
	font-family: var(--font-serif);
	letter-spacing: -0.02em;
	color: var(--fg);
	margin-top: 1.75rem;
	margin-bottom: 0.65rem;
	line-height: 1.25;
}

.rendered-article h1 {
	font-size: 1.75rem;
}

.rendered-article h2 {
	font-size: 1.35rem;
	border-bottom: 1px solid var(--border);
	padding-bottom: 0.4rem;
}

.rendered-article h3 {
	font-size: 1.15rem;
}

.rendered-article p {
	margin: 0 0 1.15rem;
}

.rendered-article blockquote {
	margin: 1.5rem 0;
	padding: 1rem 1.25rem;
	background: rgba(99, 102, 241, 0.08);
	border-left: 3px solid var(--brand-indigo);
	border-radius: 0 var(--radius) var(--radius) 0;
	font-family: var(--font-serif);
	font-size: 1.08rem;
	font-style: italic;
	color: var(--fg);
}

.rendered-article ul,
.rendered-article ol {
	margin: 0 0 1.25rem;
	padding-left: 1.5rem;
}

.rendered-article li {
	margin-bottom: 0.4rem;
}

.rendered-article hr {
	border: 0;
	height: 1px;
	background: var(--border);
	margin: 2rem 0;
}

.rendered-article code {
	font-family: var(--font-mono);
	font-size: 0.88em;
	background: var(--bg-subtle);
	padding: 0.15rem 0.4rem;
	border-radius: 4px;
	border: 1px solid var(--border);
}

.rendered-article pre {
	background: var(--bg-subtle);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1rem;
	overflow-x: auto;
	margin: 1.25rem 0;
}

.rendered-article pre code {
	background: transparent;
	padding: 0;
	border: none;
	font-size: 0.88rem;
}

/* Key Takeaways Card */
.takeaways-box {
	background: var(--bg-subtle);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.25rem;
	margin: 1.5rem 0;
}

.takeaways-title {
	font-size: 0.88rem;
	font-weight: 700;
	color: var(--accent);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin: 0 0 0.75rem;
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

.takeaways-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 0.5rem;
}

.takeaways-item {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	font-size: 0.92rem;
	color: var(--fg);
}

.takeaway-bullet {
	color: var(--brand-emerald);
	font-weight: 800;
	flex-shrink: 0;
}

/* Markdown Raw Editor */
.markdown-editor-pane {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.editor-toolbar {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	flex-wrap: wrap;
	padding: 0.4rem;
	background: var(--bg-subtle);
	border-radius: var(--radius-sm);
	border: 1px solid var(--border);
}

.toolbar-btn {
	padding: 0.3rem 0.55rem;
	background: transparent;
	border: 1px solid transparent;
	border-radius: 4px;
	color: var(--fg-muted);
	font-size: 0.82rem;
	font-weight: 600;
	cursor: pointer;
}

.toolbar-btn:hover {
	background: var(--card-bg);
	color: var(--fg);
	border-color: var(--border);
}

.raw-markdown-area {
	width: 100%;
	min-height: 480px;
	padding: 1rem;
	background: var(--bg-subtle);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	color: var(--fg);
	font-family: var(--font-mono);
	font-size: 0.9rem;
	line-height: 1.6;
	resize: vertical;
}

.raw-markdown-area:focus {
	border-color: var(--accent);
	outline: none;
}

/* Social & Distribution Tab */
.social-card {
	background: var(--bg-subtle);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.25rem;
	margin-bottom: 1rem;
}

.social-card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.75rem;
}

.social-title {
	font-size: 0.92rem;
	font-weight: 700;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

.social-content-preview {
	background: var(--card-bg);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 1rem;
	font-size: 0.88rem;
	white-space: pre-wrap;
	line-height: 1.5;
	color: var(--fg);
}

/* SEO Inspector */
.seo-grid {
	display: grid;
	gap: 1rem;
}

.seo-item {
	background: var(--bg-subtle);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1rem;
}

.seo-item-title {
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--fg-dim);
	margin-bottom: 0.4rem;
}

.google-preview-card {
	background: var(--card-bg);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 1rem;
}

.google-url {
	font-size: 0.75rem;
	color: var(--fg-dim);
	margin-bottom: 0.2rem;
}

.google-title {
	font-size: 1.05rem;
	color: #60a5fa;
	font-weight: 600;
	margin: 0 0 0.35rem;
	cursor: pointer;
}

.google-desc {
	font-size: 0.82rem;
	color: var(--fg-muted);
	line-height: 1.4;
	margin: 0;
}

/* Action Floating Bar / Export Row */
.action-bar-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	flex-wrap: wrap;
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--border);
}

/* Saved Posts Archive Screen */
.saved-posts-container {
	display: grid;
	gap: 1rem;
}

.post-card-item {
	background: var(--card-bg);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.25rem;
	transition: all 0.15s ease;
	display: grid;
	gap: 0.75rem;
}

.post-card-item:hover {
	border-color: var(--border-light);
	box-shadow: var(--shadow-sm);
}

.post-card-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
}

.post-card-title {
	font-family: var(--font-serif);
	font-size: 1.25rem;
	font-weight: 700;
	margin: 0 0 0.35rem;
	color: var(--fg);
	cursor: pointer;
}

.post-card-title:hover {
	color: var(--accent);
}

.post-card-excerpt {
	font-size: 0.9rem;
	color: var(--fg-muted);
	line-height: 1.5;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.post-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	flex-wrap: wrap;
	padding-top: 0.75rem;
	border-top: 1px solid var(--border);
	font-size: 0.8rem;
	color: var(--fg-dim);
}

/* Toast Notifications */
.toast-notice {
	position: fixed;
	bottom: 2rem;
	right: 2rem;
	background: #1e293b;
	color: #fff;
	border: 1px solid #334155;
	padding: 0.75rem 1.25rem;
	border-radius: var(--radius);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
	font-size: 0.88rem;
	font-weight: 600;
	z-index: 100;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	animation: slide-up 0.2s ease-out;
}

@keyframes slide-up {
	from {
		transform: translateY(20px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

/* Utility classes */
.flex-between {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.btn-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: var(--radius-sm);
	background: var(--bg-subtle);
	border: 1px solid var(--border);
	color: var(--fg-muted);
	cursor: pointer;
}

.btn-icon:hover {
	color: var(--fg);
	border-color: var(--border-light);
}

.btn-icon.active {
	color: var(--accent);
	background: rgba(245, 158, 11, 0.15);
	border-color: var(--accent);
}

.tag-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.keyword-tag {
	font-size: 0.75rem;
	padding: 0.15rem 0.5rem;
	background: var(--card-bg);
	border: 1px solid var(--border);
	border-radius: var(--radius-full);
	color: var(--fg-muted);
}
