/* Spacetree Community Forum — Minimalist Public Q&A Directory & Knowledge Base */

.st-forum-main {
	--st-bg: #f8fafc;
	--st-surface: #ffffff;
	--st-ink: #0f172a;
	--st-ink-hover: #1e293b;
	--st-text: #334155;
	--st-muted: #64748b;
	--st-subtle: #94a3b8;
	--st-border: #e2e8f0;
	--st-border-hover: #cbd5e1;
	--st-border-soft: #f1f5f9;
	--st-emerald: #10b981;
	--st-emerald-bg: #ecfdf5;
	--st-emerald-border: #a7f3d0;
	--st-blue: #3b82f6;
	--st-blue-bg: #eff6ff;
	--st-blue-border: #bfdbfe;
	--st-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04);
	--st-shadow-md: 0 4px 20px -4px rgba(15, 23, 42, 0.07);
	--st-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

	background-color: var(--st-bg);
	min-height: calc(100vh - 140px);
	padding: 32px 0 64px 0;
	font-family: var(--st-font);
	color: var(--st-text);
}

.st-forum-container {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
}

/* ==========================================================================
   1. Forum Hero Header
   ========================================================================== */

.st-forum-hero {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;
	margin-bottom: 28px;
}

.st-forum-hero-copy {
	max-width: 680px;
}

.st-forum-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--st-muted);
	margin-bottom: 8px;
}

.st-forum-pulse-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--st-emerald);
	box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.16);
}

.st-forum-title {
	font-family: var(--st-font) !important;
	font-size: 28px !important;
	font-weight: 700 !important;
	letter-spacing: -0.03em !important;
	color: var(--st-ink) !important;
	margin: 0 0 8px 0 !important;
	line-height: 1.2 !important;
}

.st-forum-subtitle {
	font-size: 14.5px;
	line-height: 1.55;
	color: var(--st-muted);
	margin: 0;
}

.st-btn-ask-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 40px;
	padding: 0 18px;
	border-radius: 10px;
	border: 1px solid var(--st-ink);
	background: var(--st-ink);
	color: #ffffff;
	font-family: var(--st-font);
	font-size: 13.5px;
	font-weight: 600;
	cursor: pointer;
	box-shadow: var(--st-shadow-sm);
	transition: background-color 0.15s ease, transform 0.1s ease;
}

.st-btn-ask-toggle:hover {
	background: var(--st-ink-hover);
	border-color: var(--st-ink-hover);
}

.st-btn-ask-toggle:active {
	transform: scale(0.99);
}

/* ==========================================================================
   2. "Ask a Question" Drawer / Card
   ========================================================================== */

.st-ask-drawer {
	background: #ffffff;
	border: 1px solid var(--st-border);
	border-radius: 16px;
	box-shadow: var(--st-shadow-md);
	margin-bottom: 28px;
	overflow: hidden;
	animation: stFadeDown 0.2s ease-out;
}

@keyframes stFadeDown {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.st-ask-drawer-inner {
	padding: 24px 28px;
}

.st-ask-drawer-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 18px;
	margin-bottom: 20px;
	border-bottom: 1px solid var(--st-border-soft);
}

.st-ask-drawer-title-group {
	display: flex;
	align-items: center;
	gap: 12px;
}

.st-ask-icon-badge {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: #0f172a;
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.st-ask-drawer-title-group h2 {
	font-family: var(--st-font) !important;
	font-size: 17px !important;
	font-weight: 600 !important;
	color: var(--st-ink) !important;
	margin: 0 0 2px 0 !important;
}

.st-ask-drawer-title-group p {
	font-size: 13px;
	color: var(--st-muted);
	margin: 0;
}

.st-ask-close-btn {
	background: transparent;
	border: none;
	font-size: 26px;
	color: var(--st-subtle);
	cursor: pointer;
	line-height: 1;
	padding: 4px 8px;
	border-radius: 6px;
	transition: color 0.15s ease, background-color 0.15s ease;
}

.st-ask-close-btn:hover {
	color: var(--st-ink);
	background: #f1f5f9;
}

.st-ask-form .st-form-row {
	margin-bottom: 18px;
}

.st-ask-form label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--st-ink);
	margin-bottom: 6px;
}

.st-req {
	color: #dc2626;
}

