﻿:root {
	color-scheme: dark;
	font-family: "Space Grotesk", "Segoe UI", sans-serif;
	background: #040810;
	color: #e8edf8;
	--surface: rgba(6, 10, 20, 0.88);
	--surface-border: rgba(160, 190, 240, 0.2);
	--accent: #1a6eff;
	--accent-soft: #7ab8ff;
	--text-muted: #9ab0d0;
}

* {
	box-sizing: border-box;
}

[hidden] {
	display: none !important;
}

body {
	margin: 0;
	padding: 0;
	min-height: 100vh;
	overflow-x: hidden;
	background: radial-gradient(circle at top, rgba(26, 110, 255, 0.28), transparent 55%),
		linear-gradient(140deg, #040810 10%, #050c18 55%, #02050e 100%);
	color: inherit;
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	background-image: linear-gradient(rgba(192, 198, 210, 0.08) 1px, transparent 1px),
		linear-gradient(90deg, rgba(192, 198, 210, 0.08) 1px, transparent 1px);
	background-size: 28px 28px;
	pointer-events: none;
	opacity: 0.35;
}

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

.shell {
	max-width: 1100px;
	margin: 0 auto;
	padding: 28px 20px 80px;
	position: relative;
}

.site-header {
	position: sticky;
	top: 0;
	backdrop-filter: blur(16px);
	background: #000;
	border-bottom: 1px solid rgba(192, 198, 210, 0.18);
	z-index: 5;
}

.site-header .shell {
	padding-top: 14px;
	padding-bottom: 14px;
}

.header-shell {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	position: relative;
}

.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
}

.brand-logo {
	width: 34px;
	height: 44px;
	display: block;
	object-fit: contain;
	flex: 0 0 auto;
}

.brand-copy {
	display: grid;
	gap: 1px;
	line-height: 1;
}

.brand-mark {
	font-size: 1.25rem;
	letter-spacing: 0.04em;
}

.brand-tagline {
	color: var(--text-muted);
	font-family: "IBM Plex Mono", "Segoe UI", monospace;
	font-size: 0.58rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	line-height: 1.25;
	text-transform: uppercase;
}

.wordmark-logo {
	display: inline-block;
	object-fit: contain;
	flex: 0 0 auto;
}

.brand-wordmark-logo {
	width: 21px;
	height: 21px;
	transform: translateY(1px);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-left: auto;
}

.header-icon-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(192, 198, 210, 0.25);
	border-radius: 10px;
	background: rgba(18, 18, 24, 0.85);
	color: #f7f1f6;
	flex: 0 0 42px;
	font: inherit;
	cursor: pointer;
	appearance: none;
	text-decoration: none;
}

.header-icon-link svg {
	width: 19px;
	height: 19px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.header-chat-link.is-active {
	border-color: rgba(26, 110, 255, 0.62);
	background: rgba(26, 110, 255, 0.14);
	color: #c5e0ff;
}

.header-follow-btn {
	border-color: rgba(122, 184, 255, 0.34);
	background: linear-gradient(180deg, rgba(26, 110, 255, 0.18), rgba(10, 18, 36, 0.9));
	color: #c5e0ff;
}

.header-wallet-btn.is-active {
	border-color: rgba(74, 222, 128, 0.5);
	background: rgba(74, 222, 128, 0.12);
	color: #4ade80;
}

.header-donate-btn {
	width: auto;
	height: 42px;
	padding: 0 14px;
	border: 1px solid rgba(192, 198, 210, 0.25);
	border-radius: 10px;
	background: rgba(18, 18, 24, 0.85);
	color: #f7f1f6;
	font-size: 0.78rem;
	white-space: nowrap;
}

.menu-toggle {
	display: inline-flex;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid rgba(192, 198, 210, 0.25);
	border-radius: 10px;
	background: rgba(18, 18, 24, 0.85);
	cursor: pointer;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
}

.header-icon-link:hover,
.header-donate-btn:hover,
.menu-toggle:hover {
	border-color: rgba(192, 198, 210, 0.42);
	background: rgba(26, 26, 34, 0.92);
}

.header-icon-link:focus-visible,
.header-donate-btn:focus-visible,
.menu-toggle:focus-visible {
	outline: 2px solid rgba(192, 198, 210, 0.3);
	outline-offset: 2px;
}

.menu-toggle span {
	display: block;
	width: 18px;
	height: 2px;
	border-radius: 999px;
	background: #f7f1f6;
	transition: transform 0.2s ease, opacity 0.2s ease, scale 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
	scale: 0.6;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.hero-link-btn {
	text-decoration: none;
}

.hero-shell {
	display: grid;
	gap: 36px;
}

.hero {
	padding: 60px 0 10px;
	text-align: center;
}

.hero h1 {
	margin: 0 0 12px;
	font-size: clamp(2.2rem, 5vw, 3.4rem);
	letter-spacing: -0.02em;
	display: flex;
	align-items: baseline;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.35em;
}

.hero-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.18em;
	font-size: clamp(2.8rem, 7vw, 4.8rem);
	line-height: 0.95;
}

.hero-eth-logo {
	width: 0.56em;
	height: 0.86em;
	object-fit: contain;
}

.hero-brand-text {
	display: inline-flex;
	align-items: flex-end;
	gap: 0;
}

.hero-wordmark-logo {
	width: 0.72em;
	height: 0.72em;
	margin: 0 0.01em 0 0.01em;
	transform: translateY(0.03em);
}

.hero-search {
	font-size: clamp(1.55rem, 3vw, 2.4rem);
	color: var(--accent-soft);
	font-weight: 500;
}

.hero-network-title {
	display: block;
	flex-basis: 100%;
	color: var(--accent-soft);
	font-family: "IBM Plex Mono", "Segoe UI", monospace;
	font-size: clamp(0.84rem, 1.8vw, 1.12rem);
	font-weight: 500;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
}

.chat-shell {
	display: grid;
	gap: 28px;
	padding-top: 42px;
}

.chat-hero {
	display: grid;
	gap: 12px;
	max-width: 760px;
}

.chat-hero h1 {
	margin: 0;
	font-size: clamp(2.2rem, 5vw, 3.2rem);
	letter-spacing: -0.03em;
}

.chat-intro {
	margin: 0;
	max-width: 68ch;
	line-height: 1.7;
}

.chat-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
	gap: 22px;
	align-items: start;
}

.chat-panel {
	display: grid;
	gap: 18px;
	padding: 22px;
	border-radius: 24px;
	background: rgba(9, 9, 12, 0.96);
	border: 1px solid rgba(192, 198, 210, 0.16);
	box-shadow: 0 24px 52px rgba(0, 0, 0, 0.34);
}

.chat-panel-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.chat-panel-head h2 {
	margin: 0;
	font-size: 1.35rem;
}

.chat-panel-copy {
	margin: 8px 0 0;
	color: #c0c6d2;
	line-height: 1.6;
	max-width: 56ch;
}

.chat-panel-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.chat-room-badge,
.chat-feed-status {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: "IBM Plex Mono", "Segoe UI", monospace;
	font-size: 0.74rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.chat-room-badge {
	padding: 6px 10px;
	border-radius: 999px;
	border: 1px solid rgba(26, 110, 255, 0.28);
	background: rgba(26, 110, 255, 0.1);
	color: #c5e0ff;
}

.chat-feed-status {
	color: #c0c6d2;
}

.chat-feed {
	display: grid;
	gap: 14px;
	min-height: 240px;
}

.chat-message {
	display: grid;
	gap: 16px;
	padding: 18px;
	border-radius: 20px;
	background: rgba(14, 14, 18, 0.92);
	border: 1px solid rgba(192, 198, 210, 0.14);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
	scroll-margin-top: 110px;
}

.chat-message.is-targeted {
	border-color: rgba(26, 110, 255, 0.45);
	box-shadow: 0 0 0 1px rgba(26, 110, 255, 0.16), 0 0 28px rgba(26, 110, 255, 0.16);
}

.chat-message-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
}

.chat-message-author-wrap {
	display: grid;
	gap: 6px;
}

.chat-message-author {
	font-weight: 600;
	color: #f7f1f6;
}

.chat-message-time {
	font-family: "IBM Plex Mono", "Segoe UI", monospace;
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #c0c6d2;
}

.chat-message-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.chat-message-body {
	display: grid;
	gap: 12px;
	color: #e5e8f0;
	line-height: 1.7;
}

.chat-message-body p {
	margin: 0;
}

.chat-message-body strong {
	color: #fff2fb;
}

.chat-message-body em {
	color: #f8cbe4;
}

.chat-message-body a {
	color: #b8f7d4;
	text-decoration: underline;
	text-decoration-color: rgba(184, 247, 212, 0.45);
	text-underline-offset: 2px;
	overflow-wrap: anywhere;
}

.chat-media-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 12px;
}

.chat-media-card {
	display: grid;
	gap: 10px;
	padding: 12px;
	border-radius: 18px;
	background: rgba(10, 10, 14, 0.94);
	border: 1px solid rgba(192, 198, 210, 0.14);
}

.chat-media-preview {
	width: 100%;
	border-radius: 14px;
	background: rgba(6, 6, 10, 0.96);
	border: 1px solid rgba(192, 198, 210, 0.14);
}

.chat-media-preview-image {
	display: block;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.chat-media-preview-video {
	display: block;
	aspect-ratio: 16 / 9;
}

.chat-media-preview-audio {
	display: block;
}

.chat-media-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
}

