:root {
	--primary: #3b82f6;
	--primary-dark: #2563eb;
	--bg: #ffffff;
	--bg-secondary: #f8fafc;
	--bg-tertiary: #f1f5f9;
	--text: #1e293b;
	--text-secondary: #64748b;
	--text-tertiary: #94a3b8;
	--border: #e2e8f0;
	--shadow: rgba(0, 0, 0, 0.05);
	--shadow-md: rgba(0, 0, 0, 0.1);
	--shadow-lg: rgba(0, 0, 0, 0.15);
	--code-bg: #f1f5f9;
	--callout-bg: #eff6ff;
	--callout-border: #3b82f6;
}

[data-theme="dark"] {
	--primary: #60a5fa;
	--primary-dark: #3b82f6;
	--bg: #0f172a;
	--bg-secondary: #1e293b;
	--bg-tertiary: #334155;
	--text: #f1f5f9;
	--text-secondary: #cbd5e1;
	--text-tertiary: #94a3b8;
	--border: #334155;
	--shadow: rgba(0, 0, 0, 0.3);
	--shadow-md: rgba(0, 0, 0, 0.4);
	--shadow-lg: rgba(0, 0, 0, 0.5);
	--code-bg: #1e293b;
	--callout-bg: #1e3a5f;
	--callout-border: #60a5fa;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	font-size: 16px;
	scroll-behavior: smooth;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
		"Helvetica Neue", Arial, sans-serif;
	line-height: 1.7;
	color: var(--text);
	background-color: var(--bg);
	transition: background-color 0.3s ease, color 0.3s ease;
}

/* Layout */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2rem;
}

.narrow-container {
	max-width: 780px;
	margin: 0 auto;
}

/* Header */
header {
	background: var(--bg);
	border-bottom: 1px solid var(--border);
}

.header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 0;
}

.site-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--text);
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.site-title:hover {
	color: var(--primary);
}

.site-logo {
	width: 32px;
	height: 32px;
	object-fit: contain;
}

/* Icon Styles */
.icon-title {
	width: 24px;
	height: 24px;
	stroke-width: 2;
}

.icon-nav {
	width: 18px;
	height: 18px;
	stroke-width: 2;
}

.icon-theme {
	width: 20px;
	height: 20px;
	stroke-width: 2;
	color: var(--text);
}

.theme-toggle:hover .icon-theme {
	color: var(--primary);
}

.icon-footer,
.icon-profile {
	width: 16px;
	height: 16px;
	stroke-width: 2;
	margin-right: 0.25rem;
}

.icon-section {
	width: 24px;
	height: 24px;
	stroke-width: 2;
	margin-right: 0.5rem;
}

.icon-post {
	width: 14px;
	height: 14px;
	stroke-width: 2;
	margin-right: 0.25rem;
}

.icon-search-result {
	width: 16px;
	height: 16px;
	stroke-width: 2;
	margin-right: 0.5rem;
	vertical-align: middle;
}

.icon-search-result-small {
	width: 14px;
	height: 14px;
	stroke-width: 2;
	margin-right: 0.25rem;
	vertical-align: middle;
}

.icon-docs-header {
	width: 32px;
	height: 32px;
	stroke-width: 2;
	margin-right: 0.5rem;
	vertical-align: middle;
}

.icon-post-meta {
	width: 16px;
	height: 16px;
	stroke-width: 2;
	margin-right: 0.25rem;
	vertical-align: middle;
}