.st-ask-form input[type="text"],
.st-ask-form select,
.st-ask-form textarea {
	width: 100%;
	padding: 10px 14px;
	border-radius: 9px;
	border: 1px solid var(--st-border);
	background: #ffffff;
	font-family: var(--st-font);
	font-size: 14px;
	color: var(--st-ink);
	box-sizing: border-box;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.st-ask-form input[type="text"]:focus,
.st-ask-form select:focus,
.st-ask-form textarea:focus {
	outline: none;
	border-color: var(--st-ink);
	box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

.st-field-hint {
	display: block;
	font-size: 12px;
	color: var(--st-muted);
	margin-top: 5px;
}

.st-form-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--st-border-soft);
}

.st-btn-cancel {
	background: transparent;
	border: 1px solid var(--st-border);
	padding: 9px 16px;
	border-radius: 9px;
	color: var(--st-text);
	font-family: var(--st-font);
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
}

.st-btn-cancel:hover {
	background: #f8fafc;
	color: var(--st-ink);
}

.st-btn-submit-topic {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 9px 18px;
	border-radius: 9px;
	background: var(--st-ink);
	border: 1px solid var(--st-ink);
	color: #ffffff !important;
	font-family: var(--st-font);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none !important;
	transition: background-color 0.15s ease;
}

.st-btn-submit-topic:hover {
	background: var(--st-ink-hover);
}

/* Login prompt box */
.st-login-prompt-box {
	text-align: center;
	padding: 32px 20px;
}

.st-login-prompt-box svg {
	color: var(--st-muted);
	margin-bottom: 10px;
}

.st-login-prompt-box h3 {
	font-family: var(--st-font) !important;
	font-size: 17px !important;
	font-weight: 600 !important;
	color: var(--st-ink) !important;
	margin: 0 0 6px 0 !important;
}

.st-login-prompt-box p {
	font-size: 13.5px;
	color: var(--st-muted);
	max-width: 440px;
	margin: 0 auto 16px;
}

/* ==========================================================================
   3. Search & Filter Toolbar
   ========================================================================== */

.st-forum-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 16px;
}

.st-forum-search-form {
	flex: 1 1 340px;
	max-width: 440px;
}

.st-forum-search-input-wrap {
	position: relative;
	display: flex;
	align-items: center;
}

.st-search-icon {
	position: absolute;
	left: 14px;
	color: var(--st-subtle);
	pointer-events: none;
}

.st-forum-search-input-wrap input {
	width: 100%;
	height: 40px;
	padding: 0 36px 0 40px;
	border-radius: 10px;
	border: 1px solid var(--st-border);
	background: #ffffff;
	font-family: var(--st-font);
	font-size: 13.5px;
	color: var(--st-ink);
	box-shadow: var(--st-shadow-sm);
	box-sizing: border-box;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.st-forum-search-input-wrap input:focus {
	outline: none;
	border-color: var(--st-ink);
	box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

.st-search-clear {
	position: absolute;
	right: 12px;
	color: var(--st-subtle);
	font-size: 18px;
	text-decoration: none !important;
	line-height: 1;
}

.st-forum-filter-tabs {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

.st-tab-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 34px;
	padding: 0 13px;
	border-radius: 8px;
	background: #ffffff;
	border: 1px solid var(--st-border);
	color: var(--st-muted) !important;
	font-size: 12.5px;
	font-weight: 500;
	text-decoration: none !important;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.st-tab-pill:hover {
	background: #f1f5f9;
	color: var(--st-ink) !important;
	border-color: var(--st-border-hover);
}

.st-tab-pill.is-active {
	background: var(--st-ink);
	border-color: var(--st-ink);
	color: #ffffff !important;
	font-weight: 600;
}

.st-dot-resolved {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--st-emerald);
}

.st-tab-pill.is-active .st-dot-resolved {
	background: #34d399;
}

/* Category Pills Bar */
.st-cat-pills {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 22px;
}

.st-cat-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 11px;
	border-radius: 999px;
	background: #f1f5f9;
	border: 1px solid transparent;
	color: #475569 !important;
	font-size: 12px;
	font-weight: 500;
	text-decoration: none !important;
	transition: all 0.15s ease;
}

.st-cat-pill:hover {
	background: #e2e8f0;
	color: var(--st-ink) !important;
}

.st-cat-pill.is-selected {
	background: #ffffff;
	border-color: var(--st-border);
	color: var(--st-ink) !important;
	font-weight: 600;
	box-shadow: var(--st-shadow-sm);
}

.st-cat-count {
	font-size: 10.5px;
	color: var(--st-subtle);
	font-weight: 600;
}

/* ==========================================================================
   4. Topics List Card & Rows
   ========================================================================== */

.st-topics-card {
	background: #ffffff;
	border: 1px solid var(--st-border);
	border-radius: 16px;
	box-shadow: var(--st-shadow-sm);
	overflow: hidden;
}

.st-topics-list {
	display: flex;
	flex-direction: column;
}

.st-topic-row {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	padding: 20px 24px;
	border-bottom: 1px solid var(--st-border-soft);
	transition: background-color 0.15s ease;
}

.st-topic-row:last-child {
	border-bottom: none;
}

.st-topic-row:hover {
	background-color: #f8fafc;
}

.st-topic-col-status {
	flex-shrink: 0;
	margin-top: 2px;
}

.st-badge-solved {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 3px 9px;
	border-radius: 999px;
	background: var(--st-emerald-bg);
	border: 1px solid var(--st-emerald-border);
	color: #065f46;
	font-size: 11.5px;
	font-weight: 600;
	line-height: 1.2;
}

.st-badge-open {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 3px 9px;
	border-radius: 999px;
	background: #f1f5f9;
	border: 1px solid var(--st-border);
	color: var(--st-muted);
	font-size: 11.5px;
	font-weight: 500;
	line-height: 1.2;
}

.st-open-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--st-subtle);
}