.chat-media-kind {
	font-family: "IBM Plex Mono", "Segoe UI", monospace;
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #c5e0ff;
}

.chat-link-row,
.chat-tag-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.chat-link-chip,
.chat-tag-chip {
	display: inline-flex;
	align-items: center;
	padding: 7px 11px;
	border-radius: 999px;
	font-family: "IBM Plex Mono", "Segoe UI", monospace;
	font-size: 0.73rem;
	line-height: 1.2;
}

.chat-link-chip {
	border: 1px solid rgba(192, 198, 210, 0.18);
	background: rgba(18, 18, 24, 0.88);
	color: #b8f7d4;
}

.chat-tag-chip {
	border: 1px solid rgba(26, 110, 255, 0.24);
	background: rgba(26, 110, 255, 0.1);
	color: #c5e0ff;
}

.chat-empty {
	display: grid;
	place-items: center;
	padding: 44px 22px;
	border-radius: 20px;
	border: 1px dashed rgba(192, 198, 210, 0.18);
	background: rgba(12, 12, 16, 0.88);
	color: #c0c6d2;
	text-align: center;
	line-height: 1.7;
}

.chat-compose-copy {
	margin: 0;
	color: #cbd2de;
	line-height: 1.7;
}

.chat-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.chat-toolbar-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 12px;
	border-radius: 12px;
	border: 1px solid rgba(192, 198, 210, 0.18);
	background: rgba(18, 18, 24, 0.82);
	color: #f7f1f6;
	font: inherit;
	font-size: 0.8rem;
	cursor: pointer;
}

.chat-toolbar-btn:hover {
	border-color: rgba(26, 110, 255, 0.44);
	background: rgba(26, 110, 255, 0.12);
}

.chat-emoji-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.chat-emoji-btn {
	min-width: 42px;
	padding: 8px 10px;
	font-size: 1rem;
}

.chat-editor-shell {
	padding: 14px;
	border-radius: 18px;
	border: 1px solid rgba(192, 198, 210, 0.18);
	background: rgba(12, 12, 16, 0.92);
}

.chat-editor {
	min-height: 180px;
	outline: none;
	color: #f7f1f6;
	line-height: 1.7;
}

.chat-editor.is-empty::before {
	content: attr(data-placeholder);
	color: #7f8798;
}

.chat-editor p {
	margin: 0 0 12px;
}

.chat-editor p:last-child {
	margin-bottom: 0;
}

.chat-editor a {
	color: #b8f7d4;
	text-decoration: underline;
	text-decoration-color: rgba(184, 247, 212, 0.45);
}

.chat-editor strong {
	color: #fff2fb;
}

.chat-editor em {
	color: #f8cbe4;
}

.chat-attachments-panel {
	display: grid;
	gap: 12px;
	padding: 14px;
	border-radius: 18px;
	border: 1px solid rgba(192, 198, 210, 0.14);
	background: rgba(14, 14, 18, 0.92);
}

.chat-attachments-panel[hidden] {
	display: none !important;
}

.chat-attachments-list {
	display: grid;
	gap: 10px;
}

.chat-attachment-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
	padding: 10px 12px;
	border-radius: 14px;
	background: rgba(9, 9, 12, 0.94);
	border: 1px solid rgba(192, 198, 210, 0.14);
}

