@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&family=Instrument+Serif:ital@0;1&family=Inter:wght@400;500;600;700&display=swap');

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

:root {
	--bg: #faf9f7;
	--bg2: #f0ede8;
	--bg3: #e8e4dd;
	--border: #d8d3ca;
	--border2: #c4bdb2;

	--text: #0d0d0d;
	--text2: #3a3530;
	/* was #888 — body copy now near-black */
	--text3: #6e6760;
	/* was #bbb — secondary labels */
	--text4: #9a9088;
	/* was #ddd — muted/timestamps */

	--accent: #0d0d0d;
	--accent-red: #b52a1c;

	--mono: 'JetBrains Mono', monospace;
	--serif: 'Instrument Serif', Georgia, serif;
	--sans: 'Inter', system-ui, sans-serif;

	--severity-critical: #b52a1c;
	--severity-high: #c45e0a;
	--severity-medium: #9a7000;
	--severity-low: #1e7e40;
	--severity-info: #1a5fa8;
}

[data-theme="dark"] {
	--bg: #111110;
	--bg2: #1a1917;
	--bg3: #222120;
	--border: #2e2c2a;
	--border2: #3d3b38;

	--text: #f0ede8;
	--text2: #c8c2b8;
	--text3: #8a8278;
	--text4: #5a5550;

	--accent: #f0ede8;
	--accent-red: #e05a4a;

	--severity-critical: #e05a4a;
	--severity-high: #e07a30;
	--severity-medium: #d4a017;
	--severity-low: #3dba60;
	--severity-info: #4a9fe0;
}

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

body {
	font-family: var(--sans);
	background: var(--bg);
	color: var(--text);
	min-height: 100vh;
	-webkit-font-smoothing: antialiased;
	transition: background 0.25s ease, color 0.25s ease;
}

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

nav {
	position: sticky;
	top: 0;
	z-index: 200;
	background: var(--bg);
	border-bottom: 0.5px solid var(--border);
	padding: 0 48px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	transition: background 0.25s ease, border-color 0.25s ease;
}

.nav-logo {
	font-family: var(--mono);
	font-size: 13px;
	color: var(--text);
	letter-spacing: 0.02em;
	z-index: 201;
	flex-shrink: 0;
}

.nav-logo span {
	color: var(--text3);
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 2px;
}

.nav-links a {
	font-size: 13px;
	color: var(--text3);
	padding: 6px 14px;
	border-radius: 6px;
	transition: all 0.15s;
	font-weight: 500;
}

.nav-links a:hover {
	color: var(--text);
	background: var(--bg2);
}

.nav-links a.active {
	color: var(--text);
}

/* Right-side controls wrapper */
.nav-controls {
	display: flex;
	align-items: center;
	gap: 6px;
	z-index: 201;
}

/* ── Theme toggle button ── */
.theme-toggle {
	width: 34px;
	height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: 0.5px solid var(--border);
	border-radius: 7px;
	cursor: pointer;
	color: var(--text3);
	font-size: 15px;
	line-height: 1;
	transition: all 0.15s;
	flex-shrink: 0;
}

.theme-toggle:hover {
	border-color: var(--border2);
	color: var(--text);
	background: var(--bg2);
}

.icon-sun {
	display: none;
}

.icon-moon {
	display: block;
}

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

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

/* ── Hamburger button ── */
.nav-hamburger {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 34px;
	height: 34px;
	background: none;
	border: 0.5px solid var(--border);
	border-radius: 7px;
	cursor: pointer;
	padding: 0;
	transition: all 0.15s;
	flex-shrink: 0;
}

.nav-hamburger:hover {
	border-color: var(--border2);
	background: var(--bg2);
}