.st-topic-col-main {
	flex: 1 1 auto;
	min-width: 0;
}

.st-topic-meta-top {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 6px;
	font-size: 12px;
	color: var(--st-muted);
}

.st-topic-category-tag {
	font-weight: 600;
	color: var(--st-ink) !important;
	text-decoration: none !important;
}

.st-topic-category-tag:hover {
	text-decoration: underline !important;
}

.st-topic-dot-sep {
	color: var(--st-subtle);
}

.st-topic-row-title {
	font-family: var(--st-font) !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	color: var(--st-ink) !important;
	margin: 0 0 6px 0 !important;
	line-height: 1.35 !important;
}

.st-topic-row-title a {
	color: inherit !important;
	text-decoration: none !important;
	transition: color 0.15s ease;
}

.st-topic-row-title a:hover {
	color: #2563eb !important;
}

.st-topic-excerpt {
	font-size: 13.5px;
	color: var(--st-muted);
	line-height: 1.5;
	margin: 0 0 10px 0;
}

.st-topic-author-meta {
	display: flex;
	align-items: center;
	gap: 8px;
}

.st-topic-author-avatar {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	object-fit: cover;
}

.st-topic-author-name {
	font-size: 12px;
	font-weight: 500;
	color: var(--st-text);
}

.st-topic-col-stats {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-shrink: 0;
	margin-top: 4px;
}

.st-stat-box {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 12.5px;
	font-weight: 500;
	color: var(--st-muted);
}

.st-stat-box svg {
	color: var(--st-subtle);
}

/* Empty State */
.st-forum-empty {
	text-align: center;
	padding: 56px 24px;
}

.st-empty-icon {
	color: var(--st-subtle);
	margin-bottom: 12px;
}

.st-forum-empty h3 {
	font-family: var(--st-font) !important;
	font-size: 17px !important;
	font-weight: 600 !important;
	color: var(--st-ink) !important;
	margin: 0 0 6px 0 !important;
}

.st-forum-empty p {
	font-size: 13.5px;
	color: var(--st-muted);
	max-width: 420px;
	margin: 0 auto 18px;
}

/* Pagination */
.st-forum-pagination {
	padding: 16px 24px;
	border-top: 1px solid var(--st-border-soft);
	background: #ffffff;
}

.st-forum-pagination ul.page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.st-forum-pagination ul.page-numbers li {
	margin: 0 !important;
	padding: 0 !important;
}

.st-forum-pagination a.page-numbers,
.st-forum-pagination span.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	height: 34px;
	min-width: 34px;
	padding: 0 10px;
	border-radius: 8px;
	border: 1px solid var(--st-border);
	background: #ffffff;
	font-size: 13px;
	font-weight: 500;
	color: var(--st-text) !important;
	text-decoration: none !important;
	transition: all 0.15s ease;
}

.st-forum-pagination a.page-numbers:hover {
	background: #f1f5f9;
	border-color: var(--st-border-hover);
	color: var(--st-ink) !important;
}

.st-forum-pagination span.page-numbers.current {
	background: var(--st-ink);
	border-color: var(--st-ink);
	color: #ffffff !important;
	font-weight: 600;
}

/* ==========================================================================
   5. Single Topic View
   ========================================================================== */