/* Navigation */
nav {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

nav a {
	color: var(--text-secondary);
	text-decoration: none;
	font-weight: 500;
	transition: color 0.2s;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

nav a:hover {
	color: var(--primary);
}

/* Header Search */
.header-search {
	position: relative;
	display: flex;
	align-items: center;
}

.icon-search-input {
	position: absolute;
	left: 0.75rem;
	width: 18px;
	height: 18px;
	stroke-width: 2;
	color: var(--text-secondary);
	pointer-events: none;
	z-index: 1;
}

.header-search-input {
	width: 250px;
	padding: 0.5rem 1rem 0.5rem 2.5rem;
	border: 1px solid var(--border);
	border-radius: 0.5rem;
	background: var(--bg);
	color: var(--text);
	font-size: 0.9rem;
	transition: all 0.2s;
}

.header-search-input:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.header-search-input::placeholder {
	color: var(--text-secondary);
	opacity: 0.7;
}

.header-search-results {
	position: absolute;
	top: calc(100% + 0.5rem);
	right: 0;
	width: 400px;
	max-height: 400px;
	overflow-y: auto;
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: 0.5rem;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	display: none;
	z-index: 1000;
}

.header-search-results.active {
	display: block;
}

.header-search-result-item {
	display: block;
	padding: 1rem;
	border-bottom: 1px solid var(--border);
	cursor: pointer;
	transition: background-color 0.2s;
	text-decoration: none;
}

.header-search-result-item:last-child {
	border-bottom: none;
}

.header-search-result-item:hover {
	background-color: var(--bg-secondary);
}

.header-search-result-title {
	font-weight: 600;
	color: var(--text);
	margin-bottom: 0.25rem;
	padding-left: 0.5rem;
}

.header-search-result-date {
	font-size: 0.85rem;
	color: var(--text-secondary);
	margin-bottom: 0.5rem;
	padding-left: 0.5rem;
}

.header-search-result-context {
	font-size: 0.9rem;
	color: var(--text-secondary);
	margin-bottom: 0.5rem;
	padding-left: 0.5rem;
	line-height: 1.5;
}

.header-search-result-context mark {
	background-color: rgba(99, 102, 241, 0.2);
	color: var(--primary);
	font-weight: 600;
	padding: 0.1em 0.2em;
	border-radius: 0.2em;
}

[data-theme="dark"] .header-search-result-context mark {
	background-color: rgba(99, 102, 241, 0.3);
	color: #a5b4fc;
}

.header-search-result-tags {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
	padding-left: 0.5rem;
}

.header-search-result-tag {
	display: inline-block;
	padding: 0.25rem 0.5rem;
	background: var(--primary);
	color: white;
	border-radius: 0.25rem;
	font-size: 0.75rem;
}

.header-search-no-results {
	padding: 1rem;
	text-align: center;
	color: var(--text-secondary);
}

/* Responsive header search */
@media (max-width: 768px) {
	.header-search {
		display: none;
	}
}

/* Theme Toggle */
.theme-toggle {
	background: none;
	border: none;
	cursor: pointer;
	font-size: 1.5rem;
	padding: 0.5rem;
	border-radius: 0.5rem;
	transition: background-color 0.2s;
}

.theme-toggle:hover {
	background-color: var(--bg-secondary);
}

/* Profile Section */
.profile-section {
	padding: 4rem 0;
	text-align: center;
	border-bottom: 1px solid var(--border);
}

.profile-avatar {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	margin: 0 auto 1.5rem;
	object-fit: cover;
	border: 4px solid var(--border);
}

.profile-name {
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
}

.profile-bio {
	color: var(--text-secondary);
	max-width: 600px;
	margin: 0 auto 1.5rem;
}

.profile-links {
	display: flex;
	justify-content: center;
	gap: 1rem;
}

.profile-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	background-color: var(--bg-secondary);
	color: var(--text);
	text-decoration: none;
	border-radius: 0.5rem;
	transition: all 0.2s;
}

.profile-link:hover {
	background-color: var(--primary);
	color: white;
	transform: translateY(-2px);
}

/* Search Bar */
.search-section {
	padding: 2rem 0;
}

.search-box {
	width: 100%;
	padding: 1rem 1.5rem;
	font-size: 1rem;
	border: 2px solid var(--border);
	border-radius: 0.75rem;
	background-color: var(--bg);
	color: var(--text);
	transition: all 0.2s;
}

.search-box:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Tags */
.tags-section {
	padding: 2rem 0;
	border-bottom: 1px solid var(--border);
}

.tags-title {
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.tags-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.tag {
	display: inline-block;
	padding: 0.5rem 1rem;
	background-color: var(--bg-secondary);
	color: var(--text);
	text-decoration: none;
	border-radius: 2rem;
	font-size: 0.9rem;
	font-weight: 500;
	transition: all 0.2s;
}

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

.tag-count {
	color: var(--text-tertiary);
	font-size: 0.85rem;
	margin-left: 0.25rem;
}

/* Posts Grid */
.posts-section {
	padding: 3rem 0;
}

.section-title {
	font-size: 1.75rem;
	font-weight: 700;
	margin-bottom: 2rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.posts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 2rem;
}

.post-card {
	background-color: var(--bg-secondary);
	border-radius: 1rem;
	padding: 1.5rem;
	text-decoration: none;
	color: var(--text);
	transition: all 0.3s;
	border: 1px solid var(--border);
}

.post-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 24px var(--shadow-md);
	border-color: var(--primary);
}

.post-meta {
	display: flex;
	gap: 0.75rem;
	margin-bottom: 1rem;
	font-size: 0.875rem;
	color: var(--text-secondary);
}

.post-date {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.post-title {
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 0.75rem;
	line-height: 1.4;
}

.post-summary {
	color: var(--text-secondary);
	font-size: 0.95rem;
	line-height: 1.6;
	margin-bottom: 1rem;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.post-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.post-tag {
	padding: 0.25rem 0.75rem;
	background-color: var(--bg-tertiary);
	color: var(--text-secondary);
	border-radius: 1rem;
	font-size: 0.8rem;
	font-weight: 500;
}

/* Post Content */
.post-header {
	padding: 3rem 0;
	border-bottom: 1px solid var(--border);
}

.post-header-title {
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 1rem;
}

.post-header-meta {
	display: flex;
	gap: 1.5rem;
	color: var(--text-secondary);
	font-size: 0.95rem;
}

.post-content {
	padding: 3rem 0;
	font-size: 1.05rem;
	line-height: 1.8;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4 {
	font-weight: 700;
	line-height: 1.3;
	margin-top: 2rem;
	margin-bottom: 1rem;
	color: var(--text);
	white-space: pre-wrap;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

.post-content h1 {
	font-size: 2rem;
}

.post-content h2 {
	font-size: 1.6rem;
}

.post-content h3 {
	font-size: 1.3rem;
}

.post-content p {
	margin-bottom: 0.5rem;
}

.post-content a {
	color: var(--primary);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s;
}

.post-content a:hover {
	border-bottom-color: var(--primary);
}

.post-content strong {
	font-weight: 600;
	color: var(--text);
}

.post-content code {
	background-color: var(--code-bg);
	padding: 0.2rem 0.4rem;
	border-radius: 0.25rem;
	font-size: 0.9em;
	font-family: "Consolas", "Monaco", "Courier New", monospace;
}

.post-content pre {
	background-color: var(--code-bg);
	padding: 1.5rem;
	border-radius: 0.75rem;
	overflow-x: auto;
	margin: 1.5rem 0;
	border: 1px solid var(--border);
	tab-size: 4;
	-moz-tab-size: 4;
}

.post-content pre code {
	background: none;
	padding: 0;
	font-size: 0.9rem;
	line-height: 1.6;
	tab-size: inherit;
	-moz-tab-size: inherit;
}

/* Language-specific tab sizes for blog posts */
.post-content pre code.language-javascript,
.post-content pre code.language-typescript,
.post-content pre code.language-jsx,
.post-content pre code.language-tsx,
.post-content pre code.language-json,
.post-content pre code.language-css,
.post-content pre code.language-scss,
.post-content pre code.language-html {
	tab-size: 2;
	-moz-tab-size: 2;
}

.post-content pre code.language-python,
.post-content pre code.language-go,
.post-content pre code.language-java,
.post-content pre code.language-c,
.post-content pre code.language-cpp,
.post-content pre code.language-csharp,
.post-content pre code.language-php,
.post-content pre code.language-ruby,
.post-content pre code.language-rust,
.post-content pre code.language-kotlin,
.post-content pre code.language-swift {
	tab-size: 4;
	-moz-tab-size: 4;
}

.post-content pre code.language-yaml,
.post-content pre code.language-yml {
	tab-size: 2;
	-moz-tab-size: 2;
}

.post-content pre code.language-makefile,
.post-content pre code.language-make {
	tab-size: 8;
	-moz-tab-size: 8;
}

.post-content blockquote {
	border-left: 4px solid var(--primary);
	padding-left: 1.5rem;
	margin: 1.5rem 0;
	color: var(--text-secondary);
	font-style: italic;
}

.post-content ul,
.post-content ol {
	margin: 1.5rem 0;
	padding-left: 2rem;
}

.post-content li {
	margin-bottom: 0.5rem;
}

/* Nested list styling - match Notion's behavior */
.post-content ol ol {
	list-style-type: lower-alpha;
	margin: 0.5rem 0;
}

.post-content ol ol ol {
	list-style-type: lower-roman;
}

.post-content img {
	max-width: 70%;
	height: auto;
	border-radius: 0.75rem;
	margin: 1.5rem auto;
	display: block;
}

.post-content figure {
	margin: 2rem 0;
}

.post-content figcaption {
	text-align: center;
	color: var(--text-secondary);
	font-size: 0.9rem;
	margin-top: 0.75rem;
}

.post-content hr {
	border: none;
	border-top: 2px solid var(--border);
	margin: 2rem 0;
}

/* Callout */
.callout {
	display: flex;
	gap: 1rem;
	padding: 1rem 1.5rem;
	background-color: var(--callout-bg);
	border-left: 4px solid var(--callout-border);
	border-radius: 0.5rem;
	margin: 1.5rem 0;
}

.callout-icon {
	font-size: 1.5rem;
	flex-shrink: 0;
}

.callout-text {
	flex: 1;
}

.callout-text p {
	margin-bottom: 1rem;
}

.callout-text p:last-child {
	margin-bottom: 0;
}

/* Toggle/Details */
details {
	margin: 1.5rem 0;
	padding: 1rem;
	background-color: var(--bg-secondary);
	border-radius: 0.5rem;
	border: 1px solid var(--border);
}

summary {
	cursor: pointer;
	font-weight: 600;
	user-select: none;
	padding: 0.5rem;
}

summary:hover {
	color: var(--primary);
}

/* Bookmark */
.bookmark {
	margin: 1.5rem 0;
	border: 1px solid var(--border);
	border-radius: 0.5rem;
	overflow: hidden;
	transition: all 0.2s;
}

.bookmark:hover {
	border-color: var(--primary);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.bookmark-link {
	display: block;
	padding: 1rem 1.5rem;
	text-decoration: none;
	color: var(--text);
}

.bookmark-title {
	font-weight: 600;
	margin-bottom: 0.5rem;
	color: var(--text);
}

.bookmark-url {
	font-size: 0.9rem;
	color: var(--text-secondary);
	word-break: break-all;
}

/* Embeds */
.embed {
	margin: 1.5rem 0;
	border-radius: 0.5rem;
	overflow: hidden;
}

.twitter-embed {
	display: flex;
	justify-content: center;
	min-height: 200px;
}

.youtube-embed {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 aspect ratio */
	height: 0;
	overflow: hidden;
}

.youtube-embed iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.generic-embed {
	border: 1px solid var(--border);
	border-radius: 0.5rem;
}

.generic-embed iframe {
	width: 100%;
	min-height: 400px;
}

/* Link Preview */
.link-preview {
	margin: 1.5rem 0;
	border: 1px solid var(--border);
	border-radius: 0.5rem;
	padding: 1rem 1.5rem;
	background-color: var(--bg-secondary);
	transition: all 0.2s;
}

.link-preview:hover {
	border-color: var(--primary);
}

.link-preview-link {
	text-decoration: none;
	color: var(--primary);
	word-break: break-all;
}

.link-preview-url {
	font-size: 0.9rem;
}

/* Notion Table */
.notion-table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.5rem 0;
	overflow-x: auto;
	display: block;
}

.notion-table td {
	border: 1px solid var(--border);
	padding: 0.75rem;
	text-align: left;
}

.notion-table tr:first-child td {
	background-color: var(--bg-secondary);
}

.notion-table tr:hover td {
	background-color: var(--bg-secondary);
}

/* Search highlight */
.search-highlight {
	background-color: #ffeb3b;
	color: #000;
	padding: 0.2em 0.3em;
	border-radius: 0.2em;
	font-weight: 600;
	animation: highlight-pulse 2s ease-in-out;
}

[data-theme="dark"] .search-highlight {
	background-color: #fdd835;
	color: #000;
}

@keyframes highlight-pulse {
	0%,
	100% {
		background-color: #ffeb3b;
	}
	50% {
		background-color: #ffc107;
	}
}

@keyframes highlight-pulse-dark {
	0%,
	100% {
		background-color: #fdd835;
	}
	50% {
		background-color: #f9a825;
	}
}

[data-theme="dark"] .search-highlight {
	animation: highlight-pulse-dark 2s ease-in-out;
}

/* Custom emoji */
.custom-emoji {
	display: inline-block;
	width: 1.5em;
	height: 1.5em;
	object-fit: contain;
	vertical-align: middle;
	margin: 0 0.1em;
}

h1 .custom-emoji,
h2 .custom-emoji,
h3 .custom-emoji {
	width: 1.2em;
	height: 1.2em;
	display: inline-block;
	vertical-align: middle;
}

/* Link mentions (Twitter, etc) */
.post-content a[href*="twitter.com"],
.post-content a[href*="x.com"],
.doc-body a[href*="twitter.com"],
.doc-body a[href*="x.com"] {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	padding: 0.25rem 0.5rem;
	background-color: var(--bg-secondary);
	border: 1px solid var(--border);
	border-radius: 0.375rem;
	text-decoration: none;
	transition: all 0.2s;
	font-size: 0.95em;
}

.post-content a[href*="twitter.com"]:hover,
.post-content a[href*="x.com"]:hover,
.doc-body a[href*="twitter.com"]:hover,
.doc-body a[href*="x.com"]:hover {
	background-color: var(--primary);
	color: white;
	border-color: var(--primary);
}

.post-content a[href*="twitter.com"]::before,
.post-content a[href*="x.com"]::before,
.doc-body a[href*="twitter.com"]::before,
.doc-body a[href*="x.com"]::before {
	content: "𝕏";
	font-weight: bold;
}

/* Notion Inline Table of Contents */
.notion-toc {
	margin: 1.5rem 0;
	padding: 1rem 1.5rem;
	background-color: var(--bg-secondary);
	border-left: 3px solid var(--primary);
	border-radius: 0.5rem;
}

.notion-toc-title {
	font-weight: 600;
	margin-bottom: 0.75rem;
	color: var(--text);
	font-size: 1rem;
}

.notion-toc-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.notion-toc-item {
	margin: 0.5rem 0;
}

.notion-toc-item.level-1 {
	margin-left: 0;
}

.notion-toc-item.level-2 {
	margin-left: 1.5rem;
}

.notion-toc-item.level-3 {
	margin-left: 3rem;
}

.notion-toc-link {
	color: var(--text-secondary);
	text-decoration: none;
	transition: color 0.2s;
	display: block;
	font-size: 0.95rem;
}

.notion-toc-link:hover {
	color: var(--primary);
}

.toggle-content {
	padding: 1rem 0.5rem 0;
}

/* Footer */
footer {
	border-top: 1px solid var(--border);
	padding: 3rem 0;
	margin-top: 4rem;
	text-align: center;
	color: var(--text-secondary);
}

.footer-content {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.footer-links {
	display: flex;
	justify-content: center;
	gap: 2rem;
}

.footer-link {
	color: var(--text-secondary);
	text-decoration: none;
	transition: color 0.2s;
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
}

.footer-link:hover {
	color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
	.container {
		padding: 0 1rem;
	}

	.header-content {
		flex-direction: column;
		gap: 1rem;
	}

	nav {
		gap: 1rem;
	}

	.posts-grid {
		grid-template-columns: 1fr;
	}

	.profile-section {
		padding: 2rem 0;
	}

	.profile-name {
		font-size: 1.5rem;
	}

	.post-header-title {
		font-size: 1.75rem;
	}

	.post-content {
		font-size: 1rem;
	}

	.tags-list {
		gap: 0.5rem;
	}
}

/* Loading Animation */
.loading {
	display: inline-block;
	width: 20px;
	height: 20px;
	border: 3px solid var(--border);
	border-radius: 50%;
	border-top-color: var(--primary);
	animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

/* Docs Layout */
.docs-layout {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 3rem;
	max-width: 1400px;
	margin: 0 auto;
	padding: 2rem;
	position: relative;
	transition: grid-template-columns 0.3s ease-out;
}

.docs-layout.sidebar-collapsed {
	grid-template-columns: 0 1fr;
	gap: 0;
}

/* Desktop Toggle Button (inside sidebar header, right side) */
.docs-sidebar-toggle-desktop {
	display: none;
	padding: 0.5rem;
	background: transparent;
	border: 1px solid var(--border);
	border-radius: 0.375rem;
	color: var(--text-secondary);
	cursor: pointer;
	transition: all 0.2s;
}

.docs-sidebar-toggle-desktop:hover {
	background-color: var(--bg-secondary);
	color: var(--text);
}

@media (min-width: 1025px) {
	.docs-sidebar-toggle-desktop {
		display: flex;
		align-items: center;
		justify-content: center;
	}
}

/* Open Button (outside sidebar, fixed on left edge) */
/* Shows when sidebar is collapsed (desktop) or closed (mobile) */
.docs-sidebar-toggle-open {
	position: fixed;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 56px;
	border-radius: 0 0.5rem 0.5rem 0;
	background-color: var(--bg-secondary);
	color: var(--text);
	border: 1px solid var(--border);
	border-left: none;
	box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
	cursor: pointer;
	z-index: 998;
	transition: all 0.3s;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
}

.docs-sidebar-toggle-open:hover {
	background-color: var(--bg);
	box-shadow: 2px 0 12px rgba(0, 0, 0, 0.15);
}

/* Show on mobile when sidebar is closed */
@media (max-width: 1024px) {
	.docs-sidebar-toggle-open {
		opacity: 1;
		pointer-events: auto;
	}

	.docs-sidebar.open ~ .docs-sidebar-toggle-open {
		opacity: 0;
		pointer-events: none;
	}
}

/* Show on desktop when sidebar is collapsed */
@media (min-width: 1025px) {
	.docs-layout.sidebar-collapsed .docs-sidebar-toggle-open {
		opacity: 1;
		pointer-events: auto;
	}

	.docs-layout:not(.sidebar-collapsed) .docs-sidebar-toggle-open {
		opacity: 0;
		pointer-events: none;
	}
}

.docs-sidebar {
	position: sticky;
	top: 2rem;
	height: calc(100vh - 4rem);
	overflow-y: auto;
	padding-right: 1rem;
	transition: transform 0.3s ease-out, width 0.3s ease-out;
	padding-top: 1rem;
	background-color: var(--bg);
	border-right: 1px solid var(--border);
	padding-left: 1rem;
	margin-left: -1rem;
}

.docs-sidebar.collapsed {
	transform: translateX(-100%);
	width: 0;
	padding: 0;
	overflow: hidden;
	border-right: none;
}

/* Sidebar inherits theme background */
[data-theme="light"] .docs-sidebar h2,
[data-theme="light"] .docs-sidebar a,
[data-theme="light"] .docs-sidebar .docs-tree-link {
	color: #1e293b;
}

[data-theme="light"] .docs-sidebar .docs-tree-link:hover {
	color: var(--primary);
	background-color: #f1f5f9;
}

[data-theme="light"]
	.docs-sidebar
	.docs-tree-item.active
	> .docs-tree-item-wrapper
	> .docs-tree-link {
	color: var(--primary);
	font-weight: 600;
	background-color: #e0e7ff;
}

/* Dark mode sidebar */
[data-theme="dark"] .docs-sidebar {
	border-right-color: rgba(255, 255, 255, 0.1);
}

.docs-sidebar-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1.5rem;
}

.docs-sidebar-header h2 {
	font-size: 1.5rem;
	margin: 0;
}

.docs-sidebar-header a {
	color: var(--text);
	text-decoration: none;
}

.docs-sidebar-header a:hover {
	color: var(--primary);
}

.docs-sidebar-close {
	display: none;
	width: 32px;
	height: 32px;
	padding: 0;
	background: none;
	border: none;
	cursor: pointer;
	color: var(--text-secondary);
	border-radius: 0.25rem;
	transition: all 0.2s;
}

.docs-sidebar-close:hover {
	background-color: var(--bg-secondary);
	color: var(--text);
}

/* Responsive Sidebar */
@media (max-width: 1024px) {
	.docs-layout {
		grid-template-columns: 1fr;
		padding: 1rem;
	}

	.docs-sidebar {
		position: fixed;
		top: 0;
		left: -100%;
		width: 320px;
		max-width: 85vw;
		height: 100vh;
		z-index: 1000;
		padding: 2rem;
		padding-top: 2rem;
		box-shadow: 2px 0 12px rgba(0, 0, 0, 0.2);
		transition: left 0.3s ease-out;
		overflow-y: auto;
		border-right: 1px solid var(--border);
	}

	.docs-sidebar.open {
		left: 0;
	}

	.docs-sidebar-close {
		display: block;
	}

	.docs-sidebar.collapsed {
		transform: none;
	}
}

/* Table of Contents (Right Sidebar) */
.docs-toc {
	position: fixed;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 32px;
	max-height: 80vh;
	overflow-y: auto;
	background-color: var(--bg-secondary);
	border: 1px solid var(--border);
	border-right: none;
	border-radius: 0.5rem 0 0 0.5rem;
	transition: width 0.3s ease-out, padding 0.3s ease-out;
	z-index: 997;
	padding: 0.5rem 0;
	/* Hide scrollbar but keep functionality */
	scrollbar-width: none; /* Firefox */
	-ms-overflow-style: none; /* IE and Edge */
}

.docs-toc::-webkit-scrollbar {
	display: none; /* Chrome, Safari, Opera */
}

.docs-toc:hover {
	width: 280px;
	padding: 1rem;
}

.docs-toc-header {
	display: none;
}

.docs-toc-nav {
	width: 100%;
}

.docs-toc-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.docs-toc-item {
	margin: 0;
	opacity: 0;
	transition: opacity 0.3s ease-out;
}

.docs-toc:hover .docs-toc-item {
	opacity: 1;
}

.docs-toc-item::before {
	content: "";
	position: fixed;
	right: 10px;
	width: 12px;
	height: 2px;
	background-color: var(--text-secondary);
	opacity: 0.3;
	transition: all 0.3s;
}

.docs-toc:hover .docs-toc-item::before {
	opacity: 0;
}

.docs-toc-link {
	display: block;
	padding: 0.4rem 0.75rem;
	font-size: 0.85rem;
	color: var(--text-secondary);
	text-decoration: none;
	border-left: 2px solid transparent;
	transition: all 0.2s;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.docs-toc:hover .docs-toc-link {
	white-space: normal;
	overflow: visible;
}

.docs-toc-link:hover {
	color: var(--primary);
	border-left-color: var(--primary);
	background-color: var(--bg);
}

.docs-toc-link.active {
	color: var(--primary);
	border-left-color: var(--primary);
	font-weight: 600;
}

.toc-level-1 {
	padding-left: 0;
}

.toc-level-2 {
	padding-left: 1rem;
}

.toc-level-3 {
	padding-left: 2rem;
}

/* Hide ToC only on mobile */
@media (max-width: 768px) {
	.docs-toc {
		display: none;
	}
}

/* Docs Navigation Tree */
.docs-tree {
	list-style: none;
	padding: 0;
	margin: 0;
}

.docs-tree-item {
	margin: 0.25rem 0;
}

.docs-tree-item-wrapper {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.docs-tree-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	padding: 0;
	background: none;
	border: none;
	cursor: pointer;
	color: var(--text-secondary);
	transition: all 0.2s;
	flex-shrink: 0;
}

.docs-tree-toggle:hover {
	color: var(--text);
	background-color: var(--bg-secondary);
	border-radius: 0.25rem;
}

.docs-tree-toggle svg {
	transition: transform 0.2s;
}

.docs-tree-item.collapsed > .docs-tree-item-wrapper .docs-tree-toggle svg {
	transform: rotate(-90deg);
}

.docs-tree-link {
	display: block;
	padding: 0.5rem 0.75rem;
	color: var(--text-secondary);
	text-decoration: none;
	border-radius: 0.5rem;
	transition: all 0.2s;
	font-size: 0.95rem;
	flex: 1;
}

.docs-tree-link:hover {
	background-color: var(--bg-secondary);
	color: var(--text);
}

.docs-tree-item.active > .docs-tree-item-wrapper > .docs-tree-link {
	background-color: var(--primary);
	color: white;
	font-weight: 600;
}

.docs-tree-children {
	list-style: none;
	padding-left: 1.5rem;
	margin-top: 0.25rem;
	border-left: 2px solid var(--border);
	margin-left: 0.5rem;
	overflow: hidden;
	transition: all 0.2s ease-out;
}

.docs-tree-item.collapsed > .docs-tree-children {
	display: none;
}

/* Docs Content */
.docs-content {
	min-width: 0;
}

.doc-header {
	margin-bottom: 2rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--border);
}

.breadcrumb {
	font-size: 0.9rem;
	color: var(--text-secondary);
	margin-bottom: 1rem;
}

.breadcrumb a {
	color: var(--text-secondary);
	text-decoration: none;
}

.breadcrumb a:hover {
	color: var(--primary);
}

.doc-title {
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1.2;
	margin: 0;
}

.doc-body {
	font-size: 1.05rem;
	line-height: 1.8;
}

/* Doc Children Cards */
.doc-children {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--border);
}

.doc-children h3 {
	font-size: 1.5rem;
	margin-bottom: 1.5rem;
}

.doc-children-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 1rem;
}

.doc-child-card {
	padding: 1.5rem;
	background-color: var(--bg-secondary);
	border-radius: 0.75rem;
	text-decoration: none;
	color: var(--text);
	transition: all 0.2s;
	border: 1px solid var(--border);
}

.doc-child-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 16px var(--shadow-md);
	border-color: var(--primary);
}

.doc-child-card h4 {
	font-size: 1.1rem;
	margin-bottom: 0.5rem;
}

.doc-child-count {
	font-size: 0.85rem;
	color: var(--text-tertiary);
}

/* Docs Index */
.docs-index-header {
	text-align: center;
	padding: 3rem 0;
	border-bottom: 1px solid var(--border);
	margin-bottom: 3rem;
}

.docs-index-header h1 {
	font-size: 3rem;
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
}

.docs-index-header p {
	font-size: 1.2rem;
	color: var(--text-secondary);
}

.docs-index-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 2rem;
}

.docs-category-card {
	padding: 2rem;
	background-color: var(--bg-secondary);
	border-radius: 1rem;
	border: 1px solid var(--border);
	transition: all 0.3s;
}

.docs-category-card:hover {
	box-shadow: 0 8px 16px var(--shadow-md);
	border-color: var(--primary);
}

.docs-category-card h2 {
	font-size: 1.5rem;
	margin-bottom: 1rem;
}

.docs-category-card h2 a {
	color: var(--text);
	text-decoration: none;
}

.docs-category-card h2 a:hover {
	color: var(--primary);
}

.docs-category-list {
	list-style: none;
	padding: 0;
	margin: 1rem 0;
}

.docs-category-list li {
	margin: 0.5rem 0;
}

.docs-category-list a {
	color: var(--text-secondary);
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.docs-category-list a:hover {
	color: var(--primary);
}

.doc-count {
	color: var(--text-tertiary);
	font-size: 0.85rem;
}

.docs-category-link {
	display: inline-flex;
	align-items: center;
	color: var(--primary);
	text-decoration: none;
	font-weight: 500;
	margin-top: 1rem;
}

.docs-category-link:hover {
	text-decoration: underline;
}

/* Utilities */
.hidden {
	display: none;
}

.text-center {
	text-align: center;
}

.mt-4 {
	margin-top: 2rem;
}

.mb-4 {
	margin-bottom: 2rem;
}

/* ===== Notion Content Styling ===== */

/* Images */
.doc-body img {
	max-width: 100%;
	height: auto;
	border-radius: 0.5rem;
	margin: 1.5rem auto;
	display: block;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Code Blocks */
.doc-body pre {
	background-color: #1e1e1e !important;
	border-radius: 0.5rem;
	padding: 1.5rem;
	overflow-x: auto;
	margin: 1.5rem 0;
	border: 1px solid var(--border);
	tab-size: 4;
	-moz-tab-size: 4;
}

.doc-body pre code {
	background: none !important;
	padding: 0 !important;
	border-radius: 0;
	font-size: 0.9rem;
	line-height: 1.6;
	color: #d4d4d4 !important;
	font-family: "Monaco", "Menlo", "Ubuntu Mono", "Consolas", "source-code-pro",
		monospace !important;
	tab-size: inherit;
	-moz-tab-size: inherit;
}

/* Preserve rich text formatting in code blocks */
.doc-body pre code strong,
.post-content pre code strong {
	font-weight: 700 !important;
	/* Don't override color - let Notion colors show */
}

.doc-body pre code em,
.post-content pre code em {
	font-style: italic !important;
}

.doc-body pre code u,
.post-content pre code u {
	text-decoration: underline !important;
}

.doc-body pre code del,
.post-content pre code del {
	text-decoration: line-through !important;
}

/* Preserve Notion color spans in code blocks */
.doc-body pre code span[style*="color"],
.post-content pre code span[style*="color"],
.doc-body pre code span[style*="background"],
.post-content pre code span[style*="background"] {
	/* Keep the inline color/background styles */
	opacity: 1 !important;
}

/* Ensure colored text in code blocks has good contrast in dark mode */
[data-theme="dark"]
	.doc-body
	pre
	code
	span[style*="color"]:not([style*="background"]),
[data-theme="dark"]
	.post-content
	pre
	code
	span[style*="color"]:not([style*="background"]) {
	/* Increase brightness for dark mode - text only */
	filter: brightness(1.4) saturate(1.3);
}

/* Light mode: ensure good contrast for text colors */
[data-theme="light"]
	.doc-body
	pre
	code
	span[style*="color"]:not([style*="background"]),
[data-theme="light"]
	.post-content
	pre
	code
	span[style*="color"]:not([style*="background"]) {
	/* Slightly darken for light mode */
	filter: brightness(0.85) saturate(1.1);
}

/* Dark mode: Override Notion background colors with darker versions */
[data-theme="dark"] .doc-body pre code span[style*="background"],
[data-theme="dark"] .post-content pre code span[style*="background"],
[data-theme="dark"] .doc-body span[style*="background"],
[data-theme="dark"] .post-content span[style*="background"] {
	/* Force white text */
	color: #ffffff !important;
	padding: 0.1em 0.3em !important;
	border-radius: 0.25em !important;
}

/* Dark mode: Specific background color overrides */
[data-theme="dark"] .doc-body span[style*="background-color: #ebeced"],
[data-theme="dark"] .post-content span[style*="background-color: #ebeced"],
[data-theme="dark"] .doc-body pre code span[style*="background-color: #ebeced"],
[data-theme="dark"]
	.post-content
	pre
	code
	span[style*="background-color: #ebeced"] {
	background-color: #5a5a5a !important; /* gray_background - darker */
}

[data-theme="dark"] .doc-body span[style*="background-color: #e9e5e3"],
[data-theme="dark"] .post-content span[style*="background-color: #e9e5e3"],
[data-theme="dark"] .doc-body pre code span[style*="background-color: #e9e5e3"],
[data-theme="dark"]
	.post-content
	pre
	code
	span[style*="background-color: #e9e5e3"] {
	background-color: #5c4a3e !important; /* brown_background - darker */
}

[data-theme="dark"] .doc-body span[style*="background-color: #faebdd"],
[data-theme="dark"] .post-content span[style*="background-color: #faebdd"],
[data-theme="dark"] .doc-body pre code span[style*="background-color: #faebdd"],
[data-theme="dark"]
	.post-content
	pre
	code
	span[style*="background-color: #faebdd"] {
	background-color: #8b5a2b !important; /* orange_background - darker */
}

[data-theme="dark"] .doc-body span[style*="background-color: #fbf3db"],
[data-theme="dark"] .post-content span[style*="background-color: #fbf3db"],
[data-theme="dark"] .doc-body pre code span[style*="background-color: #fbf3db"],
[data-theme="dark"]
	.post-content
	pre
	code
	span[style*="background-color: #fbf3db"] {
	background-color: #8b7e3a !important; /* yellow_background - darker */
}

[data-theme="dark"] .doc-body span[style*="background-color: #ddedea"],
[data-theme="dark"] .post-content span[style*="background-color: #ddedea"],
[data-theme="dark"] .doc-body pre code span[style*="background-color: #ddedea"],
[data-theme="dark"]
	.post-content
	pre
	code
	span[style*="background-color: #ddedea"] {
	background-color: #2d5a4e !important; /* green_background - darker */
}

[data-theme="dark"] .doc-body span[style*="background-color: #ddebf1"],
[data-theme="dark"] .post-content span[style*="background-color: #ddebf1"],
[data-theme="dark"] .doc-body pre code span[style*="background-color: #ddebf1"],
[data-theme="dark"]
	.post-content
	pre
	code
	span[style*="background-color: #ddebf1"] {
	background-color: #2d4a5e !important; /* blue_background - darker */
}

[data-theme="dark"] .doc-body span[style*="background-color: #eae4f2"],
[data-theme="dark"] .post-content span[style*="background-color: #eae4f2"],
[data-theme="dark"] .doc-body pre code span[style*="background-color: #eae4f2"],
[data-theme="dark"]
	.post-content
	pre
	code
	span[style*="background-color: #eae4f2"] {
	background-color: #4a3a5e !important; /* purple_background - darker */
}

[data-theme="dark"] .doc-body span[style*="background-color: #f4dfeb"],
[data-theme="dark"] .post-content span[style*="background-color: #f4dfeb"],
[data-theme="dark"] .doc-body pre code span[style*="background-color: #f4dfeb"],
[data-theme="dark"]
	.post-content
	pre
	code
	span[style*="background-color: #f4dfeb"] {
	background-color: #6e2d52 !important; /* pink_background - darker */
}

[data-theme="dark"] .doc-body span[style*="background-color: #fbe4e4"],
[data-theme="dark"] .post-content span[style*="background-color: #fbe4e4"],
[data-theme="dark"] .doc-body pre code span[style*="background-color: #fbe4e4"],
[data-theme="dark"]
	.post-content
	pre
	code
	span[style*="background-color: #fbe4e4"] {
	background-color: #8b3a3a !important; /* red_background - darker */
}

/* Light mode: Keep original background colors */
[data-theme="light"] .doc-body span[style*="background"],
[data-theme="light"] .post-content span[style*="background"] {
	/* Ensure text is readable on light backgrounds */
	color: #1e293b !important;
	padding: 0.1em 0.3em !important;
	border-radius: 0.25em !important;
}

/* Override Highlight.js to preserve Notion formatting */
.doc-body pre code .hljs-strong,
.post-content pre code .hljs-strong,
.doc-body pre code strong.hljs-string,
.post-content pre code strong.hljs-string,
.doc-body pre code strong.hljs-keyword,
.post-content pre code strong.hljs-keyword,
.doc-body pre code strong,
.post-content pre code strong {
	font-weight: 700 !important;
}

.doc-body pre code .hljs-emphasis,
.post-content pre code .hljs-emphasis,
.doc-body pre code em.hljs-string,
.post-content pre code em.hljs-string,
.doc-body pre code em,
.post-content pre code em {
	font-style: italic !important;
}

/* Ensure Highlight.js doesn't override text decorations */
.doc-body pre code u,
.post-content pre code u {
	text-decoration: underline !important;
	text-decoration-skip-ink: none !important;
}

.doc-body pre code del,
.post-content pre code del {
	text-decoration: line-through !important;
}

/* Force Notion background colors to show in code blocks - highest priority */
.doc-body pre code span[style*="background-color"],
.post-content pre code span[style*="background-color"] {
	/* Use attr() to preserve the exact background color from inline style */
	display: inline !important;
	padding: 0.1em 0.3em !important;
	border-radius: 0.25em !important;
}

/* Ensure spans with inline styles are visible */
.doc-body pre code span[style],
.post-content pre code span[style] {
	display: inline !important;
	/* Don't let Highlight.js hide these */
	opacity: 1 !important;
	visibility: visible !important;
}

/* Language-specific tab sizes */
.doc-body pre code.language-javascript,
.doc-body pre code.language-typescript,
.doc-body pre code.language-jsx,
.doc-body pre code.language-tsx,
.doc-body pre code.language-json,
.doc-body pre code.language-css,
.doc-body pre code.language-scss,
.doc-body pre code.language-html {
	tab-size: 2;
	-moz-tab-size: 2;
}

.doc-body pre code.language-python,
.doc-body pre code.language-go,
.doc-body pre code.language-java,
.doc-body pre code.language-c,
.doc-body pre code.language-cpp,
.doc-body pre code.language-csharp,
.doc-body pre code.language-php,
.doc-body pre code.language-ruby,
.doc-body pre code.language-rust,
.doc-body pre code.language-kotlin,
.doc-body pre code.language-swift {
	tab-size: 4;
	-moz-tab-size: 4;
}

.doc-body pre code.language-yaml,
.doc-body pre code.language-yml {
	tab-size: 2;
	-moz-tab-size: 2;
}

.doc-body pre code.language-makefile,
.doc-body pre code.language-make {
	tab-size: 8;
	-moz-tab-size: 8;
}

.doc-body code {
	background-color: rgba(135, 131, 120, 0.15);
	color: #eb5757;
	padding: 0.2rem 0.4rem;
	border-radius: 0.25rem;
	font-size: 0.9em;
	font-family: "Monaco", "Menlo", "Ubuntu Mono", "Consolas", monospace;
}

/* Callouts - Enhanced */
.callout {
	display: flex;
	gap: 1rem;
	padding: 1rem 1.25rem;
	border-radius: 0.5rem;
	background-color: var(--bg-secondary);
	margin: 1.5rem 0;
	border-left: 3px solid var(--primary);
}

.callout-icon {
	font-size: 1.5rem;
	flex-shrink: 0;
	line-height: 1.5;
}

.callout-content {
	flex: 1;
}

.callout-content p:first-child {
	margin-top: 0;
}

.callout-content p:last-child {
	margin-bottom: 0;
}

/* Quotes */
.doc-body blockquote {
	border-left: 3px solid var(--primary);
	padding-left: 1.5rem;
	margin: 1.5rem 0;
	color: var(--text-secondary);
	font-style: italic;
}

/* Lists - Better spacing */
.doc-body ul,
.doc-body ol {
	padding-left: 1.5rem;
	margin: 1rem 0;
}

.doc-body li {
	margin: 0.5rem 0;
	line-height: 1.7;
}

.doc-body li > ul,
.doc-body li > ol {
	margin-top: 0.5rem;
}

/* Toggles - Enhanced */
.toggle {
	margin: 1rem 0;
	border: 1px solid var(--border);
	border-radius: 0.5rem;
	overflow: hidden;
	transition: all 0.2s;
}

.toggle:hover {
	border-color: var(--primary);
}

.toggle-summary {
	cursor: pointer;
	padding: 1rem;
	background-color: var(--bg-secondary);
	transition: all 0.2s;
	user-select: none;
	font-weight: 500;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.toggle-summary:hover {
	background-color: var(--bg);
}

.toggle-summary::before {
	content: "▶";
	display: inline-block;
	transition: transform 0.2s;
	font-size: 0.8em;
	color: var(--text-secondary);
}

.toggle[open] .toggle-summary::before {
	transform: rotate(90deg);
}

.toggle-content {
	padding: 1rem 1.5rem;
	background-color: var(--bg);
}

/* Divider */
.doc-body hr {
	border: none;
	border-top: 2px solid var(--border);
	margin: 2.5rem 0;
}

/* Tables */
.doc-body table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.5rem 0;
	font-size: 0.95rem;
	border: 1px solid var(--border);
	border-radius: 0.5rem;
	overflow: hidden;
}

.doc-body th,
.doc-body td {
	padding: 0.75rem 1rem;
	border: 1px solid var(--border);
	text-align: left;
}

.doc-body th {
	background-color: var(--bg-secondary);
	font-weight: 600;
}

.doc-body tr:hover {
	background-color: var(--bg-secondary);
}

/* Headings spacing */
.doc-body h1,
.doc-body h2,
.doc-body h3 {
	margin-top: 2rem;
	margin-bottom: 1rem;
}

.doc-body h1:first-child,
.doc-body h2:first-child,
.doc-body h3:first-child {
	margin-top: 0;
}

/* Paragraphs */
.doc-body p {
	margin: 0.5rem 0;
	line-height: 1.7;
}

/* Links */
.doc-body a {
	color: var(--primary);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s;
}

.doc-body a:hover {
	border-bottom-color: var(--primary);
}

/* Floating Navigation Menu */
.floating-nav {
	position: fixed;
	bottom: 2rem;
	right: 2rem;
	z-index: 998;
	opacity: 0;
	transform: translateY(100px);
	transition: opacity 0.3s, transform 0.3s;
}

.floating-nav.visible {
	opacity: 1;
	transform: translateY(0);
}

.floating-nav-toggle {
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 50%;
	background: var(--primary);
	color: white;
	border: none;
	font-size: 1.5rem;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s;
	position: relative;
}

.floating-nav-toggle:hover {
	transform: scale(1.1);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.floating-nav-toggle.active {
	background: var(--bg);
	border: 2px solid var(--primary);
	color: var(--primary);
}

.floating-nav-menu {
	position: absolute;
	bottom: 0;
	right: 0;
	pointer-events: none;
}

.floating-nav-item {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	background: var(--primary);
	color: white;
	border: none;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
	opacity: 0;
	transform: scale(0);
	pointer-events: none;
}

.floating-nav-menu.open .floating-nav-item {
	opacity: 1;
	transform: scale(1);
	pointer-events: auto;
}

/* Radial positioning: 0°, 45°, 90°, 135°, 180° */
.floating-nav-item:nth-child(1) {
	/* 0° - Bottom (맨 아래로) */
	transition-delay: 0.05s;
}

.floating-nav-menu.open .floating-nav-item:nth-child(1) {
	transform: translate(-5rem, 0) scale(1);
}

.floating-nav-item:nth-child(2) {
	/* 45° - Diagonal (맨 위로) */
	transition-delay: 0.1s;
}

.floating-nav-menu.open .floating-nav-item:nth-child(2) {
	transform: translate(-3.5rem, -3.5rem) scale(1);
}

.floating-nav-item:nth-child(3) {
	/* 90° - Top (댓글) */
	transition-delay: 0.15s;
}

.floating-nav-menu.open .floating-nav-item:nth-child(3) {
	transform: translate(0, -5rem) scale(1);
}

.floating-nav-item:hover {
	background: var(--text);
	transform: translate(var(--hover-x, 0), var(--hover-y, 0)) scale(1.15);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.floating-nav-item:nth-child(1):hover {
	--hover-x: -5rem;
	--hover-y: 0;
}

.floating-nav-item:nth-child(2):hover {
	--hover-x: -3.5rem;
	--hover-y: -3.5rem;
}

.floating-nav-item:nth-child(3):hover {
	--hover-x: 0;
	--hover-y: -5rem;
}

.floating-nav-item i {
	width: 20px;
	height: 20px;
}

/* Vim mode button active state */
.floating-nav-item.vim-mode-button.active {
	background: var(--primary);
	color: white;
	box-shadow: 0 0 0 2px var(--primary-light);
}

.floating-nav-item.vim-mode-button.active:hover {
	background: var(--primary-dark);
	transform: translate(var(--hover-x, 0), var(--hover-y, 0)) scale(1.15);
}

/* Vim search prompt */
.vim-search-prompt {
	position: fixed;
	bottom: 2rem;
	left: 2rem;
	background: var(--primary);
	color: white;
	padding: 0.5rem 1rem;
	border-radius: 0.5rem;
	font-family: "JetBrains Mono", "Fira Code", monospace;
	font-size: 1rem;
	font-weight: 600;
	z-index: 10000;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	display: none;
	animation: vim-prompt-fade 0.2s ease-in;
}

@keyframes vim-prompt-fade {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Giscus Customization */
.gsc-reactions {
	display: flex;
	gap: 0.5rem;
	align-items: center;
}

.gsc-reaction {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	padding: 0.25rem 0.5rem;
	border-radius: 0.375rem;
	background: var(--bg-secondary);
	border: 1px solid var(--border);
	transition: all 0.2s ease;
	cursor: pointer;
}

.gsc-reaction:hover {
	background: var(--primary);
	color: white;
	transform: translateY(-1px);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.gsc-reaction-count {
	font-size: 0.875rem;
	font-weight: 500;
}

/* Replace emoji reactions with Lucide icons */
.gsc-reaction[data-reaction="👍"]::before {
	content: "👍";
	display: none;
}

.gsc-reaction[data-reaction="👍"]::after {
	content: "";
	display: inline-block;
	width: 16px;
	height: 16px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10v12%3E%3C/path%3E%3Cpath d='M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2h0a3.13 3.13 0 0 1 3 3.88Z'%3E%3C/path%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
}

.gsc-reaction[data-reaction="👎"]::before {
	content: "👎";
	display: none;
}

.gsc-reaction[data-reaction="👎"]::after {
	content: "";
	display: inline-block;
	width: 16px;
	height: 16px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 14V2%3E%3C/path%3E%3Cpath d='M9 18.12 10 14H4.17a2 2 0 0 1-1.92-2.56l2.33-8A2 2 0 0 1 6.5 2H20a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.76a2 2 0 0 0-1.79 1.11L12 22h0a3.13 3.13 0 0 1-3-3.88Z'%3E%3C/path%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
}

.gsc-reaction[data-reaction="😀"]::before {
	content: "😀";
	display: none;
}

.gsc-reaction[data-reaction="😀"]::after {
	content: "";
	display: inline-block;
	width: 16px;
	height: 16px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 12c0 5.52-4.48 10-10 10s-10-4.48-10-10S6.48 2 12 2s10 4.48 10 10Z'%3E%3C/path%3E%3Cpath d='M8 14s1.5 2 4 2 4-2 4-2'%3E%3C/path%3E%3Cpath d='M9 9h.01'%3E%3C/path%3E%3Cpath d='M15 9h.01'%3E%3C/path%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
}

.gsc-reaction[data-reaction="🎉"]::before {
	content: "🎉";
	display: none;
}

.gsc-reaction[data-reaction="🎉"]::after {
	content: "";
	display: inline-block;
	width: 16px;
	height: 16px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2L2 7l10 5 10-5-10-5z'%3E%3C/path%3E%3Cpath d='M2 17l10 5 10-5'%3E%3C/path%3E%3Cpath d='M2 12l10 5 10-5'%3E%3C/path%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
}

.gsc-reaction[data-reaction="❤️"]::before {
	content: "❤️";
	display: none;
}

.gsc-reaction[data-reaction="❤️"]::after {
	content: "";
	display: inline-block;
	width: 16px;
	height: 16px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.29 1.51 4.04 3 5.5l9 9Z'%3E%3C/path%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
}

.gsc-reaction[data-reaction="🚀"]::before {
	content: "🚀";
	display: none;
}

.gsc-reaction[data-reaction="🚀"]::after {
	content: "";
	display: inline-block;
	width: 16px;
	height: 16px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z'%3E%3C/path%3E%3Cpath d='M12 15l-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z'%3E%3C/path%3E%3Cpath d='M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0'%3E%3C/path%3E%3Cpath d='M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5'%3E%3C/path%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
}

/* Adjust floating nav position on docs pages */
.docs-layout .floating-nav {
	right: 5.5rem;
}

/* Page Search Modal */
.page-search-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10000;
	display: none;
}

.page-search-modal.open {
	display: flex;
}

.page-search-backdrop {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(4px);
}

.page-search-content {
	position: relative;
	width: 100%;
	max-width: 600px;
	margin: 10vh auto;
	background: var(--bg);
	border-radius: 1rem;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
		0 10px 10px -5px rgba(0, 0, 0, 0.04);
	border: 1px solid var(--border);
	overflow: hidden;
}

.page-search-header {
	display: flex;
	align-items: center;
	padding: 1rem;
	border-bottom: 1px solid var(--border);
	gap: 0.75rem;
}

.page-search-icon {
	width: 1.25rem;
	height: 1.25rem;
	color: var(--text-secondary);
}

.page-search-input {
	flex: 1;
	border: none;
	background: none;
	font-size: 1rem;
	color: var(--text);
	outline: none;
}

.page-search-input::placeholder {
	color: var(--text-secondary);
}

.page-search-kbd {
	background: var(--bg-secondary);
	border: 1px solid var(--border);
	border-radius: 0.375rem;
	padding: 0.25rem 0.5rem;
	font-size: 0.75rem;
	font-family: monospace;
	color: var(--text-secondary);
}

.page-search-results {
	max-height: 400px;
	overflow-y: auto;
	padding: 0.5rem;
}

.page-search-result {
	display: flex;
	align-items: center;
	padding: 0.75rem;
	border-radius: 0.5rem;
	gap: 0.75rem;
	transition: background-color 0.2s ease;
}

.page-search-result:hover {
	background: var(--bg-secondary);
}

.page-search-result-icon {
	width: 1.25rem;
	height: 1.25rem;
	color: var(--text-secondary);
}

.page-search-result-content {
	flex: 1;
}

.page-search-result-title {
	font-weight: 600;
	color: var(--text);
	margin-bottom: 0.25rem;
}

.page-search-result-excerpt {
	font-size: 0.875rem;
	color: var(--text-secondary);
}

/* Command Palette Search Modal */
.search-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	display: none;
	align-items: flex-start;
	justify-content: center;
	padding-top: 10vh;
}

.search-modal.open {
	display: flex;
}

.search-modal-backdrop {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(4px);
	animation: fadeIn 0.2s ease-out;
}

.search-modal-content {
	position: relative;
	width: 90%;
	max-width: 600px;
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: 12px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	overflow: hidden;
}

.search-modal-header {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1rem 1.5rem;
	border-bottom: 1px solid var(--border);
}

.search-modal-icon {
	width: 20px;
	height: 20px;
	color: var(--text-secondary);
	flex-shrink: 0;
}

.search-modal-input {
	flex: 1;
	border: none;
	background: none;
	font-size: 1rem;
	color: var(--text);
	outline: none;
}

.search-modal-input::placeholder {
	color: var(--text-secondary);
}

.search-modal-kbd {
	padding: 0.25rem 0.5rem;
	background: var(--bg-secondary);
	border: 1px solid var(--border);
	border-radius: 0.25rem;
	font-size: 0.75rem;
	color: var(--text-secondary);
	font-family: monospace;
}

.search-modal-results {
	max-height: 500px;
	overflow-y: auto;
	padding: 0.5rem;
	scrollbar-width: thin;
	scrollbar-color: var(--primary) transparent;
}

.search-modal-results::-webkit-scrollbar {
	width: 6px;
}

.search-modal-results::-webkit-scrollbar-track {
	background: transparent;
}

.search-modal-results::-webkit-scrollbar-thumb {
	background: var(--primary);
	border-radius: 3px;
}

.search-modal-results::-webkit-scrollbar-thumb:hover {
	background: var(--primary-dark);
}

.search-modal-result-item {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding: 0.75rem 1rem;
	border-radius: 0.5rem;
	cursor: pointer;
	transition: all 0.2s;
	text-decoration: none;
	color: var(--text);
}

.search-modal-result-item:hover,
.search-modal-result-item.selected {
	background: var(--bg-secondary);
}

.search-modal-result-icon {
	width: 20px;
	height: 20px;
	color: var(--primary);
	flex-shrink: 0;
	margin-top: 0.25rem;
}

.search-modal-result-content {
	flex: 1;
	min-width: 0;
}

.search-modal-result-title {
	font-weight: 600;
	margin-bottom: 0.25rem;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.search-modal-result-excerpt {
	font-size: 0.875rem;
	color: var(--text-secondary);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.search-modal-result-meta {
	font-size: 0.75rem;
	color: var(--text-secondary);
	margin-top: 0.25rem;
}

.search-modal-empty {
	padding: 3rem 2rem;
	text-align: center;
	color: var(--text-secondary);
}

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

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

/* Scroll Animations */
.fade-in {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
	opacity: 1;
	transform: translateY(0);
}

.fade-in-left {
	opacity: 0;
	transform: translateX(-30px);
	transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-left.visible {
	opacity: 1;
	transform: translateX(0);
}

.fade-in-right {
	opacity: 0;
	transform: translateX(30px);
	transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-right.visible {
	opacity: 1;
	transform: translateX(0);
}

.scale-in {
	opacity: 0;
	transform: scale(0.9);
	transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scale-in.visible {
	opacity: 1;
	transform: scale(1);
}

/* Apply animations to content */
.post-card {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.post-card.visible {
	opacity: 1;
	transform: translateY(0);
}

.doc-card {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.doc-card.visible {
	opacity: 1;
	transform: translateY(0);
}

/* Enhanced Code Blocks */
pre {
	position: relative;
}

.code-block-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.5rem 1rem;
	background: var(--bg-secondary);
	border-bottom: 1px solid var(--border);
	border-radius: 0.5rem 0.5rem 0 0;
	font-size: 0.85rem;
}

.code-block-language {
	color: var(--text-secondary);
	font-family: monospace;
	font-weight: 600;
	text-transform: uppercase;
}

.code-block-actions {
	display: flex;
	gap: 0.5rem;
}

pre:has(+ .code-block-header) {
	border-radius: 0 0 0.5rem 0.5rem;
	margin-top: 0;
}

/* Image Lightbox */
.lightbox {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.9);
	z-index: 10000;
	display: none;
	align-items: center;
	justify-content: center;
	cursor: zoom-out;
}

.lightbox.open {
	display: flex;
}

.lightbox img {
	max-width: 90%;
	max-height: 90%;
	object-fit: contain;
	animation: zoomIn 0.3s ease-out;
}

@keyframes zoomIn {
	from {
		transform: scale(0.8);
		opacity: 0;
	}
	to {
		transform: scale(1);
		opacity: 1;
	}
}

.post-content img {
	cursor: zoom-in;
	transition: transform 0.2s;
}

.post-content img:hover {
	transform: scale(1.02);
}

/* Dynamic Background Gradient */
body {
	position: relative;
	background: linear-gradient(135deg, var(--bg) 0%, var(--bg) 100%);
	transition: background 1s ease;
}

body::before {
	content: "";
	position: fixed;
	top: -50%;
	right: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(
		circle,
		rgba(59, 130, 246, 0.03) 0%,
		transparent 70%
	);
	pointer-events: none;
	z-index: -1;
	animation: gradientShift 20s ease infinite;
}

@keyframes gradientShift {
	0%,
	100% {
		transform: translate(0, 0) rotate(0deg);
	}
	50% {
		transform: translate(-20%, -20%) rotate(180deg);
	}
}

/* Interactive Cursor Effect */
.cursor-ring {
	width: 32px;
	height: 32px;
	border: 2px solid #3b82f6;
	border-radius: 50%;
	position: fixed;
	pointer-events: none;
	z-index: 9999;
	transition: all 0.15s ease;
}

/* Search Highlight */
.search-highlight {
	background: var(--primary);
	color: white;
	padding: 2px 4px;
	border-radius: 3px;
	font-weight: 600;
}

/* Vim Mode */
.vim-mode-toggle {
	background: none;
	border: none;
	padding: 0.5rem;
	border-radius: 0.5rem;
	cursor: pointer;
	transition: all 0.2s ease;
	color: var(--text-secondary);
}

.vim-mode-toggle:hover {
	background: var(--bg-secondary);
	color: var(--text);
}

.vim-mode-toggle.active {
	background: var(--primary);
	color: white;
}

.vim-mode-toggle.active:hover {
	background: var(--primary-dark);
}

.icon-vim {
	width: 1.25rem;
	height: 1.25rem;
}

/* Vim Mode Status */
.vim-mode-status {
	position: fixed;
	top: 1rem;
	right: 1rem;
	background: var(--primary);
	color: white;
	padding: 0.5rem 1rem;
	border-radius: 0.5rem;
	font-size: 0.875rem;
	font-weight: 600;
	z-index: 1000;
	opacity: 0;
	transform: translateY(-10px);
	transition: all 0.3s ease;
	pointer-events: none;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.vim-mode-status.show {
	opacity: 1;
	transform: translateY(0);
}

.vim-shortcut {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	font-size: 0.75rem;
	opacity: 0.9;
}

.vim-shortcut kbd {
	background: rgba(255, 255, 255, 0.2);
	padding: 0.25rem 0.5rem;
	border-radius: 0.25rem;
	font-family: monospace;
	font-size: 0.875rem;
	font-weight: 600;
	border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Vim Mode Cursor */
.vim-mode .vim-cursor {
	position: fixed;
	width: 2px;
	height: 1.2em;
	background: var(--primary);
	z-index: 999;
	pointer-events: none;
	animation: vim-cursor-blink 1s infinite;
}

@keyframes vim-cursor-blink {
	0%,
	50% {
		opacity: 1;
	}
	51%,
	100% {
		opacity: 0;
	}
}

a:hover ~ .cursor-ring,
button:hover ~ .cursor-ring {
	transform: scale(1.5);
}

/* Micro Interactions */
button,
a,
.clickable {
	position: relative;
	overflow: hidden;
}

button::after,
a::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.3);
	transform: translate(-50%, -50%);
	transition: width 0.6s, height 0.6s;
}

button:active::after,
a:active::after {
	width: 300px;
	height: 300px;
}

/* Smooth Page Transition */
.page-transition {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--bg);
	z-index: 99999;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.page-transition.active {
	opacity: 1;
}

/* Loading Skeleton */
.skeleton {
	background: linear-gradient(
		90deg,
		var(--bg-secondary) 25%,
		var(--bg) 50%,
		var(--bg-secondary) 75%
	);
	background-size: 200% 100%;
	animation: shimmer 1.5s infinite;
	border-radius: 0.25rem;
}

@keyframes shimmer {
	0% {
		background-position: 200% 0;
	}
	100% {
		background-position: -200% 0;
	}
}

/* Toast Notifications */
.toast {
	position: fixed;
	bottom: 2rem;
	left: 50%;
	transform: translateX(-50%) translateY(100px);
	background: var(--bg-secondary);
	border: 1px solid var(--border);
	border-radius: 0.5rem;
	padding: 1rem 1.5rem;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
	z-index: 9998;
	opacity: 0;
	transition: all 0.3s ease;
}

.toast.show {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

.toast.success {
	border-left: 4px solid #10b981;
}

.toast.error {
	border-left: 4px solid #ef4444;
}