.nav-hamburger span {
	display: block;
	width: 16px;
	height: 1.5px;
	background: var(--text2);
	border-radius: 1px;
	transition: transform 0.2s ease, opacity 0.15s ease, width 0.15s ease;
	transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) {
	transform: translateY(6.5px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
	opacity: 0;
	width: 0;
}

.nav-hamburger.open span:nth-child(3) {
	transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile drawer */
.nav-mobile-menu {
	position: fixed;
	top: 56px;
	left: 0;
	right: 0;
	background: var(--bg);
	border-bottom: 0.5px solid var(--border);
	padding: 8px 20px 20px;
	flex-direction: column;
	z-index: 190;
	transform: translateY(-6px);
	opacity: 0;
	pointer-events: none;
	transition: transform 0.2s ease, opacity 0.2s ease, background 0.25s;
	display: flex;
	/* always flex, controlled via opacity/pointer-events */
}

.nav-mobile-menu.open {
	transform: translateY(0);
	opacity: 1;
	pointer-events: auto;
}

.nav-mobile-menu a {
	font-size: 15px;
	font-weight: 500;
	color: var(--text3);
	padding: 13px 4px;
	border-bottom: 0.5px solid var(--border);
	transition: color 0.15s;
	display: block;
}

.nav-mobile-menu a:last-child {
	border-bottom: none;
}

.nav-mobile-menu a:hover,
.nav-mobile-menu a.active {
	color: var(--text);
}

.page {
	max-width: 780px;
	margin: 0 auto;
	padding: 72px 24px 120px;
}

.eyebrow {
	font-family: var(--mono);
	font-size: 10px;
	color: var(--text3);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-bottom: 18px;
}

.headline {
	font-family: var(--serif);
	font-size: 48px;
	color: var(--text);
	letter-spacing: -0.02em;
	line-height: 1.0;
	margin-bottom: 8px;
}

.headline-sub {
	font-size: 15px;
	color: var(--text2);
	line-height: 1.7;
	margin-bottom: 48px;
	max-width: 520px;
}

.rule {
	height: 0.5px;
	background: var(--border);
	margin: 20px 0;
}

.sec-title {
	font-family: var(--mono);
	font-size: 9px;
	color: var(--text4);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	margin-bottom: 20px;
}

.bar-group {
	margin-bottom: 18px;
}

.bar-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 7px;
}

.bar-name {
	font-size: 14px;
	color: var(--text2);
}

.bar-pct {
	font-family: var(--mono);
	font-size: 11px;
	color: var(--text3);
}

.bar-track {
	height: 1px;
	background: var(--border);
	border-radius: 1px;
	overflow: hidden;
}

.bar-fill {
	height: 1px;
	background: var(--text);
	border-radius: 1px;
	width: 0%;
	transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.bounty-block {
	margin: 28px 0 56px;
	padding: 16px 0 18px;
}

.bounty-amount {
	font-family: var(--serif);
	font-size: 72px;
	font-weight: 700;
	color: var(--text);
	line-height: 1;
	margin-bottom: 8px;
}

.bounty-target {
	font-family: var(--mono);
	font-size: 14px;
	color: var(--text2);
	font-weight: 700;
	letter-spacing: 0.04em;
	margin-bottom: 10px;
	text-transform: uppercase;
}

.bounty-track {
	height: 6px;
	background: var(--border);
	border-radius: 3px;
	overflow: hidden;
	margin-top: 12px;
	width: 100%;
}

.bounty-fill {
	height: 6px;
	background: var(--text);
	border-radius: 3px;
	width: 0%;
	transition: width 1s ease;
}

.bounty-meta {
	font-family: var(--mono);
	font-size: 10px;
	color: var(--text4);
	letter-spacing: 0.06em;
	line-height: 1.6;
}

.two-col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: start;
}

.two-col--divided {
	gap: 0;
}



.two-col--divided > div:first-child {
	padding-right: 32px;
	border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.two-col--divided > div:last-child {
	padding-left: 32px;
}

.post-filters {
	display: flex;
	gap: 8px;
	margin: 32px 0 40px;
	flex-wrap: wrap;
}

.post-list {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.post-item {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	padding: 20px 0;
	/* border-bottom: 0.5px solid var(--border); */
	cursor: pointer;
	transition: all 0.1s;
	width: 100%;
	min-width: 0;
}

.post-item--pinned {
	/* border: 0.5px solid var(--border); */
	border-radius: 8px;
	padding: 16px;
}

.post-item:last-child {
	border-bottom: none;
}

.post-item:hover .post-title {
	color: var(--text);
}

.post-date {
	font-family: var(--mono);
	font-size: 11px;
	color: var(--text3);
	min-width: 76px;
	padding-top: 2px;
	flex-shrink: 0;
}

.post-tag {
	font-family: var(--mono);
	font-size: 9px;
	padding: 3px 8px;
	border-radius: 3px;
	border: 0.5px solid var(--border2);
	color: var(--text3);
	white-space: nowrap;
	flex-shrink: 0;
	margin-top: 1px;
	max-width: 100%;
}

.post-title {
	font-size: 15px;
	color: var(--text2);
	line-height: 1.5;
	transition: color 0.1s;
	font-weight: 600;
	overflow-wrap: anywhere;
	word-break: break-word;
	max-width: 100%;
}

.post-desc {
	font-size: 13px;
	color: var(--text3);
	margin-top: 3px;
	line-height: 1.5;
}

.post-meta-row {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	flex: 1;
	min-width: 0;
	width: 100%;
	gap: 4px;
}

.post-title-row {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	max-width: 100%;
	width: 100%;
	min-width: 0;
}

.post-topic-row {
	display: flex;
	gap: 6px;
	margin-top: 5px;
	flex-wrap: wrap;
	align-items: center;
	max-width: 100%;
	width: 100%;
	min-width: 0;
}

.post-tag--topic {
	font-size: 8px;
}

.visibility-badge {
	font-family: var(--mono);
	font-size: 8px;
	letter-spacing: 0.1em;
	padding: 2px 6px;
	border-radius: 2px;
	text-transform: uppercase;
}

.vis-private {
	background: #fef3cd;
	color: #7a5a00;
	border: 0.5px solid #d4a017;
}

.vis-hidden {
	background: var(--bg2);
	color: var(--text3);
	border: 0.5px solid var(--border2);
}

.vis-public {
	background: #d4edda;
	color: #145a2a;
	border: 0.5px solid #27a74a;
}

[data-theme="dark"] .vis-private {
	background: #2e2500;
	color: #d4a017;
	border-color: #5a4500;
}

[data-theme="dark"] .vis-public {
	background: #0d2e18;
	color: #3dba60;
	border-color: #1a5a28;
}

.like-btn {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-family: var(--mono);
	font-size: 10px;
	color: var(--text3);
	background: none;
	border: 0.5px solid var(--border);
	border-radius: 4px;
	padding: 4px 10px;
	cursor: pointer;
	transition: all 0.15s;
	user-select: none;
}

.like-btn:hover {
	border-color: var(--border2);
	color: var(--text2);
}

.like-btn.liked {
	color: var(--accent-red);
	border-color: var(--accent-red);
	background: #fff5f5;
}

[data-theme="dark"] .like-btn.liked {
	background: #2a0f0d;
}

.like-heart {
	font-size: 12px;
}

.comments-section {
	margin-top: 40px;
	padding-top: 32px;
	border-top: 0.5px solid var(--border);
}

.comment-item {
	padding: 16px 0;
	border-bottom: 0.5px solid var(--border);
}

.comment-item:last-child {
	border-bottom: none;
}

.comment-author {
	font-family: var(--mono);
	font-size: 10px;
	color: var(--text3);
	margin-bottom: 6px;
}

.comment-text {
	font-size: 14px;
	color: var(--text2);
	line-height: 1.6;
}

.comment-form {
	margin-top: 24px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.comment-input,
.comment-textarea {
	font-family: var(--sans);
	font-size: 14px;
	color: var(--text);
	background: var(--bg2);
	border: 0.5px solid var(--border);
	border-radius: 6px;
	padding: 10px 14px;
	outline: none;
	transition: border-color 0.15s, background 0.25s;
	width: 100%;
}

.comment-input:focus,
.comment-textarea:focus {
	border-color: var(--border2);
	background: var(--bg);
}

.comment-textarea {
	min-height: 80px;
	resize: vertical;
}

.btn-submit {
	font-family: var(--mono);
	font-size: 10px;
	letter-spacing: 0.08em;
	color: var(--bg);
	background: var(--text);
	border: none;
	border-radius: 5px;
	padding: 8px 20px;
	cursor: pointer;
	align-self: flex-start;
	transition: opacity 0.15s;
}

.btn-submit:hover {
	opacity: 0.75;
}

.topic-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 8px;
	margin-bottom: 48px;
}

.topic-card {
	border: 0.5px solid var(--border);
	border-radius: 8px;
	padding: 18px 20px;
	cursor: pointer;
	transition: all 0.15s;
}

.topic-card:hover,
.topic-card.active-card {
	border-color: var(--border2);
	background: var(--bg2);
}

.topic-tag {
	font-family: var(--mono);
	font-size: 9px;
	color: var(--text3);
	letter-spacing: 0.1em;
	margin-bottom: 10px;
}

.topic-name {
	font-size: 14px;
	color: var(--text2);
	font-weight: 600;
}

.topic-count {
	font-family: var(--mono);
	font-size: 10px;
	color: var(--text3);
	margin-top: 4px;
}

.search-wrap {
	position: relative;
	margin-bottom: 32px;
}

.search-input {
	width: 100%;
	font-family: var(--mono);
	font-size: 12px;
	color: var(--text);
	background: var(--bg2);
	border: 0.5px solid var(--border);
	border-radius: 6px;
	padding: 11px 36px 11px 14px;
	outline: none;
	transition: border-color 0.15s, background 0.25s;
	letter-spacing: 0.02em;
}

.search-input:focus {
	border-color: var(--border2);
	background: var(--bg);
}

.search-input::placeholder {
	color: var(--text4);
}

.search-icon {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 14px;
	color: var(--text4);
	pointer-events: none;
}

.search-clear {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	font-family: var(--mono);
	font-size: 11px;
	color: var(--text3);
	cursor: pointer;
	background: none;
	border: none;
	padding: 0;
	display: none;
	line-height: 1;
}

.search-clear.visible {
	display: block;
}

.goal-item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 12px 0;
	border-bottom: 0.5px solid var(--border);
}

.goal-item:last-child {
	border-bottom: none;
}

.goal-dot {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--border2);
	margin-top: 6px;
	flex-shrink: 0;
}

.goal-dot.done {
	background: var(--text);
}

.goal-name {
	font-size: 14px;
	color: var(--text2);
	font-weight: 500;
}

.goal-note {
	font-size: 11px;
	color: var(--text3);
	margin-top: 2px;
}

.contact-link {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 16px 0;
	border-bottom: 0.5px solid var(--border);
	transition: all 0.1s;
}

.contact-link:last-child {
	border-bottom: none;
}

.contact-link:hover .contact-label {
	color: var(--text);
}

.contact-key {
	font-family: var(--mono);
	font-size: 10px;
	color: var(--text3);
	min-width: 72px;
	letter-spacing: 0.06em;
}

.contact-label {
	font-size: 14px;
	color: var(--text2);
	transition: color 0.1s;
	font-weight: 500;
}

.contact-val {
	font-family: var(--mono);
	font-size: 12px;
	color: var(--text3);
	margin-left: auto;
}

.bounty-log-item {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 16px 0;
	border-bottom: 0.5px solid var(--border);
}

.bounty-log-item:last-child {
	border-bottom: none;
}

.bounty-severity {
	font-family: var(--mono);
	font-size: 8px;
	letter-spacing: 0.08em;
	padding: 3px 7px;
	border-radius: 2px;
	text-transform: uppercase;
	white-space: nowrap;
	flex-shrink: 0;
	margin-top: 2px;
}

.sev-critical {
	background: #fdeaea;
	color: var(--severity-critical);
	border: 0.5px solid var(--severity-critical);
}

.sev-high {
	background: #fef3e2;
	color: var(--severity-high);
	border: 0.5px solid var(--severity-high);
}

.sev-medium {
	background: #fefce2;
	color: var(--severity-medium);
	border: 0.5px solid var(--severity-medium);
}

.sev-low {
	background: #e9f7ef;
	color: var(--severity-low);
	border: 0.5px solid var(--severity-low);
}

.sev-info {
	background: #ebf5fb;
	color: var(--severity-info);
	border: 0.5px solid var(--severity-info);
}

[data-theme="dark"] .sev-critical {
	background: #2a0a08;
}

[data-theme="dark"] .sev-high {
	background: #2a1400;
}

[data-theme="dark"] .sev-medium {
	background: #1e1800;
}

[data-theme="dark"] .sev-low {
	background: #071a0e;
}

[data-theme="dark"] .sev-info {
	background: #071525;
}

.bounty-log-amount {
	font-family: var(--serif);
	font-size: 20px;
	color: var(--text);
	line-height: 1;
	flex-shrink: 0;
	min-width: 80px;
}

.bounty-log-title {
	font-size: 14px;
	color: var(--text2);
	font-weight: 600;
}

.bounty-log-meta {
	font-family: var(--mono);
	font-size: 10px;
	color: var(--text3);
	margin-top: 3px;
}

.bounty-ref {
	font-family: var(--mono);
	font-size: 9px;
	padding: 2px 6px;
	border-radius: 2px;
	background: var(--bg2);
	border: 0.5px solid var(--border2);
	color: var(--text3);
	cursor: pointer;
	transition: all 0.1s;
	display: inline-block;
	margin-top: 6px;
}

.bounty-ref:hover {
	border-color: var(--text3);
	color: var(--text2);
}

.admin-panel {
	background: var(--bg2);
	border: 0.5px solid var(--border);
	border-radius: 8px;
	padding: 24px;
	margin-bottom: 40px;
}

.admin-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-bottom: 12px;
}