.st-forum-breadcrumbs {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12.5px;
	color: var(--st-muted);
	margin-bottom: 20px;
	flex-wrap: wrap;
}

.st-forum-breadcrumbs a {
	color: var(--st-muted) !important;
	text-decoration: none !important;
}

.st-forum-breadcrumbs a:hover {
	color: var(--st-ink) !important;
	text-decoration: underline !important;
}

.st-bc-sep {
	color: var(--st-subtle);
}

.st-bc-current {
	color: var(--st-ink);
	font-weight: 500;
}

.st-topic-view-card {
	background: #ffffff;
	border: 1px solid var(--st-border);
	border-radius: 16px;
	box-shadow: var(--st-shadow-sm);
	padding: 28px 32px;
	margin-bottom: 24px;
}

.st-topic-view-meta-row {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 12px;
}

.st-topic-view-stats {
	font-size: 12.5px;
	color: var(--st-muted);
	margin-left: auto;
}

.st-topic-view-title {
	font-family: var(--st-font) !important;
	font-size: 24px !important;
	font-weight: 700 !important;
	color: var(--st-ink) !important;
	letter-spacing: -0.025em !important;
	line-height: 1.3 !important;
	margin: 0 0 16px 0 !important;
}

.st-topic-view-author-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 14px;
	padding: 14px 0 18px;
	border-top: 1px solid var(--st-border-soft);
	border-bottom: 1px solid var(--st-border-soft);
	margin-bottom: 22px;
}

.st-author-info {
	display: flex;
	align-items: center;
	gap: 12px;
}

.st-author-avatar-img {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
	border: 1px solid var(--st-border);
}

.st-author-name-row {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 2px;
}

.st-author-name {
	font-size: 14px;
	font-weight: 600;
	color: var(--st-ink);
}

.st-badge-staff {
	display: inline-flex;
	align-items: center;
	padding: 2px 7px;
	border-radius: 999px;
	background: var(--st-blue-bg);
	border: 1px solid var(--st-blue-border);
	color: #1d4ed8;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.st-badge-author,
.st-badge-op {
	display: inline-flex;
	align-items: center;
	padding: 2px 7px;
	border-radius: 999px;
	background: #f1f5f9;
	border: 1px solid var(--st-border);
	color: #475569;
	font-size: 11px;
	font-weight: 600;
}

.st-author-meta-date {
	font-size: 12px;
	color: var(--st-muted);
}

.st-btn-toggle-status {
	padding: 6px 13px;
	border-radius: 8px;
	border: 1px solid var(--st-border);
	background: #ffffff;
	color: var(--st-text);
	font-family: var(--st-font);
	font-size: 12.5px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.15s ease;
}

.st-btn-toggle-status:hover {
	background: #f8fafc;
	border-color: var(--st-border-hover);
	color: var(--st-ink);
}

.st-topic-view-content {
	font-size: 14.5px;
	line-height: 1.65;
	color: var(--st-ink);
}

.st-topic-view-content p {
	margin: 0 0 16px 0;
}

.st-topic-view-content pre,
.st-topic-view-content code {
	font-family: "JetBrains Mono", Menlo, Consolas, monospace;
	font-size: 13px;
	background: #0f172a;
	color: #f8fafc;
	border-radius: 8px;
	padding: 3px 6px;
}

.st-topic-view-content pre {
	padding: 14px 18px;
	overflow-x: auto;
	margin: 16px 0;
}

/* ==========================================================================
   6. Highlighted Accepted Developer Solution Card
   ========================================================================== */

.st-accepted-solution-card {
	background: var(--st-emerald-bg);
	border: 1px solid var(--st-emerald-border);
	border-radius: 16px;
	box-shadow: 0 4px 16px -4px rgba(16, 185, 129, 0.12);
	padding: 22px 26px;
	margin-bottom: 28px;
}

.st-accepted-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 12px;
	margin-bottom: 14px;
	border-bottom: 1px solid rgba(16, 185, 129, 0.22);
}

.st-accepted-badge-title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 700;
	color: #065f46;
}

.st-accepted-badge-title svg {
	color: #059669;
}

.st-jump-to-reply {
	font-size: 12.5px;
	font-weight: 600;
	color: #065f46 !important;
	text-decoration: none !important;
}

.st-jump-to-reply:hover {
	text-decoration: underline !important;
}

.st-accepted-author-row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
}

.st-reply-avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	object-fit: cover;
	border: 1px solid var(--st-border);
}