.chat-attachment-copy {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.chat-attachment-type {
	font-family: "IBM Plex Mono", "Segoe UI", monospace;
	font-size: 0.7rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #c5e0ff;
}

.chat-attachment-label,
.chat-attachment-url {
	overflow-wrap: anywhere;
}

.chat-attachment-url {
	font-size: 0.82rem;
	color: #c0c6d2;
}

.chat-attachment-remove {
	padding: 7px 11px;
	border-radius: 999px;
	border: 1px solid rgba(192, 198, 210, 0.18);
	background: rgba(18, 18, 24, 0.82);
	color: #f7f1f6;
	font: inherit;
	cursor: pointer;
}

.chat-attachment-remove:hover {
	border-color: rgba(255, 110, 140, 0.45);
	color: #ffd6df;
}

.chat-composer-status {
	margin: 0;
	font-family: "IBM Plex Mono", "Segoe UI", monospace;
	font-size: 0.82rem;
	line-height: 1.6;
	color: #cbd2de;
}

.chat-composer-status.is-error {
	color: #ff9db4;
}

.chat-composer-status.is-success {
	color: #b8f7d4;
}

.chat-insert-modal {
	width: min(100%, 560px);
}

.muted {
	color: #9aa1af;
}

.search-bar {
	margin: 28px auto 12px;
	max-width: 680px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto auto;
	align-items: center;
	gap: 8px;
	padding: 9px 10px;
	border-radius: 999px;
	background: rgba(13, 13, 18, 0.96);
	border: 1px solid rgba(192, 198, 210, 0.16);
	box-shadow: 0 18px 40px rgba(4, 4, 8, 0.52);
}

.search-input {
	background: transparent;
	border: none;
	color: inherit;
	font-size: 1rem;
	padding: 12px 4px;
	outline: none;
	font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
}

.search-btn {
	border: none;
	border-radius: 12px;
	background: linear-gradient(135deg, #1a6eff 0%, #a8c8f0 100%);
	color: #0b0a0e;
	font-weight: 700;
	padding: 12px 20px;
	cursor: pointer;
	font-size: 0.95rem;
	letter-spacing: 0.02em;
}

.search-icon-btn {
	width: 44px;
	height: 44px;
	padding: 0;
	border-radius: 999px;
	background: transparent;
	color: #b8c0cf;
	box-shadow: none;
}

.search-icon-btn svg {
	width: 20px;
	height: 20px;
	stroke: currentColor;
	stroke-width: 2;
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.search-icon-btn:hover {
	background: rgba(26, 110, 255, 0.1);
	color: #e8edf8;
}

.search-secondary-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 18px;
	border-radius: 12px;
	border: 1px solid rgba(26, 110, 255, 0.4);
	background: rgba(26, 110, 255, 0.12);
	color: #c5e0ff;
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 0.02em;
	white-space: nowrap;
	cursor: pointer;
}

.search-add-btn {
	width: 44px;
	height: 44px;
	min-width: 44px;
	padding: 0;
	flex: 0 0 44px;
	border-radius: 999px;
	font-size: 1.35rem;
	line-height: 1;
}

.search-secondary-btn:hover {
	border-color: rgba(26, 110, 255, 0.75);
	background: rgba(26, 110, 255, 0.18);
}

.search-status {
	font-family: "IBM Plex Mono", "Segoe UI", monospace;
	font-size: 0.85rem;
	color: #7ab8ff;
}

.search-toolbar {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: nowrap;
	gap: 10px;
	margin: 0 auto 12px;
	max-width: 680px;
}

.search-scope-group {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
	flex: 0 0 auto;
}

.search-scope-option {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #dfe4ee;
	font-family: "IBM Plex Mono", "Segoe UI", monospace;
	font-size: 0.74rem;
	cursor: pointer;
	transition: color 0.2s ease;
}

.search-scope-option input {
	margin: 0;
	accent-color: #1a6eff;
}

.search-scope-option.is-active,
.search-scope-option:has(input:checked) {
	color: #fff2fb;
}

.search-filter-row {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	min-width: 0;
}

.search-source-row {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	padding-left: 12px;
	border-left: 1px solid rgba(192, 198, 210, 0.18);
}

.search-filter {
	min-width: min(100%, 210px);
	padding: 8px 12px;
	border-radius: 12px;
	border: 1px solid rgba(192, 198, 210, 0.2);
	background: rgba(13, 13, 18, 0.9);
	color: #dfe4ee;
	font-family: "IBM Plex Mono", "Segoe UI", monospace;
	font-size: 0.76rem;
	outline: none;
}

.search-filter:focus {
	border-color: rgba(26, 110, 255, 0.6);
}

.search-filter:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.search-source-select {
	width: auto;
	max-width: 170px;
	min-width: 0;
	padding: 8px 22px 8px 10px;
	border: 0;
	border-radius: 999px;
	background: #050509;
	color: #c5e0ff;
	font-family: "IBM Plex Mono", "Segoe UI", monospace;
	font-size: 0.76rem;
	text-overflow: ellipsis;
	outline: none;
	cursor: pointer;
}

.search-source-select:focus {
	background: #050509;
	color: #ffffff;
	box-shadow: 0 0 0 1px rgba(26, 110, 255, 0.52);
}

.search-source-select:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.search-source-select option {
	background: #050509;
	color: #c5e0ff;
}

.search-source-select option:checked {
	color: #ffffff;
}

.modal-backdrop {
	position: fixed;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 24px;
	background: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(10px);
	z-index: 20;
}

.modal-backdrop[hidden] {
	display: none !important;
}

.menu-modal-backdrop {
	position: fixed;
	inset: 0;
	display: grid;
	place-items: start end;
	padding: 86px 24px 24px;
	background: rgba(0, 0, 0, 0.22);
	backdrop-filter: blur(10px);
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	z-index: 24;
}

.menu-modal-backdrop[hidden] {
	display: none !important;
}

.menu-modal {
	width: min(100%, 420px);
	padding: 24px;
	border-radius: 22px;
	background: rgba(9, 9, 12, 0.98);
	border: 1px solid rgba(192, 198, 210, 0.2);
	box-shadow: 0 28px 60px rgba(0, 0, 0, 0.5);
	margin: 0;
	transform-origin: top right;
	will-change: transform, opacity;
}

.menu-modal-backdrop:not([hidden]) .menu-modal {
	animation: menu-modal-dropdown 180ms ease-out both;
}

@keyframes menu-modal-dropdown {
	from {
		opacity: 0;
		transform: translateY(-14px) scale(0.985);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@media (prefers-reduced-motion: reduce) {
	.menu-modal-backdrop:not([hidden]) .menu-modal {
		animation: none;
	}
}

.menu-modal-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 18px;
}

.menu-modal-head h2 {
	margin: 0;
	font-size: 1.75rem;
}

.menu-modal-actions {
	display: grid;
	gap: 10px;
	margin-bottom: 18px;
}

@media (min-width: 641px) {
	.menu-modal-actions {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.menu-modal-actions > a,
	.menu-modal-actions > button {
		width: 100%;
		aspect-ratio: 1;
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 16px 14px;
		border-radius: 18px;
		white-space: normal;
		line-height: 1.2;
		text-align: center;
		transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
	}

	.menu-modal-actions > button.search-btn {
		border: 1px solid rgba(26, 110, 255, 0.25);
	}

	.menu-modal-actions > a:hover,
	.menu-modal-actions > button:hover {
		transform: translateY(-1px);
	}

	.menu-modal-actions > a:active,
	.menu-modal-actions > button:active {
		transform: translateY(0);
	}
}

.menu-modal-links {
	display: grid;
	gap: 10px;
}

.menu-modal-links a {
	padding: 12px 14px;
	border-radius: 14px;
	border: 1px solid rgba(192, 198, 210, 0.18);
	background: rgba(18, 18, 24, 0.82);
	color: #dfe4ee;
	transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.menu-modal-links a:hover {
	border-color: rgba(26, 110, 255, 0.65);
	background: rgba(26, 110, 255, 0.1);
	transform: translateY(-1px);
}

.menu-modal-footer {
	padding: 16px 0 0;
	border-top: 1px solid rgba(192, 198, 210, 0.1);
	margin-top: 18px;
}

.menu-connect-wallet-btn {
	width: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 18px;
	border-radius: 12px;
	font-size: 0.88rem;
	font-weight: 600;
}

.menu-connect-wallet-btn svg {
	flex-shrink: 0;
}

.ens-preview-backdrop {
	position: fixed;
	inset: 0;
	display: grid;
	place-items: stretch;
	padding: 0;
	background: rgba(0, 0, 0, 0.76);
	backdrop-filter: blur(10px);
	z-index: 30;
}

.ens-preview-backdrop[hidden] {
	display: none !important;
}

.ens-preview-modal {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	background: rgba(9, 9, 12, 0.98);
	border: 1px solid rgba(192, 198, 210, 0.2);
	box-shadow: 0 28px 60px rgba(0, 0, 0, 0.5);
}

.ens-preview-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 14px;
	padding: 14px 16px;
	border-bottom: 1px solid rgba(192, 198, 210, 0.14);
}

.ens-preview-meta {
	display: grid;
	gap: 6px;
	min-width: 0;
}

.ens-preview-title {
	margin: 0;
	font-size: 1.2rem;
	line-height: 1.25;
}

.ens-preview-url {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 0;
	border: none;
	background: transparent;
	font-family: "IBM Plex Mono", "Segoe UI", monospace;
	font-size: 0.78rem;
	color: #b8f7d4;
	text-decoration: underline;
	text-decoration-color: rgba(184, 247, 212, 0.45);
	text-underline-offset: 2px;
	overflow-wrap: anywhere;
	word-break: break-word;
	cursor: pointer;
	text-align: left;
}

.ens-preview-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	flex: 0 0 auto;
}

.ens-preview-frame-wrap {
	flex: 1 1 auto;
	min-height: 0;
	background: rgba(0, 0, 0, 0.86);
}

.ens-preview-frame {
	width: 100%;
	height: 100%;
	border: none;
	background: #000;
}

.ens-preview-status {
	margin: 0;
	padding: 12px 16px;
	font-family: "IBM Plex Mono", "Segoe UI", monospace;
	font-size: 0.8rem;
	color: #9aa1af;
	border-top: 1px solid rgba(192, 198, 210, 0.14);
}

.result-url-button {
	padding: 0;
	border: none;
	background: transparent;
	cursor: pointer;
	text-align: left;
}

@media (min-width: 640px) {
	.ens-preview-backdrop {
		padding: 16px;
	}

	.ens-preview-modal {
		border-radius: 22px;
		overflow: hidden;
	}
}

.listing-modal {
	width: min(100%, 720px);
	max-height: min(88vh, 920px);
	overflow: auto;
	padding: 24px;
	border-radius: 22px;
	background: rgba(9, 9, 12, 0.98);
	border: 1px solid rgba(192, 198, 210, 0.2);
	box-shadow: 0 28px 60px rgba(0, 0, 0, 0.5);
}

.listing-modal.listing-modal-expanded {
	width: min(100%, 1040px);
	max-height: min(94vh, 1040px);
}

.listing-modal-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 18px;
}

.listing-modal-kicker {
	margin: 0 0 8px;
	color: var(--accent-soft);
	font-family: "IBM Plex Mono", "Segoe UI", monospace;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.14em;
}

.listing-modal-head h2 {
	margin: 0;
	font-size: clamp(1.5rem, 4vw, 2rem);
}

.listing-modal-close {
	width: 42px;
	height: 42px;
	border: 1px solid rgba(192, 198, 210, 0.22);
	border-radius: 12px;
	background: rgba(18, 18, 24, 0.85);
	color: #f7f1f6;
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
}

.post-modal-backdrop {
	padding: 18px;
}

.post-page-body {
	min-height: 100vh;
}

.post-page-main {
	display: grid;
	gap: 22px;
	padding-top: 36px;
	padding-bottom: 56px;
}

.post-page-intro {
	display: grid;
	gap: 10px;
	padding: 24px 26px;
	border-radius: 24px;
	border: 1px solid rgba(192, 198, 210, 0.14);
	background: rgba(10, 10, 14, 0.9);
	box-shadow: 0 24px 52px rgba(0, 0, 0, 0.28);
}

.post-page-intro h1 {
	margin: 0;
	font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.post-page-intro .muted,
.post-page-status {
	margin: 0;
}

.post-page-backdrop {
	width: 100%;
}

.post-modal.post-page-modal {
	width: 100%;
	height: auto;
	max-height: none;
	margin: 0;
}

.post-page-head-link {
	flex-shrink: 0;
}

.post-modal {
	width: min(100%, 1200px);
	height: min(94vh, 980px);
	max-height: min(94vh, 980px);
	padding: 28px;
	border-radius: 26px;
}

.post-modal-head {
	margin-bottom: 22px;
}

.post-modal-subhead {
	margin: 10px 0 0;
	color: #c0c6d2;
	font-family: "IBM Plex Mono", "Segoe UI", monospace;
	font-size: 0.78rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.post-modal-subhead:empty {
	display: none;
}

.post-modal-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 22px;
	min-height: 0;
}

.post-modal-main,
.post-modal-side {
	min-width: 0;
}

.post-modal-main {
	display: grid;
	align-content: start;
	gap: 18px;
	overflow: auto;
	padding-right: 6px;
}

.post-modal-actions {
	order: 2;
}

.post-modal-media-grid {
	order: 0;
}

.post-modal-body {
	order: 1;
}



.post-modal-stats {
	order: 5;
}

.post-modal-comments-panel {
	order: 6;
}

.post-modal-side {
	display: grid;
	align-content: start;
	gap: 16px;
	overflow: auto;
	padding-left: 4px;
}

.post-modal-actions,
.post-modal-stats,
.post-modal-tags,
.post-modal-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.post-modal-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.post-modal-stat,
.post-modal-panel {
	border-radius: 18px;
	border: 1px solid rgba(192, 198, 210, 0.14);
	background: rgba(14, 14, 18, 0.92);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.post-modal-stat {
	display: grid;
	gap: 6px;
	padding: 14px 16px;
}

.post-modal-stat strong {
	font-size: 1.2rem;
	color: #f7f1f6;
}

.post-modal-stat span {
	font-family: "IBM Plex Mono", "Segoe UI", monospace;
	font-size: 0.76rem;
	color: #c0c6d2;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.post-modal-body {
	display: grid;
	gap: 14px;
}

.post-modal-body p {
	margin: 0;
	padding: 18px 20px;
	border-radius: 18px;
	background: linear-gradient(180deg, rgba(20, 20, 26, 0.98), rgba(10, 10, 14, 0.98));
	border: 1px solid rgba(192, 198, 210, 0.14);
	color: #e5e8f0;
	line-height: 1.7;
	overflow-wrap: anywhere;
}

.post-modal-body strong {
	color: #fff2fb;
	font-weight: 700;
}

.post-modal-body em {
	font-style: italic;
	color: #ffd6ef;
}

.post-modal-inline-link {
	color: #8fd7ff;
	text-decoration: underline;
	text-underline-offset: 2px;
	overflow-wrap: anywhere;
}

.post-modal-inline-heading {
	display: inline-block;
	font-size: 1.02rem;
	letter-spacing: 0.01em;
}

.post-modal-inline-prefix {
	color: #7ab8ff;
}

.post-modal-media-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
}

.post-modal-site-preview {
	order: 4;
	display: grid;
	gap: 12px;
	padding: 16px 18px;
}

.post-modal-site-preview-note {
	margin: 0;
	line-height: 1.6;
}

.post-modal-site-preview-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.post-modal-site-preview-frame-wrap {
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid rgba(192, 198, 210, 0.14);
	background: rgba(8, 8, 12, 0.98);
}

.post-modal-site-preview-frame {
	width: 100%;
	height: 440px;
	border: 0;
	display: block;
	background: rgba(8, 8, 12, 0.98);
}

.post-modal-action-cta {
	padding: 14px 20px;
	font-size: 1rem;
}

@media (max-width: 760px) {
	.post-modal-site-preview-frame {
		height: 360px;
	}
}

.post-modal-media-card {
	display: grid;
	gap: 10px;
	padding: 14px;
	border-radius: 18px;
	background: rgba(14, 14, 18, 0.92);
	border: 1px solid rgba(192, 198, 210, 0.14);
	overflow: hidden;
}

.post-modal-media-card.is-primary {
	grid-column: 1 / -1;
	padding: 18px;
}

.post-modal-media {
	width: 100%;
	border-radius: 14px;
	background: rgba(8, 8, 12, 0.98);
	border: 1px solid rgba(192, 198, 210, 0.14);
}

.post-modal-media-image {
	display: block;
	width: 100%;
	height: auto;
	max-height: 800px;
	object-fit: contain;
	image-rendering: auto;
	-ms-interpolation-mode: bicubic;
}

.post-modal-media-card.is-primary .post-modal-media-image {
	max-height: 900px;
}

.post-modal-media-video {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: contain;
	background: #050507;
	max-height: 680px;
}

.post-modal-media-frame {
	display: block;
	width: 100%;
	border: 0;
	background: #050507;
	min-height: 280px;
	aspect-ratio: 16 / 9;
}

.post-modal-media-card.is-primary .post-modal-media-video {
	max-height: 760px;
}

.post-modal-media-card.is-primary .post-modal-media-frame {
	min-height: 360px;
}


.post-modal-media-note {
	margin: 0;
	font-family: "IBM Plex Mono", "Segoe UI", monospace;
	font-size: 0.72rem;
	line-height: 1.45;
	color: #f3b9d8;
}
.post-modal-media-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

.post-modal-media-kind {
	font-family: "IBM Plex Mono", "Segoe UI", monospace;
	font-size: 0.72rem;
	color: #c5e0ff;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

/* --- Media Player Section --- */
.post-modal-player-section {
	margin-top: 16px;
	padding: 18px;
	border-radius: 18px;
	background: rgba(14, 14, 18, 0.92);
	border: 1px solid rgba(192, 198, 210, 0.14);
}
.post-modal-player-title {
	margin: 0 0 12px 0;
	font-family: "IBM Plex Mono", "Segoe UI", monospace;
	font-size: 0.85rem;
	font-weight: 600;
	color: #c5e0ff;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
.post-modal-player-container audio,
.post-modal-player-container video {
	width: 100%;
	border-radius: 10px;
	outline: none;
}
.post-modal-player-container video {
	max-height: 480px;
	background: #050507;
}
.post-modal-player-status {
	margin: 8px 0 0 0;
	font-family: "IBM Plex Mono", "Segoe UI", monospace;
	font-size: 0.72rem;
	color: rgba(197, 224, 255, 0.6);
}
.post-modal-player-status:empty {
	display: none;
}

.post-modal-media-open,
.post-modal-link,
.post-modal-fact-link {
	color: #b8f7d4;
	text-decoration: underline;
	text-decoration-color: rgba(184, 247, 212, 0.45);
	text-underline-offset: 2px;
	overflow-wrap: anywhere;
}

.post-modal-panel {
	display: grid;
	gap: 14px;
	padding: 16px;
}

.post-modal-panel h3 {
	margin: 0;
	font-size: 0.98rem;
	color: #f7f1f6;
}

.post-modal-comments-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.post-modal-comments-count {
	font-family: "IBM Plex Mono", "Segoe UI", monospace;
	font-size: 0.72rem;
	color: #c0c6d2;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.post-modal-comments-list {
	display: grid;
	gap: 12px;
}

.post-modal-comment {
	display: grid;
	gap: 10px;
	padding: 14px;
	border-radius: 16px;
	background: rgba(14, 14, 18, 0.92);
	border: 1px solid rgba(192, 198, 210, 0.14);
}

.post-modal-comment-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
}

.post-modal-comment-author,
.post-modal-comment-time {
	font-family: "IBM Plex Mono", "Segoe UI", monospace;
	font-size: 0.72rem;
	color: #c0c6d2;
}

.post-modal-comment-author {
	color: #f7f1f6;
}

.post-modal-comment-body {
	margin: 0;
	color: #e5e8f0;
	line-height: 1.6;
	overflow-wrap: anywhere;
}

.post-modal-comment-form {
	display: grid;
	gap: 14px;
}

.post-modal-facts {
	display: grid;
	gap: 10px;
}

.post-modal-fact {
	display: grid;
	gap: 4px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(192, 198, 210, 0.12);
}

.post-modal-fact:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.post-modal-fact-label {
	font-family: "IBM Plex Mono", "Segoe UI", monospace;
	font-size: 0.7rem;
	color: #c0c6d2;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.post-modal-fact-value {
	color: #f1f4fa;
	overflow-wrap: anywhere;
}

.post-modal-tag {
	display: inline-flex;
	align-items: center;
	padding: 6px 11px;
	border-radius: 999px;
	background: rgba(26, 110, 255, 0.12);
	border: 1px solid rgba(26, 110, 255, 0.24);
	color: #c5e0ff;
	font-family: "IBM Plex Mono", "Segoe UI", monospace;
	font-size: 0.72rem;
}

.post-modal-link {
	display: inline-flex;
}

.listing-form {
	display: grid;
	gap: 16px;
}

.listing-form-warning {
	margin: 0;
	padding: 12px 14px;
	border-radius: 14px;
	border: 1px solid rgba(26, 110, 255, 0.18);
	background: rgba(26, 110, 255, 0.08);
	color: #c5e0ff;
	font-family: "IBM Plex Mono", "Segoe UI", monospace;
}

.post-modal-reactions {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	padding: 0;
	background: transparent;
	border: 0;
}

.post-modal-reaction-status {
	margin: 0;
	font-size: 0.78rem;
}

.post-reaction {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0 14px 14px 0;
	padding: 6px 8px;
	border-radius: 10px;
	border: 0;
	background: transparent;
	color: #f7f1f6;
	font: inherit;
	font-size: 0.82rem;
	cursor: pointer;
	transition: transform 0.18s ease;
}

.post-reaction:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.post-reaction:hover {
	transform: translateY(-1px);
	background: transparent;
}

.post-reaction:focus-visible {
	outline: 2px solid rgba(143, 215, 255, 0.7);
	outline-offset: 2px;
}

.post-reaction-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #c0c6d2;
	transition: color 0.2s;
}

.post-reaction:hover .post-reaction-icon {
	color: #1a6eff;
}

.post-reaction-icon svg {
	display: block;
}

.post-reaction-count {
	font-family: "IBM Plex Mono", "Segoe UI", monospace;
	font-size: 0.75rem;
	color: #c0c6d2;
}

/* CID Track Player */
.cid-track-player-section {
	margin: 18px 0;
	padding: 20px;
	border-radius: 16px;
	background: rgba(10, 10, 16, 0.92);
	border: 1px solid rgba(26, 110, 255, 0.18);
}
.cid-track-player-title {
	margin: 0 0 14px;
	font-family: "IBM Plex Mono", "Segoe UI", monospace;
	font-size: 0.82rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #8ab4ff;
}
.cid-track-player-container audio,
.cid-track-player-container video {
	width: 100%;
	border-radius: 10px;
}
.cid-track-player-status {
	margin: 8px 0 0;
	font-family: "IBM Plex Mono", monospace;
	font-size: 0.75rem;
	color: #8a8f9e;
}

/* Admin Modal */
.admin-modal-desc {
	font-size: 0.85rem;
	color: #8a8f9e;
	margin: 0 0 18px;
	line-height: 1.5;
}
.admin-blocked-tags-list {
	margin: 0 0 18px;
	max-height: 320px;
	overflow-y: auto;
}
.admin-add-tag-form {
	display: grid;
	gap: 12px;
}

	font-size: 0.8rem;
	line-height: 1.6;
}

.listing-form-type-fields {
	display: grid;
	gap: 16px;
}

.listing-form-type-fields[hidden] {
	display: none !important;
}

.listing-field {
	display: grid;
	gap: 8px;
}

.listing-extra-fields {
	display: grid;
	gap: 16px;
	padding: 16px;
	border-radius: 18px;
	border: 1px solid rgba(192, 198, 210, 0.14);
	background: rgba(14, 14, 20, 0.72);
}

.listing-extra-fields[hidden] {
	display: none !important;
}

.listing-field-grid {
	display: grid;
	gap: 14px;
}

.listing-field-grid-two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.listing-field-grid-three {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.listing-field-tools {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.listing-tool-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	min-height: 38px;
	padding: 6px 10px;
	border: 1px solid rgba(192, 198, 210, 0.18);
	border-radius: 10px;
	background: rgba(18, 18, 24, 0.82);
	color: #f7f1f6;
	font: inherit;
	font-size: 0.78rem;
	cursor: pointer;
}

.listing-tool-btn:hover {
	border-color: rgba(26, 110, 255, 0.4);
	background: rgba(26, 110, 255, 0.12);
}

.listing-description-input {
	min-height: 260px;
	max-height: 70vh;
	line-height: 1.7;
}

.listing-field-expanded .listing-description-input {
	min-height: 56vh;
}

.listing-editor-note {
	margin: 0;
	font-family: "IBM Plex Mono", "Segoe UI", monospace;
	font-size: 0.76rem;
	line-height: 1.65;
	color: #c0c6d2;
}

@media (max-width: 760px) {
	.listing-field-grid-two,
	.listing-field-grid-three {
		grid-template-columns: 1fr;
	}
}

.listing-field span {
	font-size: 0.92rem;
	font-weight: 600;
	color: #f4f1f6;
}

.listing-field input,
.listing-field select,
.listing-field textarea {
	width: 100%;
	border: 1px solid rgba(192, 198, 210, 0.2);
	border-radius: 14px;
	background: rgba(13, 13, 18, 0.95);
	color: #f7f1f6;
	padding: 14px 15px;
	font: inherit;
	resize: vertical;
}

.listing-field input:focus,
.listing-field select:focus,
.listing-field textarea:focus {
	outline: none;
	border-color: rgba(26, 110, 255, 0.65);
	box-shadow: 0 0 0 3px rgba(26, 110, 255, 0.12);
}

.listing-form-note,
.listing-form-status {
	margin: 0;
	font-family: "IBM Plex Mono", "Segoe UI", monospace;
	font-size: 0.82rem;
	line-height: 1.6;
	color: #cbd2de;
}

.listing-form-status.is-error {
	color: #ff9db4;
}

.listing-form-status.is-success {
	color: #b8f7d4;
}

.listing-form-actions {
	display: flex;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 4px;
}

.listing-cancel-btn {
	background: rgba(255, 255, 255, 0.04);
	border-color: rgba(192, 198, 210, 0.25);
	color: #d8dce5;
}

.donate-panel {
	display: grid;
	gap: 16px;
}

.donate-copy {
	margin: 0;
	color: #d0d4df;
	line-height: 1.6;
}

.donate-address-row {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 10px;
}

.donate-address {
	width: 100%;
	padding: 12px 14px;
	border-radius: 12px;
	border: 1px solid rgba(192, 198, 210, 0.2);
	background: rgba(13, 13, 18, 0.9);
	color: #f7f1f6;
	font-family: "IBM Plex Mono", "Segoe UI", monospace;
	font-size: 0.9rem;
}

.results {
	display: grid;
	gap: 18px;
}

.results-section-title {
	margin: 4px 0 0;
	font-size: clamp(1.35rem, 3vw, 2rem);
}

.firehose-section {
	display: grid;
	gap: 18px;
}

.firehose-section[hidden] {
	display: none !important;
}

.firehose-head {
	align-items: flex-end;
}

.firehose-status {
	margin: 0;
	max-width: 460px;
	text-align: right;
}

.firehose-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.firehose-list {
	display: grid;
	gap: 14px;
}

.firehose-item {
	display: grid;
	gap: 10px;
}

.firehose-item-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.firehose-item-time {
	font-family: "IBM Plex Mono", "Segoe UI", monospace;
	font-size: 0.72rem;
	color: #c0c6d2;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.results.is-idle {
	display: none;
}

.results-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	color: #c0c6d2;
	font-size: 0.95rem;
}

.results-count {
	font-family: "IBM Plex Mono", "Segoe UI", monospace;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
}

.results-list {
	display: grid;
	gap: 18px;
	min-width: 0;
}

.result-card {
	position: relative;
	padding: 20px 22px;
	border-radius: 18px;
	background: var(--surface);
	border: 1px solid var(--surface-border);
	box-shadow: 0 16px 32px rgba(4, 4, 8, 0.32);
	min-width: 0;
}

.result-card-available {
	border-color: rgba(72, 201, 126, 0.42);
	background:
		radial-gradient(circle at top right, rgba(72, 201, 126, 0.12), transparent 36%),
		var(--surface);
	box-shadow: 0 16px 32px rgba(4, 4, 8, 0.32), 0 0 0 1px rgba(72, 201, 126, 0.12), 0 0 28px rgba(72, 201, 126, 0.14);
	animation: ens-available-glow 2.8s ease-in-out infinite;
}

.result-card:hover {
	border-color: rgba(26, 110, 255, 0.6);
}

.result-card-available:hover {
	border-color: rgba(72, 201, 126, 0.7);
}

.result-title {
	display: inline-block;
	margin: 0 0 8px;
	font-size: 1.2rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--accent-soft);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	word-break: break-word;
}

.result-title-available {
	color: #7ff0a7;
	text-decoration-color: rgba(127, 240, 167, 0.55);
}

.result-title-button {
	width: auto;
	padding: 0;
	border: 0;
	background: transparent;
	text-align: left;
	cursor: pointer;
	font-family: inherit;
}

.result-title-static {
	display: block;
	margin: 0 0 8px;
	font-size: 1.2rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--accent-soft);
	word-break: break-word;
}