.admin-input,
.admin-select,
.admin-textarea {
	font-family: var(--mono);
	font-size: 12px;
	color: var(--text);
	background: var(--bg);
	border: 0.5px solid var(--border);
	border-radius: 5px;
	padding: 8px 12px;
	outline: none;
	transition: border-color 0.15s, background 0.25s;
	width: 100%;
}

.admin-input:focus,
.admin-select:focus,
.admin-textarea:focus {
	border-color: var(--border2);
}

.admin-textarea {
	min-height: 60px;
	resize: vertical;
}

.admin-btn-row {
	display: flex;
	gap: 8px;
	margin-top: 12px;
	flex-wrap: wrap;
}

.btn-primary {
	font-family: var(--mono);
	font-size: 10px;
	letter-spacing: 0.06em;
	color: var(--bg);
	background: var(--text);
	border: none;
	border-radius: 4px;
	padding: 7px 16px;
	cursor: pointer;
	transition: opacity 0.15s;
}

.btn-primary:hover {
	opacity: 0.75;
}

.btn-secondary {
	font-family: var(--mono);
	font-size: 10px;
	letter-spacing: 0.06em;
	color: var(--text2);
	background: none;
	border: 0.5px solid var(--border2);
	border-radius: 4px;
	padding: 7px 16px;
	cursor: pointer;
	transition: all 0.15s;
}