.st-reply-author-name {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 13.5px;
	color: var(--st-ink);
}

.st-reply-time {
	font-size: 11.5px;
	color: var(--st-muted);
}

.st-accepted-body {
	font-size: 14px;
	line-height: 1.6;
	color: #064e3b;
}

/* ==========================================================================
   7. Discussion Replies Section
   ========================================================================== */

.st-forum-replies-section {
	margin-top: 32px;
}

.st-replies-header {
	margin-bottom: 16px;
}

.st-replies-header h2 {
	font-family: var(--st-font) !important;
	font-size: 18px !important;
	font-weight: 700 !important;
	color: var(--st-ink) !important;
	margin: 0 !important;
}

.st-replies-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-bottom: 28px;
}

.st-reply-card {
	background: #ffffff;
	border: 1px solid var(--st-border);
	border-radius: 14px;
	padding: 18px 22px;
	box-shadow: var(--st-shadow-sm);
	transition: border-color 0.15s ease;
}

.st-reply-card.is-accepted-card {
	border-color: var(--st-emerald);
	background: #fbfdfc;
	box-shadow: 0 2px 12px rgba(16, 185, 129, 0.08);
}

.st-reply-card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 14px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--st-border-soft);
}

.st-reply-author-group {
	display: flex;
	align-items: center;
	gap: 10px;
}

.st-reply-actions-group {
	display: flex;
	align-items: center;
	gap: 8px;
}

.st-badge-accepted-pill {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 3px 8px;
	border-radius: 999px;
	background: var(--st-emerald-bg);
	border: 1px solid var(--st-emerald-border);
	color: #065f46;
	font-size: 11px;
	font-weight: 600;
}

.st-btn-accept-solution {
	padding: 5px 10px;
	border-radius: 7px;
	border: 1px solid var(--st-border);
	background: #ffffff;
	color: var(--st-text);
	font-family: var(--st-font);
	font-size: 12px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.15s ease;
}

.st-btn-accept-solution:hover {
	background: #f8fafc;
	color: var(--st-ink);
	border-color: var(--st-border-hover);
}

.st-reply-card-body {
	font-size: 14px;
	line-height: 1.6;
	color: var(--st-ink);
}

.st-reply-card-body p {
	margin: 0 0 12px 0;
}

.st-reply-card-body p:last-child {
	margin-bottom: 0;
}

.st-no-replies-yet {
	background: #ffffff;
	border: 1px dashed var(--st-border);
	border-radius: 12px;
	padding: 28px 20px;
	text-align: center;
	color: var(--st-muted);
	font-size: 13.5px;
	margin-bottom: 24px;
}

/* Reply Form Box */
.st-reply-form-box {
	background: #ffffff;
	border: 1px solid var(--st-border);
	border-radius: 16px;
	box-shadow: var(--st-shadow-sm);
	padding: 24px 28px;
}

.st-reply-form-box h3 {
	font-family: var(--st-font) !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	color: var(--st-ink) !important;
	margin: 0 0 14px 0 !important;
}

.st-replying-as {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--st-muted);
	margin-bottom: 12px;
}

.st-curr-user-avatar {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	object-fit: cover;
}