.result-preview {
	display: block;
	width: 68px;
	height: 68px;
	margin: 0 0 14px;
	border-radius: 18px;
	object-fit: cover;
	border: 1px solid rgba(192, 198, 210, 0.2);
	background: rgba(16, 16, 22, 0.94);
}

.result-preview-wrap {
	position: relative;
	display: inline-block;
	margin: 0 0 14px;
}

.result-preview-wrap .result-preview {
	margin: 0;
}

.result-preview-badge {
	position: absolute;
	right: 6px;
	bottom: 6px;
	padding: 3px 7px;
	border-radius: 999px;
	background: rgba(8, 8, 12, 0.86);
	border: 1px solid rgba(192, 198, 210, 0.2);
	color: #f7f1f6;
	font-family: "IBM Plex Mono", "Segoe UI", monospace;
	font-size: 0.62rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.result-preview-featured {
	width: 100%;
	height: auto;
	max-height: 360px;
	aspect-ratio: 16 / 10;
	border-radius: 20px;
	object-fit: contain;
}

.result-preview-video {
	width: min(100%, 340px);
	height: auto;
	aspect-ratio: 16 / 9;
}

.result-preview-frame {
	border: 1px solid rgba(192, 198, 210, 0.2);
	background: rgba(16, 16, 22, 0.94);
}

.result-preview-featured.result-preview-video,
.result-preview-featured.result-preview-frame {
	width: 100%;
	max-width: none;
	max-height: none;
	min-height: 220px;
	aspect-ratio: 16 / 9;
}

.result-audio-preview {
	display: grid;
	gap: 10px;
	width: min(100%, 340px);
	margin: 0 0 14px;
	padding: 12px 14px;
	border-radius: 18px;
	border: 1px solid rgba(192, 198, 210, 0.2);
	background: rgba(16, 16, 22, 0.94);
}

.result-audio-preview-featured {
	width: 100%;
}

.result-audio-preview-label {
	font-family: "IBM Plex Mono", "Segoe UI", monospace;
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #b8f7d4;
}

.result-preview-audio {
	width: 100%;
}

.result-url {
	display: inline-flex;
	max-width: 100%;
	margin-bottom: 10px;
	font-family: "IBM Plex Mono", "Segoe UI", monospace;
	font-size: 0.78rem;
	color: #b8f7d4;
	text-decoration: underline;
	text-decoration-color: rgba(184, 247, 212, 0.45);
	text-underline-offset: 2px;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.result-desc {
	margin: 0;
	color: #d0d4df;
	line-height: 1.6;
	overflow-wrap: anywhere;
}

.result-meta {
	margin-top: 12px;
	font-family: "IBM Plex Mono", "Segoe UI", monospace;
	font-size: 0.75rem;
	color: #c0c6d2;
	overflow-wrap: anywhere;
}

.result-stats {
	position: static;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 8px;
	max-width: 100%;
	margin-top: 12px;
}

.result-stat {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(18, 18, 24, 0.92);
	border: 1px solid rgba(26, 110, 255, 0.22);
	color: #c5e0ff;
	font-family: "IBM Plex Mono", "Segoe UI", monospace;
	font-size: 0.72rem;
	white-space: nowrap;
}

.result-stat-available {
	background: rgba(72, 201, 126, 0.16);
	border-color: rgba(72, 201, 126, 0.45);
	color: #bff8cf;
	box-shadow: 0 0 0 1px rgba(72, 201, 126, 0.08), 0 0 16px rgba(72, 201, 126, 0.12);
}

.result-stat-category {
	background: rgba(160, 100, 255, 0.14);
	border-color: rgba(160, 100, 255, 0.35);
	color: #d4b8ff;
	font-weight: 500;
}

.result-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 14px;
}

@keyframes ens-available-glow {
	0%,
	100% {
		box-shadow: 0 16px 32px rgba(4, 4, 8, 0.32), 0 0 0 1px rgba(72, 201, 126, 0.12), 0 0 18px rgba(72, 201, 126, 0.1);
	}
	50% {
		box-shadow: 0 16px 32px rgba(4, 4, 8, 0.32), 0 0 0 1px rgba(72, 201, 126, 0.18), 0 0 30px rgba(72, 201, 126, 0.2);
	}
}

@media (prefers-reduced-motion: reduce) {
	.result-card-available {
		animation: none;
	}
}

.result-open {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(26, 110, 255, 0.14);
	border: 1px solid rgba(26, 110, 255, 0.35);
	color: #c5e0ff;
	font-size: 0.88rem;
	font-weight: 600;
	text-decoration: none;
	font-family: inherit;
	cursor: pointer;
}

.result-open:hover {
	border-color: rgba(26, 110, 255, 0.7);
	background: rgba(26, 110, 255, 0.2);
}

.result-open-secondary {
	background: rgba(18, 18, 24, 0.95);
	border-color: rgba(192, 198, 210, 0.24);
	color: #e6e9f1;
}

.post-modal-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 16px;
	border-radius: 999px;
	border: 1px solid rgba(192, 198, 210, 0.18);
	background: rgba(18, 18, 24, 0.9);
	color: #f7f1f6;
	font: inherit;
	font-weight: 600;
	text-decoration: none;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
	transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.post-modal-action:hover {
	transform: translateY(-1px);
	border-color: rgba(26, 110, 255, 0.42);
	background: rgba(24, 24, 32, 0.98);
}

.post-modal-action:focus-visible {
	outline: 2px solid rgba(143, 215, 255, 0.7);
	outline-offset: 2px;
}

.post-modal-action-primary {
	border-color: rgba(26, 110, 255, 0.32);
	background: linear-gradient(180deg, rgba(26, 110, 255, 0.2), rgba(26, 110, 255, 0.12));
	color: #c5e0ff;
}

.post-modal-action-primary:hover {
	border-color: rgba(26, 110, 255, 0.5);
	background: linear-gradient(180deg, rgba(26, 110, 255, 0.28), rgba(26, 110, 255, 0.16));
}

.post-modal-action-secondary {
	background: rgba(18, 18, 24, 0.86);
	color: #e6e9f1;
}

.site-footer {
	border-top: 1px solid rgba(192, 198, 210, 0.12);
	margin-top: 28px;
}

.footer-shell {
	padding-top: 16px;
	padding-bottom: 28px;
}

.footer-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	font-family: "IBM Plex Mono", "Segoe UI", monospace;
	font-size: 0.74rem;
	color: #9aa1af;
}