.btn-secondary:hover {
	border-color: var(--text3);
	color: var(--text);
}

.post-body {
	font-size: 17px;
	/* was 15px — bigger, more readable */
	font-family: var(--sans);
	/* Inter — natural reading font */
	color: var(--text2);
	line-height: 1.9;
	max-width: 660px;
}

.post-body h2 {
	font-family: var(--serif);
	font-size: 24px;
	color: var(--text);
	margin: 36px 0 14px;
}

.post-body h3 {
	font-size: 16px;
	font-weight: 600;
	color: var(--text);
	margin: 28px 0 10px;
}

.post-body p {
	margin-bottom: 18px;
}

.post-body table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
	margin: 24px 0;
}

.post-body th {
	font-family: var(--mono);
	font-size: 9px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--text3);
	text-align: left;
	padding: 8px 12px;
	border-bottom: 0.5px solid var(--border2);
}

.post-body td {
	padding: 10px 12px;
	border-bottom: 0.5px solid var(--border);
	color: var(--text2);
	vertical-align: top;
}

.post-body code {
	font-family: var(--mono);
	font-size: 12px;
	background: var(--bg2);
	border: 0.5px solid var(--border);
	border-radius: 3px;
	padding: 2px 6px;
	color: var(--text);
}

.post-body pre {
	background: var(--bg2);
	border: 0.5px solid var(--border);
	border-radius: 6px;
	padding: 20px;
	overflow-x: auto;
	margin: 24px 0;
	font-family: var(--mono);
	font-size: 12px;
	line-height: 1.7;
	max-width: 100%;
}