.st-reply-form textarea {
	width: 100%;
	padding: 12px 14px;
	border-radius: 10px;
	border: 1px solid var(--st-border);
	background: #ffffff;
	font-family: var(--st-font);
	font-size: 14px;
	color: var(--st-ink);
	box-sizing: border-box;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.st-reply-form textarea:focus {
	outline: none;
	border-color: var(--st-ink);
	box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

.st-reply-form-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 12px;
}

.st-reply-guideline-hint {
	font-size: 12px;
	color: var(--st-muted);
}

/* ==========================================================================
   8. Responsive Adjustments
   ========================================================================== */

@media (max-width: 768px) {
	.st-forum-hero {
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
	}

	.st-btn-ask-toggle {
		width: 100%;
		justify-content: center;
	}

	.st-ask-drawer-inner {
		padding: 18px 16px;
	}

	.st-topic-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
		padding: 16px 18px;
	}

	.st-topic-col-stats {
		width: 100%;
		justify-content: flex-end;
		border-top: 1px solid var(--st-border-soft);
		padding-top: 8px;
		margin-top: 6px;
	}

	.st-topic-view-card {
		padding: 20px 18px;
	}

	.st-topic-view-title {
		font-size: 20px !important;
	}

	.st-topic-view-author-bar {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.st-btn-toggle-status {
		width: 100%;
		text-align: center;
	}

	.st-accepted-solution-card {
		padding: 16px 18px;
	}

	.st-reply-form-box {
		padding: 18px 16px;
	}

	.st-reply-form-footer {
		flex-direction: column;
		align-items: stretch;
	}

	.st-reply-form-footer .st-btn-submit-topic {
		width: 100%;
		justify-content: center;
	}
}

/* ==========================================================================
   Admin Moderation Bar & Controls (v1.1.0)
   ========================================================================== */
.st-admin-moderation-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	background: #fffbeb;
	border: 1px solid #fde68a;
	border-radius: 12px;
	padding: 12px 18px;
	margin-bottom: 20px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.st-admin-mod-info {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: #92400e;
}

.st-admin-mod-info strong {
	font-weight: 600;
	color: #78350f;
}

.st-admin-shield {
	font-size: 14px;
}

.st-mod-status-pill {
	display: inline-flex;
	align-items: center;
	font-size: 12px;
	font-weight: 600;
	padding: 3px 10px;
	border-radius: 9999px;
	line-height: 1.2;
}

.st-mod-status-pill.is-pending {
	background: #fef3c7;
	color: #b45309;
	border: 1px solid #fcd34d;
}

.st-mod-status-pill.is-published {
	background: #ecfdf5;
	color: #047857;
	border: 1px solid #a7f3d0;
}

.st-admin-mod-actions {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.st-btn-mod {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 12px;
	font-weight: 600;
	padding: 6px 12px;
	border-radius: 8px;
	cursor: pointer;
	line-height: 1.3;
	transition: all 0.15s ease;
}

.st-btn-mod.st-mod-approve {
	background: #059669;
	color: #ffffff;
	border: 1px solid #059669;
}

.st-btn-mod.st-mod-approve:hover {
	background: #047857;
	border-color: #047857;
}

.st-btn-mod.st-mod-hide {
	background: #ffffff;
	color: #475569;
	border: 1px solid #cbd5e1;
}

.st-btn-mod.st-mod-hide:hover {
	background: #f1f5f9;
	color: #0f172a;
}

.st-btn-mod.st-mod-delete {
	background: #ffffff;
	color: #dc2626;
	border: 1px solid #fecaca;
}

.st-btn-mod.st-mod-delete:hover {
	background: #fef2f2;
	border-color: #ef4444;
}

.st-badge-pending-admin {
	display: inline-flex;
	align-items: center;
	font-size: 11px;
	font-weight: 600;
	color: #b45309;
	background: #fef3c7;
	border: 1px solid #fde68a;
	padding: 2px 7px;
	border-radius: 9999px;
	letter-spacing: 0.01em;
}

/* Reply Moderation Buttons */
.st-admin-reply-actions {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-left: 6px;
}

.st-mod-reply-badge.is-pending {
	display: inline-flex;
	align-items: center;
	font-size: 11px;
	font-weight: 600;
	color: #b45309;
	background: #fef3c7;
	border: 1px solid #fde68a;
	padding: 2px 6px;
	border-radius: 9999px;
}

.st-btn-mod-reply {
	display: inline-flex;
	align-items: center;
	font-size: 11px;
	font-weight: 600;
	padding: 3px 8px;
	border-radius: 6px;
	cursor: pointer;
	line-height: 1.2;
	transition: all 0.15s ease;
}

.st-btn-mod-reply.st-mod-approve {
	background: #ecfdf5;
	color: #047857;
	border: 1px solid #a7f3d0;
}

.st-btn-mod-reply.st-mod-approve:hover {
	background: #059669;
	color: #ffffff;
	border-color: #059669;
}

.st-btn-mod-reply.st-mod-hide {
	background: #f8fafc;
	color: #64748b;
	border: 1px solid #e2e8f0;
}

.st-btn-mod-reply.st-mod-hide:hover {
	background: #f1f5f9;
	color: #0f172a;
}

.st-btn-mod-reply.st-mod-delete {
	background: #ffffff;
	color: #dc2626;
	border: 1px solid #fee2e2;
}

.st-btn-mod-reply.st-mod-delete:hover {
	background: #fef2f2;
	border-color: #ef4444;
}

@media (max-width: 640px) {
	.st-admin-moderation-bar {
		flex-direction: column;
		align-items: stretch;
	}

	.st-admin-mod-actions {
		width: 100%;
		justify-content: flex-start;
		flex-wrap: wrap;
	}
}


