:root {
--bg: #0d0f14;
--surface: #161920;
--surface2: #1e2230;
--border: #2a2f3f;
--accent: #4f8ef7;
--accent2: #7c3aed;
--accent3: #10b981;
--accent4: #f59e0b;
--text: #e8eaf0;
--muted: #8892aa;
--danger: #ef4444;
--sidebar-w: 280px;
}
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
html {
	scroll-behavior: smooth;
}
body {
	font-family:Tahoma, Geneva, sans-serif;
	background: var(--bg);
	color: var(--text);
	line-height: 1.7;
	display: flex;
	min-height: 100vh;
}
/* ── Sidebar ── */
.sidebar {
	width: var(--sidebar-w);
	background: var(--surface);
	border-right: 1px solid var(--border);
	position: fixed;
	top: 0;
	left: 0;
	height: 100vh;
	overflow-y: auto;
	z-index: 100;
	display: flex;
	flex-direction: column;
}
 .sidebar::-webkit-scrollbar {
width: 4px;
}
.sidebar::-webkit-scrollbar-thumb {
background: var(--border);
border-radius: 2px;
}
.sidebar-logo {
	padding: 28px 24px 20px;
	border-bottom: 1px solid var(--border);
}
.sidebar-logo .plugin-name {
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.05em;
	color: var(--accent);
	text-transform: uppercase;
}
.sidebar-logo .plugin-ver {
	font-size: 11px;
	color: var(--muted);
	margin-top: 2px;
}
.sidebar nav {
	padding: 16px 0 32px;
	flex: 1;
}
.nav-group {
	margin-bottom: 6px;
}
.nav-section {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
	padding: 16px 24px 6px;
}
.nav-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 24px;
	font-size: 13.5px;
	font-weight: 500;
	color: var(--muted);
	text-decoration: none;
	border-left: 3px solid transparent;
	transition: all 0.15s;
}
.nav-item:hover {
	color: var(--text);
	background: var(--surface2);
}
.nav-item.active {
	color: var(--accent);
	border-left-color: var(--accent);
	background: rgba(79,142,247,0.07);
}
.nav-item .nav-icon {
	font-size: 15px;
	width: 18px;
	text-align: center;
	flex-shrink: 0;
}
/* ── Main content ── */
.main {
	margin-left: var(--sidebar-w);
	flex: 1;
	padding: 60px 64px;
}
/* ── Hero ── */
.hero {
	margin-bottom: 72px;
	padding: 56px 0 56px;
	border-bottom: 1px solid var(--border);
	position: relative;
	overflow: hidden;
}
.hero::before {
	content: '';
	position: absolute;
	top: -80px;
	right: -80px;
	width: 360px;
	height: 360px;
	background: radial-gradient(circle, rgba(79,142,247,0.12) 0%, transparent 70%);
	pointer-events: none;
}
.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(79,142,247,0.12);
	border: 1px solid rgba(79,142,247,0.25);
	color: var(--accent);
	font-size: 11.5px;
	font-weight: 600;
	padding: 4px 12px;
	border-radius: 20px;
	margin-bottom: 20px;
	letter-spacing: 0.03em;
}
.hero h1 {
	font-size: 42px;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
	margin-bottom: 18px;
	background: linear-gradient(135deg, #e8eaf0 30%, #4f8ef7 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}
.hero p {
	font-size: 17px;
	color: var(--muted);
	line-height: 1.7;
}
.hero-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 28px;
}
.pill {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 12px;
	font-weight: 600;
	padding: 5px 12px;
	border-radius: 6px;
	letter-spacing: 0.02em;
}
.pill-green {
	background: rgba(16,185,129,0.12);
	color: var(--accent3);
	border: 1px solid rgba(16,185,129,0.2);
}
.pill-blue {
	background: rgba(79,142,247,0.12);
	color: var(--accent);
	border: 1px solid rgba(79,142,247,0.2);
}
.pill-purple {
	background: rgba(124,58,237,0.12);
	color: #a78bfa;
	border: 1px solid rgba(124,58,237,0.2);
}
.pill-amber {
	background: rgba(245,158,11,0.12);
	color: var(--accent4);
	border: 1px solid rgba(245,158,11,0.2);
}
/* ── Sections ── */
.doc-section {
	margin-bottom: 80px;
	scroll-margin-top: 32px;
}
.section-label {
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 10px;
}
h2.section-title {
	font-size: 28px;
	font-weight: 800;
	letter-spacing: -0.02em;
	margin-bottom: 14px;
	color: var(--text);
}
h3.sub-title {
	font-size: 18px;
	font-weight: 700;
	margin: 36px 0 12px;
	color: var(--text);
	display: flex;
	align-items: center;
	gap: 10px;
}
h3.sub-title::before {
	content: '';
	display: inline-block;
	width: 4px;
	height: 18px;
	background: var(--accent);
	border-radius: 2px;
}
p {
	color: var(--muted);
	font-size: 15px;
	margin-bottom: 14px;
}
/* ── Steps ── */
.steps {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin: 24px 0;
}
.step {
	display: flex;
	gap: 20px;
	padding: 20px 0;
	border-bottom: 1px solid var(--border);
	position: relative;
}
.step:last-child {
	border-bottom: none;
}
.step-num {
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 800;
	color: #fff;
	margin-top: 2px;
}
.step-content {
	flex: 1;
}
.step-content strong {
	display: block;
	font-size: 15px;
	font-weight: 700;
	color: var(--text);
	margin-bottom: 6px;
}
.step-content p {
	margin: 0;
	font-size: 14px;
}
/* ── Screenshots ── */
.screenshot-wrap {
	margin: 24px 0;
	background: var(--surface2);
	border: 1px solid var(--border);
	border-radius: 12px;
	overflow: hidden;
}
.screenshot-label {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border-bottom: 1px solid var(--border);
	font-size: 12px;
	font-weight: 600;
	color: var(--muted);
	background: var(--surface);
}
.screenshot-label::before {
	content: '●';
	color: var(--danger);
	text-shadow: 10px 0 0 #f59e0b, 20px 0 0 var(--accent3);
	letter-spacing: 4px;
	font-size: 9px;
}
.screenshot-wrap img {
	width: 100%;
	display: block;
}
.screenshot-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin: 24px 0;
}
/* ── Info cards ── */
.info-card {
	background: var(--surface2);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 20px 24px;
	margin: 20px 0;
}
.info-card.note {
	border-left: 3px solid var(--accent);
}
.info-card.tip {
	border-left: 3px solid var(--accent3);
}
.info-card.warn {
	border-left: 3px solid var(--accent4);
}
.info-card-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-bottom: 8px;
}
.note .info-card-label {
	color: var(--accent);
}
.tip .info-card-label {
	color: var(--accent3);
}
.warn .info-card-label {
	color: var(--accent4);
}
.info-card p {
	margin: 0;
	font-size: 14px;
}
/* ── Feature grid ── */
.feature-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 14px;
	margin: 24px 0;
}
.feature-card {
	background: var(--surface2);
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 18px 20px;
	transition: border-color 0.2s;
}
.feature-card:hover {
	border-color: var(--accent);
}
.feature-card .fc-icon {
	font-size: 22px;
	margin-bottom: 10px;
}
.feature-card .fc-title {
	font-size: 13.5px;
	font-weight: 700;
	color: var(--text);
	margin-bottom: 5px;
}
.feature-card .fc-desc {
	font-size: 12.5px;
	color: var(--muted);
	line-height: 1.5;
}
/* ── Field tables ── */
.field-table {
	width: 100%;
	border-collapse: collapse;
	margin: 20px 0;
	font-size: 13.5px;
}
.field-table th {
	text-align: left;
	padding: 10px 14px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
	border-bottom: 1px solid var(--border);
	background: var(--surface2);
}
.field-table td {
	padding: 11px 14px;
	border-bottom: 1px solid var(--border);
	vertical-align: top;
	color: var(--muted);
}
.field-table td:first-child {
	font-weight: 600;
	color: var(--text);
	white-space: nowrap;
}
.field-table tr:last-child td {
	border-bottom: none;
}
.field-table tr:hover td {
	background: rgba(255,255,255,0.02);
}
code {
	font-family: 'JetBrains Mono', monospace;
	font-size: 12px;
	background: rgba(79,142,247,0.1);
	color: var(--accent);
	padding: 2px 7px;
	border-radius: 4px;
	border: 1px solid rgba(79,142,247,0.15);
}
/* ── Menu overview ── */
.menu-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 12px;
	margin: 24px 0;
}
.menu-card {
	background: var(--surface2);
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 16px 18px;
	cursor: default;
	transition: all 0.2s;
}
.menu-card:hover {
	border-color: var(--accent);
	transform: translateY(-2px);
}
.menu-card .mc-icon {
	font-size: 20px;
	margin-bottom: 8px;
}
.menu-card .mc-name {
	font-size: 13px;
	font-weight: 700;
	color: var(--text);
	margin-bottom: 4px;
}
.menu-card .mc-desc {
	font-size: 11.5px;
	color: var(--muted);
	line-height: 1.45;
}
/* ── TOC ── */
.toc {
	background: var(--surface2);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 24px 28px;
	margin-bottom: 60px;
}
.toc h3 {
	font-size: 13px;
	font-weight: 700;
	color: var(--muted);
	margin-bottom: 14px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
.toc ol {
	padding-left: 20px;
}
.toc li {
	font-size: 14px;
	color: var(--muted);
	margin-bottom: 6px;
}
.toc a, .info-card a{
	color: var(--accent);
	text-decoration: none;
}
.toc a:hover, .info-card a:hover{
	text-decoration: underline;
}
/* ── Badge ── */
.badge {
	display: inline-block;
	font-size: 10.5px;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 4px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	vertical-align: middle;
	margin-left: 6px;
}
.badge-required {
	background: rgba(239,68,68,0.15);
	color: #f87171;
	border: 1px solid rgba(239,68,68,0.2);
}
.badge-optional {
	background: rgba(16,185,129,0.1);
	color: var(--accent3);
	border: 1px solid rgba(16,185,129,0.15);
}
/* ── Divider ── */
hr.doc-divider {
	border: none;
	border-top: 1px solid var(--border);
	margin: 48px 0;
}

/* ── Responsive ── */
@media (max-width: 900px) {
.sidebar {
	transform: translateX(-100%);
}
.main {
	margin-left: 0;
	padding: 40px 28px;
}
.screenshot-row {
	grid-template-columns: 1fr;
}
}