.post-body pre code {
	background: none;
	border: none;
	padding: 0;
}

.post-body blockquote {
	border-left: 2px solid var(--border2);
	padding-left: 20px;
	margin: 24px 0;
	color: var(--text3);
	font-style: italic;
}

.bounty-mention {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--mono);
	font-size: 10px;
	padding: 3px 8px;
	border-radius: 3px;
	background: var(--bg2);
	border: 0.5px solid var(--border2);
	color: var(--text3);
	text-decoration: none;
	transition: all 0.1s;
}

.bounty-mention:hover {
	border-color: var(--text3);
	color: var(--text2);
}

/* FILTER BUTTONS */
.filter-btn {
	font-family: var(--mono);
	font-size: 10px;
	letter-spacing: 0.08em;
	color: var(--text3);
	background: none;
	border: 0.5px solid var(--border);
	border-radius: 5px;
	padding: 6px 14px;
	cursor: pointer;
	transition: all 0.15s;
}

.filter-btn:hover {
	border-color: var(--border2);
	color: var(--text2);
}

.filter-btn.active {
	color: var(--text);
	border-color: var(--border2);
	background: var(--bg2);
}

/* ABOUT BIO */
.about-bio {
	font-size: 15px;
	color: var(--text2);
	line-height: 1.85;
	padding-left: 20px;
	border-left: 2px solid var(--border2);
	margin-bottom: 48px;
	max-width: 540px;
}