.footer-links a {
	color: inherit;
	text-decoration: none;
}

.footer-link-btn {
	padding: 0;
	border: none;
	background: transparent;
	color: inherit;
	font: inherit;
	cursor: pointer;
}

.footer-link-btn:hover,
.footer-links a:hover {
	color: #7ab8ff;
}

@media (max-width: 860px) {
	.header-shell {
		align-items: center;
	}
}

@media (max-width: 640px) {
	.shell {
		padding: 18px 16px 60px;
	}

	.site-header .shell {
		padding-top: 16px;
		padding-bottom: 16px;
	}

	.header-actions {
		gap: 8px;
	}

	.header-icon-link {
		width: 38px;
		height: 38px;
		flex-basis: 38px;
	}

	.header-donate-btn {
		width: auto;
		height: 38px;
		padding: 0 12px;
		border-radius: 10px;
		font-size: 0.72rem;
	}

	.menu-toggle {
		width: 38px;
		height: 38px;
	}

	.brand-mark {
		font-size: 1.05rem;
	}

	.brand-logo {
		width: 28px;
		height: 36px;
	}

	.brand-tagline {
		display: none;
	}

	.hero {
		padding: 24px 0 6px;
	}

	.hero h1 {
		font-size: clamp(1.6rem, 8vw, 2.15rem);
		line-height: 1.1;
		gap: 0.22em;
	}

	.hero-brand {
		font-size: clamp(2.1rem, 12vw, 3rem);
	}

	.hero-search {
		font-size: clamp(1.15rem, 5vw, 1.55rem);
	}

	.chat-shell {
		padding-top: 24px;
	}

	.chat-layout {
		grid-template-columns: 1fr;
	}

	.chat-panel {
		padding: 18px;
		border-radius: 18px;
	}

	.chat-panel-actions {
		width: 100%;
	}

	.chat-panel-actions .search-btn,
	.chat-panel-actions .search-secondary-btn {
		width: 100%;
	}

	.chat-toolbar-btn {
		flex: 1 1 calc(50% - 10px);
	}

	.chat-emoji-btn {
		flex: 0 0 auto;
	}

	.chat-message {
		padding: 16px;
		border-radius: 16px;
	}

	.hero .muted {
		font-size: 0.95rem;
	}

	.search-bar {
		margin-top: 20px;
		padding: 8px 9px;
	}

	.search-bar .search-btn,
	.search-bar .search-secondary-btn {
		width: auto;
	}

	.search-bar {
		grid-template-columns: minmax(0, 1fr) auto auto;
		padding: 8px 9px;
		gap: 6px;
	}

	.search-input {
		grid-column: 1 / 2;
		grid-row: 1;
	}

	.search-icon-btn {
		grid-column: 2 / 3;
		grid-row: 1;
	}

	.search-add-btn {
		grid-column: 3 / 4;
		grid-row: 1;
	}

	.search-icon-btn,
	.search-add-btn {
		width: 40px;
		height: 40px;
		min-width: 40px;
		flex: 0 0 40px;
	}

	.search-add-btn {
		padding: 0;
		font-size: 1.2rem;
		line-height: 1;
	}

	.search-toolbar {
		flex-direction: column;
		align-items: center;
	}

	.search-scope-group {
		width: auto;
		justify-content: center;
		gap: 8px 10px;
	}

	.search-filter-row {
		align-items: center;
		justify-content: center;
		min-width: 0;
	}

	.search-filter {
		width: auto;
		min-width: min(100%, 210px);
	}

	.search-source-row {
		grid-column: 1 / -1;
		grid-row: 2;
		justify-content: flex-start;
		width: 100%;
		padding: 7px 2px 0;
		border-left: 0;
		border-top: 1px solid rgba(192, 198, 210, 0.14);
	}

	.search-source-select {
		max-width: min(100%, 220px);
		padding-right: 20px;
		padding-left: 10px;
		font-size: 0.72rem;
	}

	.modal-backdrop {
		padding: 14px;
	}

	.menu-modal-backdrop {
		padding: 12px 14px 16px;
		place-items: start stretch;
		background: rgba(0, 0, 0, 0.56);
		backdrop-filter: blur(12px);
	}

	.menu-modal {
		width: 100%;
		padding: 18px;
		border-radius: 18px;
		margin: 0;
	}

	.listing-modal {
		padding: 18px;
		max-height: 92vh;
		border-radius: 18px;
	}

	.post-modal-backdrop {
		padding: 10px;
	}

	.post-page-main {
		padding-top: 24px;
		padding-bottom: 40px;
	}

	.post-page-intro {
		padding: 18px;
		border-radius: 18px;
	}

	.post-modal {
		height: min(96vh, 1100px);
		max-height: min(96vh, 1100px);
		padding: 18px;
		border-radius: 18px;
	}

	.post-modal-layout {
		grid-template-columns: 1fr;
	}

	.post-modal-main,
	.post-modal-side {
		overflow: visible;
		padding: 0;
	}

	.listing-form-actions {
		flex-direction: column-reverse;
	}

	.listing-form-actions .search-btn,
	.listing-form-actions .search-secondary-btn {
		width: 100%;
	}

	.results-head {
		flex-direction: column;
		align-items: flex-start;
	}

	.firehose-status {
		text-align: left;
	}

	.firehose-actions {
		flex-direction: column;
	}

	.result-card {
		padding: 16px 16px 18px;
		border-radius: 16px;
	}

	.result-stats {
		position: static;
		max-width: 100%;
		margin-bottom: 10px;
		justify-content: flex-start;
	}

	.result-title {
		font-size: 1.02rem;
	}

	.result-actions {
		align-items: stretch;
	}

	.result-open {
		width: 100%;
		justify-content: center;
	}

	.post-modal-actions .result-open,
	.post-modal-links .post-modal-link {
		width: 100%;
	}

	.footer-links {
		justify-content: flex-start;
		gap: 10px 14px;
	}
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.chat-room-page .site-header {
	position: sticky;
}

.chat-room-shell {
	display: grid;
	gap: 18px;
	padding-top: 28px;
}

.chat-room-intro,
.chat-room-stats,
.chat-room-controls,
.chat-room-composer,
.chat-room-board {
	border-radius: 20px;
	border: 1px solid rgba(192, 198, 210, 0.14);
	background: rgba(10, 10, 14, 0.94);
	box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
}

.chat-room-intro,
.chat-room-controls,
.chat-room-composer,
.chat-room-board {
	padding: 18px 20px;
}

.chat-room-intro h1,
.chat-room-board h2 {
	margin: 0;
	font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.chat-room-intro p:last-child {
	margin: 10px 0 0;
	max-width: 60ch;
	line-height: 1.6;
	color: #d0d4df;
}

.chat-room-stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0;
	overflow: hidden;
}

.chat-room-stat {
	display: grid;
	gap: 6px;
	padding: 18px 20px;
}

.chat-room-stat + .chat-room-stat {
	border-left: 1px solid rgba(192, 198, 210, 0.12);
}

.chat-room-stat span,
.chat-room-stat small,
.chat-room-board-status {
	font-family: "IBM Plex Mono", "Segoe UI", monospace;
	font-size: 0.74rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #c0c6d2;
}

.chat-room-stat strong {
	font-size: clamp(1.6rem, 4vw, 2.2rem);
	line-height: 1;
}

.chat-room-controls {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 14px;
	align-items: center;
}

.chat-room-search input,
.chat-room-sort {
	width: 100%;
	height: 44px;
	border: 1px solid rgba(192, 198, 210, 0.18);
	border-radius: 12px;
	background: rgba(16, 16, 22, 0.96);
	color: #f7f1f6;
	font: inherit;
}

.chat-room-search input {
	padding: 0 14px;
}

.chat-room-sort {
	padding: 0 12px;
}

.chat-room-control-group {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.chat-room-refresh-btn,
.chat-room-connect-btn {
	height: 44px;
	padding-top: 0;
	padding-bottom: 0;
}

.comment-editor {
	display: grid;
	gap: 12px;
}

.comment-editor-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.comment-editor-tool {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 34px;
	padding: 0 10px;
	border: 1px solid rgba(192, 198, 210, 0.18);
	border-radius: 10px;
	background: rgba(18, 18, 24, 0.86);
	color: #f7f1f6;
	font: inherit;
	font-size: 0.8rem;
	cursor: pointer;
}

.comment-editor-tool:hover {
	border-color: rgba(26, 110, 255, 0.45);
	background: rgba(26, 110, 255, 0.12);
}

.comment-editor-input {
	min-height: 112px;
	padding: 12px 14px;
	border: 1px solid rgba(192, 198, 210, 0.18);
	border-radius: 14px;
	background: rgba(14, 14, 18, 0.96);
	outline: none;
	line-height: 1.6;
	color: #f7f1f6;
}

.comment-editor-input-inline {
	min-height: 84px;
}

.comment-editor-input.is-empty::before {
	content: attr(data-placeholder);
	color: #7f8798;
}

.comment-editor-input p {
	margin: 0 0 10px;
}

.comment-editor-input p:last-child {
	margin-bottom: 0;
}

.comment-editor-input a,
.chat-comment-link,
.chat-comment-body a {
	color: #b8f7d4;
	text-decoration: underline;
	text-decoration-color: rgba(184, 247, 212, 0.45);
	text-underline-offset: 2px;
	overflow-wrap: anywhere;
}

.comment-editor-assets {
	display: grid;
	gap: 8px;
}

.comment-editor-assets-list {
	display: grid;
	gap: 8px;
}

.comment-editor-asset {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	border: 1px solid rgba(192, 198, 210, 0.14);
	border-radius: 12px;
	background: rgba(16, 16, 22, 0.92);
}

.comment-editor-asset-copy {
	min-width: 0;
	overflow-wrap: anywhere;
	font-size: 0.82rem;
	color: #d7dbe4;
}

.comment-editor-asset-kind {
	font-family: "IBM Plex Mono", "Segoe UI", monospace;
	font-size: 0.7rem;
	text-transform: uppercase;
	color: #c5e0ff;
}

.comment-editor-asset-remove {
	padding: 6px 10px;
	border: 1px solid rgba(192, 198, 210, 0.18);
	border-radius: 999px;
	background: rgba(18, 18, 24, 0.88);
	color: #f7f1f6;
	font: inherit;
	cursor: pointer;
}

.comment-editor-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

.comment-editor-status {
	margin: 0;
	color: #cbd2de;
	font-family: "IBM Plex Mono", "Segoe UI", monospace;
	font-size: 0.78rem;
	line-height: 1.5;
}

.comment-editor-status.is-error {
	color: #ff9db4;
}

.comment-editor-status.is-success {
	color: #b8f7d4;
}

.comment-editor-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.chat-room-board-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 14px;
}

.chat-thread-list {
	display: grid;
	gap: 14px;
}

.chat-room-empty {
	padding: 28px 20px;
	border-radius: 16px;
	border: 1px dashed rgba(192, 198, 210, 0.18);
	background: rgba(13, 13, 18, 0.9);
	color: #c0c6d2;
	text-align: center;
}

.chat-comment {
	display: grid;
	gap: 8px;
}

.chat-comment.depth-1,
.chat-comment.depth-2 {
	margin-left: 18px;
	padding-left: 14px;
	border-left: 2px solid rgba(192, 198, 210, 0.12);
}

.chat-comment-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.chat-comment-identity {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.chat-comment-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 999px;
	background: rgba(26, 110, 255, 0.14);
	border: 1px solid rgba(26, 110, 255, 0.25);
	color: #c5e0ff;
	font-weight: 700;
	flex: 0 0 34px;
}

.chat-comment-meta {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.chat-comment-author {
	font-size: 0.92rem;
}

.chat-comment-time,
.chat-comment-action-meta {
	font-family: "IBM Plex Mono", "Segoe UI", monospace;
	font-size: 0.72rem;
	color: #aeb5c3;
}

.chat-comment-bubble {
	display: grid;
	gap: 10px;
	padding: 14px 16px;
	border-radius: 16px;
	background: rgba(18, 18, 24, 0.94);
	border: 1px solid rgba(192, 198, 210, 0.14);
}

.chat-comment-title {
	margin: 0;
	font-size: 1rem;
	line-height: 1.4;
}

.chat-comment-body {
	display: grid;
	gap: 8px;
	line-height: 1.6;
	color: #e5e8f0;
}

.chat-comment-body p {
	margin: 0;
}

.chat-comment-media {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 10px;
}

.chat-comment-media-card {
	display: grid;
	gap: 8px;
}

.chat-comment-media-preview {
	width: 100%;
	border-radius: 12px;
	border: 1px solid rgba(192, 198, 210, 0.14);
	background: rgba(9, 9, 12, 0.96);
}

.chat-comment-media-image,
.chat-comment-media-video {
	display: block;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.chat-comment-media-audio {
	display: block;
}

.chat-comment-media-label {
	font-size: 0.78rem;
	color: #c0c6d2;
	overflow-wrap: anywhere;
}

.chat-comment-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.chat-comment-link {
	font-size: 0.82rem;
}

.chat-comment-actions {
	display: flex;
	align-items: center;
	gap: 8px 12px;
	flex-wrap: wrap;
	padding-left: 44px;
}

.chat-comment-action {
	padding: 0;
	border: 0;
	background: transparent;
	color: #c0c6d2;
	font: inherit;
	font-size: 0.82rem;
	cursor: pointer;
}

.chat-comment-action:hover,
.chat-comment-action.is-active {
	color: #c5e0ff;
}

.chat-comment-action-danger:hover {
	color: #ff9db4;
}

.chat-comment-children {
	display: grid;
	gap: 12px;
}

.chat-reply-composer {
	padding-left: 44px;
}

.comment-editor-inline {
	padding: 12px;
	border-radius: 14px;
	border: 1px solid rgba(192, 198, 210, 0.14);
	background: rgba(12, 12, 16, 0.9);
}

.chat-insert-modal {
	width: min(100%, 560px);
}

@media (max-width: 720px) {
	.chat-room-shell {
		padding-top: 18px;
	}

	.chat-room-stats {
		grid-template-columns: 1fr;
	}

	.chat-room-stat + .chat-room-stat {
		border-left: 0;
		border-top: 1px solid rgba(192, 198, 210, 0.12);
	}

	.chat-room-controls {
		grid-template-columns: 1fr;
	}

	.chat-room-control-group {
		width: 100%;
	}

	.chat-room-control-group > * {
		flex: 1 1 100%;
	}

	.comment-editor-footer,
	.chat-room-board-head {
		flex-direction: column;
		align-items: flex-start;
	}

	.comment-editor-actions,
	.comment-editor-actions > * {
		width: 100%;
	}

	.chat-comment-actions,
	.chat-reply-composer {
		padding-left: 0;
	}

	.chat-comment.depth-1,
	.chat-comment.depth-2 {
		margin-left: 12px;
		padding-left: 10px;
	}
}

/* ETHNET editorial theme — inspired by the sharp, high-contrast structure of HoodFi. */
:root {
	color-scheme: dark;
	--ethnet-blue: #246bfe;
	--ethnet-blue-bright: #4382ff;
	--ethnet-paper: #f1f0e8;
	--ethnet-ink: #070a0d;
	--ethnet-panel: #0b0f14;
	--ethnet-line: #303842;
	--surface: #0b0f14;
	--surface-border: #303842;
	--accent: var(--ethnet-blue);
	--accent-soft: #8eb6ff;
	--text-muted: #aab4c0;
	background: var(--ethnet-ink);
}

body {
	background: var(--ethnet-ink);
	color: var(--ethnet-paper);
}

body::before {
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
	background-size: 48px 48px;
	opacity: 0.55;
}

.site-header {
	background: var(--ethnet-paper);
	border-bottom: 1px solid #c8c7bf;
	backdrop-filter: none;
	color: var(--ethnet-ink);
}

.site-header .shell {
	padding-top: 10px;
	padding-bottom: 10px;
}

.brand {
	gap: 12px;
}

.brand-logo {
	width: 26px;
	height: 38px;
}

.brand-mark {
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.brand-tagline {
	color: #4f5660;
	font-size: 0.52rem;
	letter-spacing: 0.11em;
}

.header-actions {
	gap: 8px;
}

.header-icon-link,
.header-donate-btn,
.menu-toggle {
	border: 1px solid #b9b8b1;
	border-radius: 0;
	background: transparent;
	color: var(--ethnet-ink);
	box-shadow: none;
}

.header-icon-link:hover,
.header-donate-btn:hover,
.menu-toggle:hover {
	border-color: var(--ethnet-ink);
	background: #deddd5;
}

.header-wallet-btn,
.header-donate-btn {
	background: var(--ethnet-ink);
	border-color: var(--ethnet-ink);
	color: var(--ethnet-paper);
}

.header-wallet-btn:hover,
.header-donate-btn:hover {
	background: var(--ethnet-blue);
	border-color: var(--ethnet-blue);
	color: #fff;
}

.menu-toggle span {
	border-radius: 0;
	background: currentColor;
}

.hero-shell {
	max-width: none;
	padding: 0 0 80px;
	gap: 0;
}

.hero {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
	grid-template-areas:
		"kicker search"
		"title search"
		"intro toolbar"
		"status status";
	column-gap: clamp(48px, 8vw, 112px);
	row-gap: 22px;
	align-items: start;
	padding: 72px max(28px, calc((100vw - 1100px) / 2 + 20px)) 64px;
	background: var(--ethnet-blue);
	color: var(--ethnet-ink);
	text-align: left;
}

.hero-kicker {
	grid-area: kicker;
	margin: 0;
	font-family: "IBM Plex Mono", "Segoe UI", monospace;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	line-height: 1.5;
}

.hero h1 {
	grid-area: title;
	display: block;
	margin: 0;
	font-size: inherit;
	letter-spacing: -0.055em;
}

.hero-brand {
	display: flex;
	justify-content: flex-start;
	gap: 0.15em;
	font-size: clamp(3.8rem, 7.6vw, 7rem);
	font-weight: 600;
	line-height: 0.82;
}

.hero-eth-logo {
	width: 0.48em;
	height: 0.76em;
	filter: grayscale(1) brightness(0.05);
}

.hero-network-title {
	margin-top: 24px;
	color: var(--ethnet-ink);
	font-size: clamp(0.76rem, 1.4vw, 0.95rem);
	font-weight: 600;
	letter-spacing: 0.16em;
}

.hero > .muted {
	grid-area: intro;
	max-width: 510px;
	margin: 0;
	color: #0b1528;
	font-size: clamp(1rem, 1.6vw, 1.2rem);
	font-weight: 500;
	line-height: 1.5;
}

.search-bar {
	grid-area: search;
	align-self: stretch;
	max-width: none;
	margin: 0;
	padding: 28px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	gap: 12px;
	border: 1px solid #1e252d;
	border-radius: 0;
	background: var(--ethnet-ink);
	box-shadow: 14px 14px 0 rgba(0, 0, 0, 0.13);
	color: var(--ethnet-paper);
}

.search-bar::before {
	content: "SEARCH THE NETWORK   • LIVE";
	grid-column: 1 / -1;
	margin-bottom: 6px;
	color: #aab4c0;
	font-family: "IBM Plex Mono", "Segoe UI", monospace;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.16em;
}

.search-input {
	grid-column: 1 / -1;
	width: 100%;
	min-height: 62px;
	padding: 16px 18px;
	border: 1px solid #48515b;
	border-radius: 0;
	background: #090c10;
	color: var(--ethnet-paper);
	font-family: "Space Grotesk", "Segoe UI", sans-serif;
	font-size: 1.05rem;
}

.search-input:focus {
	border-color: var(--ethnet-blue-bright);
	box-shadow: 0 0 0 1px var(--ethnet-blue-bright);
}

.search-source-row {
	justify-content: stretch;
	padding-left: 0;
	border-left: 0;
}

.search-source-select {
	width: 100%;
	max-width: none;
	min-height: 44px;
	padding: 10px 34px 10px 12px;
	border: 1px solid #48515b;
	border-radius: 0;
	background: #090c10;
	color: #dce7fa;
}

.search-source-select:focus {
	background: #090c10;
	box-shadow: 0 0 0 1px var(--ethnet-blue-bright);
}

.search-btn,
.search-secondary-btn,
.result-open,
.post-modal-action {
	border-radius: 0;
	box-shadow: none;
}

.search-icon-btn,
.search-add-btn {
	width: 44px;
	height: 44px;
	border-radius: 0;
}

.search-icon-btn {
	background: var(--ethnet-blue);
	color: #fff;
}

.search-icon-btn:hover {
	background: var(--ethnet-blue-bright);
	color: #fff;
}

.search-add-btn {
	border-color: #64717f;
	background: transparent;
	color: var(--ethnet-paper);
}

.search-toolbar {
	grid-area: toolbar;
	justify-content: flex-start;
	max-width: none;
	margin: 0;
}

.search-scope-group {
	display: grid;
	grid-template-columns: repeat(5, auto);
	gap: 0;
	border: 1px solid rgba(7, 10, 13, 0.45);
}

.search-scope-option {
	min-height: 36px;
	padding: 8px 10px;
	border-right: 1px solid rgba(7, 10, 13, 0.45);
	color: #101b30;
	font-size: 0.66rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.search-scope-option:last-child {
	border-right: 0;
}

.search-scope-option input {
	accent-color: var(--ethnet-ink);
}

.search-scope-option.is-active,
.search-scope-option:has(input:checked) {
	background: var(--ethnet-ink);
	color: var(--ethnet-paper);
}

.search-status {
	grid-area: status;
	margin: 0;
	color: #07152e;
	text-align: right;
}

.results,
.firehose-section {
	width: min(100% - 40px, 1100px);
	margin: 0 auto;
	padding-top: 46px;
}

.results-head {
	padding: 0 0 16px;
	border-bottom: 1px solid #4a535d;
	color: #aab4c0;
	font-family: "IBM Plex Mono", "Segoe UI", monospace;
	font-size: 0.78rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.results-summary {
	margin: 0;
}

.results-list {
	gap: 0;
	counter-reset: ethnet-post;
}

.result-card {
	counter-increment: ethnet-post;
	position: relative;
	padding: 28px 24px 28px 76px;
	border: 0;
	border-bottom: 1px solid var(--ethnet-line);
	border-radius: 0;
	background: rgba(8, 12, 16, 0.94);
	box-shadow: none;
	transition: background 160ms ease, border-color 160ms ease;
}

.result-card::before {
	content: counter(ethnet-post, decimal-leading-zero);
	position: absolute;
	top: 31px;
	left: 22px;
	color: var(--ethnet-blue-bright);
	font-family: "IBM Plex Mono", "Segoe UI", monospace;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.08em;
}

.result-card:hover {
	border-color: var(--ethnet-blue-bright);
	background: #101722;
}

.result-title,
.result-title-static {
	color: var(--ethnet-paper);
	font-size: clamp(1.25rem, 2vw, 1.65rem);
	font-weight: 600;
	text-decoration-color: var(--ethnet-blue-bright);
}

.result-desc {
	max-width: 76ch;
	color: #c5cbd3;
}

.result-meta,
.result-count {
	color: #87929f;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.result-stat,
.result-open {
	border-color: #3e4d60;
	border-radius: 0;
	background: #101722;
	color: #a9c7ff;
}

.result-stat-category {
	border-color: #325da8;
	background: #112448;
	color: #b9d1ff;
}

.result-preview,
.result-preview-featured,
.result-audio-preview,
.post-modal-media-card {
	border-radius: 0;
}

.menu-modal,
.listing-modal,
.ens-preview-modal,
.post-modal,
.chat-insert-modal {
	border-radius: 0;
	border-color: #45515e;
	background: var(--ethnet-panel);
	box-shadow: 16px 16px 0 rgba(36, 107, 254, 0.22);
}

.listing-modal-close,
.menu-modal-links a,
.post-modal-panel,
.post-modal-comment,
.comment-editor-inline {
	border-radius: 0;
}

.site-footer {
	border-top: 1px solid #353d46;
	background: #05070a;
}

.footer-links {
	justify-content: flex-start;
	color: #8e99a5;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.footer-link-btn:hover,
.footer-links a:hover {
	color: var(--ethnet-blue-bright);
}

@media (max-width: 900px) {
	.hero {
		grid-template-columns: 1fr;
		grid-template-areas:
			"kicker"
			"title"
			"intro"
			"search"
			"toolbar"
			"status";
		row-gap: 20px;
		padding-top: 54px;
	}

	.hero-brand {
		font-size: clamp(3.6rem, 14vw, 6.5rem);
	}

	.hero > .muted {
		margin-bottom: 12px;
	}
}

@media (max-width: 640px) {
	.site-header .shell {
		padding: 10px 12px;
	}

	.brand-tagline,
	.header-follow-btn,
	.header-wallet-btn {
		display: none;
	}

	.hero {
		padding: 42px 16px 38px;
	}

	.hero-brand {
		font-size: clamp(3rem, 18vw, 4.7rem);
	}

	.search-bar {
		grid-template-columns: 1fr auto auto;
		padding: 18px;
		box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.14);
	}

	.search-scope-group {
		width: 100%;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.search-scope-option,
	.search-scope-option:last-child {
		border-right: 1px solid rgba(7, 10, 13, 0.45);
		border-bottom: 1px solid rgba(7, 10, 13, 0.45);
	}

	.results,
	.firehose-section {
		width: min(100% - 32px, 1100px);
		padding-top: 34px;
	}

	.result-card {
		padding: 24px 16px 24px 54px;
	}

	.result-card::before {
		top: 27px;
		left: 14px;
	}
}