footer {
	border-top: 0.5px solid var(--border);
	padding: 24px 48px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.footer-name {
	font-family: var(--mono);
	font-size: 11px;
	color: var(--text3);
}

.footer-note {
	font-size: 11px;
	color: var(--text3);
}

/* ── Social Icons ── */
.social-icons {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}

.social-icons a {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text4);
	opacity: 0.6;
	transition: opacity 0.2s ease, color 0.2s ease;
}

.social-icons a:hover {
	color: var(--text);
	opacity: 1;
}

.social-icons svg {
	width: 18px;
	height: 18px;
}

/* Footer variant — centered row below footer text */
.social-icons--footer {
	justify-content: center;
}

/* Nav variant — small, inline with controls */
.social-icons--nav {
	gap: 10px;
	margin-right: 6px;
}

.social-icons--nav svg {
	width: 16px;
	height: 16px;
}

/* ── EMPTY STATE ── */
.empty {
	padding: 48px 0;
	font-family: var(--mono);
	font-size: 12px;
	color: var(--text3);
}

/* ── TOAST ── */
.toast {
	position: fixed;
	bottom: 32px;
	right: 32px;
	font-family: var(--mono);
	font-size: 11px;
	color: var(--bg);
	background: var(--text);
	border-radius: 6px;
	padding: 10px 18px;
	opacity: 0;
	transform: translateY(8px);
	transition: all 0.2s;
	z-index: 999;
	pointer-events: none;
}

.toast.show {
	opacity: 1;
	transform: translateY(0);
}

/* ── HIGHLIGHT ── */
mark {
	background: #ffe87c;
	color: #1a1600;
	border-radius: 2px;
	padding: 0 2px;
}

[data-theme="dark"] mark {
	background: #4a3d00;
	color: #ffe87c;
}

@media (max-width: 768px) {
	nav {
		padding: 0 20px;
	}

	/* Swap desktop links → hamburger */
	.nav-links {
		display: none;
	}

	.nav-hamburger {
		display: flex;
	}

	/* Hide nav social icons — show in mobile menu instead */
	.social-icons--nav {
		display: none;
	}

	/* Social icons inside mobile menu */
	.social-icons--mobile {
		display: flex;
		padding: 12px 4px 0;
		border-top: 0.5px solid var(--border);
		margin-top: 4px;
	}

	.social-icons--mobile a {
		min-width: 44px;
		min-height: 44px;
	}

	.page {
		padding: 48px 20px 80px;
	}

	.headline {
		font-size: 36px;
	}

	.headline-sub {
		font-size: 14px;
	}

	.two-col {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.two-col--divided {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.two-col--divided > div:first-child {
		padding-right: 0;
		border-right: none;
	}

	.two-col--divided > div:last-child {
		padding-left: 0;
	}

	.post-filters {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 8px;
		margin: 28px 0 32px;
	}

	.post-filters .filter-btn {
		text-align: center;
		padding: 7px 12px;
	}

	.bounty-amount {
		font-size: 46px;
	}

	.bounty-block {
		margin: 24px 0 40px;
		padding: 12px 0 14px;
	}

	.bounty-target {
		font-size: 12px;
	}

	.bounty-meta {
		font-size: 9px;
	}

	.bounty-track {
		width: 100%;
	}

	.admin-form-row {
		grid-template-columns: 1fr;
	}

	footer {
		padding: 20px;
	}

	.post-list {
		gap: 12px;
	}

	.post-item,
	.post-item--pinned {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
		padding: 16px 0;
		border-bottom: 0.5px solid var(--border);
		border-radius: 0;
		margin: 0;
		width: 100%;
	}

	.post-list .post-item:last-child {
		border-bottom: none;
	}

	.post-date {
		min-width: 0;
		font-size: 11px;
		padding-top: 0;
		margin-bottom: -4px;
	}

	.post-tag {
		white-space: normal;
		overflow-wrap: anywhere;
		word-break: break-word;
	}

	.post-meta-row {
		gap: 6px;
		width: 100%;
	}

	.post-title-row {
		align-items: flex-start;
		gap: 6px;
	}

	.post-title {
		font-size: clamp(14px, 4.2vw, 15px);
		line-height: 1.45;
	}

	.post-topic-row {
		row-gap: 6px;
		width: 100%;
	}

	/* Post body overflow fix */
	.post-body {
		overflow-x: hidden;
		word-break: break-word;
	}

	.post-body pre {
		font-size: 11px;
		padding: 14px;
	}

	/* Bounty log items wrap on mobile */
	.bounty-log-item {
		flex-wrap: wrap;
	}
}

@media (max-width: 480px) {
	.headline {
		font-size: 28px;
	}

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

	.bounty-amount {
		font-size: 30px;
	}
}

.pin-badge {
	font-family: var(--mono);
	font-size: 8px;
	letter-spacing: 0.1em;
	padding: 2px 7px;
	border-radius: 2px;
	text-transform: uppercase;
	background: var(--bg2);
	border: 0.5px solid var(--border2);
	color: var(--text3);
	flex-shrink: 0;
}

.hot-badge {
	font-family: var(--mono);
	font-size: 8px;
	letter-spacing: 0.1em;
	padding: 2px 7px;
	border-radius: 2px;
	text-transform: uppercase;
	background: #fff0ec;
	border: 0.5px solid #e07a50;
	color: #c04a20;
	flex-shrink: 0;
}

[data-theme="dark"] .hot-badge {
	background: #2a1200;
	color: #e07a30;
	border-color: #5a2800;
}

.cta-block {
	margin-top: 48px;
	padding: 28px 32px;
	border: 0.5px solid var(--border);
	border-radius: 10px;
	background: var(--bg2);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.cta-block-text {
	font-size: 14px;
	color: var(--text2);
	line-height: 1.6;
}

.cta-block-text strong {
	display: block;
	font-size: 16px;
	font-weight: 600;
	color: var(--text);
	margin-bottom: 4px;
}

.cta-btn {
	font-family: var(--mono);
	font-size: 10px;
	letter-spacing: 0.08em;
	color: var(--text);
	background: none;
	border: 0.5px solid var(--border2);
	border-radius: 6px;
	padding: 10px 20px;
	white-space: nowrap;
	transition: all 0.15s;
	text-decoration: none;
	display: inline-block;
	flex-shrink: 0;
}

.cta-btn:hover {
	background: var(--text);
	color: var(--bg);
	border-color: var(--text);
}

.topic-card.journey-card {
	border-color: var(--border2);
	background: linear-gradient(135deg, var(--bg2) 0%, var(--bg3) 100%);
}

.topic-card.journey-card .topic-tag {
	color: var(--text3);
}

.topic-card.journey-card .topic-name {
	color: var(--text);
}

.hof-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 12px;
	margin-bottom: 48px;
}

.hof-card {
	border: 0.5px solid var(--border);
	border-radius: 10px;
	padding: 20px 22px;
	transition: border-color 0.15s, background 0.15s;
	position: relative;
	overflow: hidden;
}

.hof-card:hover {
	border-color: var(--border2);
	background: var(--bg2);
}

.hof-card-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
}

.hof-logo {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: var(--bg3);
	border: 0.5px solid var(--border);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	flex-shrink: 0;
	font-family: var(--mono);
	font-weight: 700;
	letter-spacing: -0.04em;
	color: var(--text2);
}

.hof-company {
	font-size: 15px;
	font-weight: 600;
	color: var(--text);
}

.hof-program {
	font-family: var(--mono);
	font-size: 10px;
	color: var(--text3);
	margin-top: 1px;
}

.hof-stats {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

.hof-stat {}

.hof-stat-num {
	font-family: var(--serif);
	font-size: 22px;
	color: var(--text);
	line-height: 1;
}

.hof-stat-label {
	font-family: var(--mono);
	font-size: 9px;
	color: var(--text4);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-top: 2px;
}

.hof-status {
	position: absolute;
	top: 14px;
	right: 14px;
	font-family: var(--mono);
	font-size: 8px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 2px 7px;
	border-radius: 2px;
}

.hof-status.active {
	background: #d4edda;
	color: #145a2a;
	border: 0.5px solid #27a74a;
}

.hof-status.hunting {
	background: #fef3cd;
	color: #7a5a00;
	border: 0.5px solid #d4a017;
}

.hof-status.hall {
	background: var(--bg2);
	color: var(--text3);
	border: 0.5px solid var(--border2);
}

[data-theme="dark"] .hof-status.active {
	background: #0d2e18;
	color: #3dba60;
	border-color: #1a5a28;
}

[data-theme="dark"] .hof-status.hunting {
	background: #2e2500;
	color: #d4a017;
	border-color: #5a4500;
}

.hof-vulns {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	margin-top: 14px;
	padding-top: 12px;
	border-top: 0.5px solid var(--border);
}

.journey-item {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	padding: 22px 0;
	border-bottom: 0.5px solid var(--border);
	text-decoration: none;
	transition: background 0.1s;
}

.journey-item:last-child {
	border-bottom: none;
}

.journey-item:hover .post-title {
	color: var(--text);
}

.journey-num {
	font-family: var(--mono);
	font-size: 11px;
	color: var(--text4);
	min-width: 40px;
	padding-top: 2px;
	flex-shrink: 0;
}

@media (max-width: 640px) {
	.hof-grid {
		grid-template-columns: 1fr;
	}

	.cta-block {
		flex-direction: column;
		align-items: flex-start;
	}
}
