:root {
	--clear: #09090b;
	--background: #131317;
	--header: #0c0c10;
	--field: #202024;
	--field-hover: #28282c;
	--field-active: #313135;
	--bevel: #2b2b2f;
	--outline: #000000;
	--text: #e2e2e6;
	--text-dim: #8b8b8f;
	--text-faint: #59595d;
	--accent: #b53d62;
	--accent-secondary: #b53d62;
	--dither: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2' height='2'%3E%3Crect width='1' height='1' fill-opacity='.28'/%3E%3Crect x='1' y='1' width='1' height='1' fill-opacity='.28'/%3E%3C/svg%3E");
	--outline-text: 1px 0 #000, -1px 0 #000, 0 1px #000, 0 -1px #000, 1px 1px #000, -1px -1px #000, 1px -1px #000, -1px 1px #000;
}

:root[data-theme="azure"] {
	--accent: #3d7fb5;
	--accent-secondary: #3db5a6;
}

:root[data-theme="emerald"] {
	--accent: #3da35d;
	--accent-secondary: #6cb53d;
}

:root[data-theme="amber"] {
	--accent: #c08a2d;
	--accent-secondary: #c0552d;
}

:root[data-theme="violet"] {
	--accent: #7d4dc4;
	--accent-secondary: #b53da6;
}

:root[data-theme="slate"] {
	--clear: #0b0c0e;
	--background: #15171b;
	--header: #0e0f12;
	--field: #212329;
	--field-hover: #292c33;
	--field-active: #33363e;
	--bevel: #2d3038;
	--accent: #5b6b82;
	--accent-secondary: #7d8ba0;
}

:root[data-theme="paper"] {
	--clear: #c9c6bd;
	--background: #e4e1d8;
	--header: #d6d3c9;
	--field: #f0eee7;
	--field-hover: #e8e5dc;
	--field-active: #dedbd1;
	--bevel: #ffffff;
	--outline: #9a978d;
	--text: #26241f;
	--text-dim: #5c594f;
	--text-faint: #8d8a80;
	--accent: #a53b57;
	--accent-secondary: #a53b57;
	--outline-text: none;
}

* {
	box-sizing: border-box;
}

html {
	background: var(--clear);
}

body {
	margin: 0;
	padding: 48px 16px;
	color: var(--text);
	font: 11px/1.5 Tahoma, Verdana, "Segoe UI", sans-serif;
	text-shadow: var(--outline-text);
	-webkit-font-smoothing: none;
	image-rendering: pixelated;
}

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

a:hover {
	color: #ffffff;
}

.window {
	max-width: 940px;
	margin: 0 auto;
	padding: 2px;
	background: var(--background) var(--dither) fixed;
	border: 1px solid var(--outline);
	box-shadow: inset 0 0 0 1px var(--bevel);
}

.window.narrow {
	max-width: 340px;
	margin-top: 10vh;
}

.accent {
	position: relative;
	height: 2px;
	background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 1px 0 rgba(0, 0, 0, 0.55);
}

.content {
	padding: 10px 10px 4px;
}

fieldset.group {
	position: relative;
	margin: 18px 0 10px;
	padding: 12px 9px 9px;
	min-width: 0;
	border: 1px solid var(--outline);
	box-shadow: inset 0 0 0 1px var(--bevel);
}

fieldset.group > legend {
	position: absolute;
	top: -9px;
	left: 5px;
	padding: 0 3px;
	line-height: 16px;
	color: var(--text);
	background: var(--background) var(--dither) fixed;
}

fieldset.group > legend + * {
	margin-top: 0;
}

label {
	display: block;
	margin: 6px 0 3px;
	color: var(--text-dim);
}

label.check {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--text-dim);
	cursor: pointer;
}

input,
textarea {
	width: 100%;
	padding: 1px 6px;
	color: var(--text);
	font: inherit;
	text-shadow: inherit;
	background: var(--field);
	border: 1px solid var(--outline);
	border-radius: 0;
	outline: none;
}

input {
	height: 17px;
}

textarea {
	padding: 4px 6px;
	resize: none;
}

input[type="number"] {
	appearance: textfield;
	-moz-appearance: textfield;
}

input[type="color"] {
	height: 21px;
	padding: 2px;
	cursor: pointer;
}

input[type="color"]::-webkit-color-swatch-wrapper {
	padding: 0;
}

input[type="color"]::-webkit-color-swatch {
	border: none;
}

input[type="color"]::-moz-color-swatch {
	border: none;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
	-webkit-text-fill-color: var(--text);
	box-shadow: inset 0 0 0 20px var(--field-hover);
	caret-color: var(--text);
	transition: background-color 9999s;
}

::selection {
	color: #ffffff;
	background: var(--accent);
}

a:focus-visible,
button:focus-visible,
.button:focus-visible,
input[type="checkbox"]:focus-visible {
	outline: 1px solid var(--accent);
	outline-offset: 0;
}

* {
	scrollbar-width: thin;
	scrollbar-color: var(--field-active) transparent;
}

::-webkit-scrollbar {
	width: 6px;
	height: 6px;
}

::-webkit-scrollbar-track,
::-webkit-scrollbar-corner {
	background: transparent;
}

::-webkit-scrollbar-thumb {
	background: var(--field-active);
	border: 1px solid var(--outline);
}

::-webkit-scrollbar-thumb:hover {
	background: var(--accent);
}

.combo {
	position: relative;
	min-width: 0;
}

.combo.compact {
	width: 86px;
	flex: none;
}

.combo-field {
	height: 17px;
	padding: 0 18px 0 6px;
	overflow: hidden;
	line-height: 15px;
	white-space: nowrap;
	text-overflow: ellipsis;
	cursor: pointer;
	outline: none;
	background-color: var(--field);
	background-image: linear-gradient(45deg, transparent 50%, var(--text-faint) 50%), linear-gradient(-45deg, transparent 50%, var(--text-faint) 50%);
	background-position: right 9px center, right 6px center;
	background-size: 3px 3px;
	background-repeat: no-repeat;
	border: 1px solid var(--outline);
}

.combo-field:hover,
.combo-field:focus,
.combo:has(input:focus-visible) .combo-field {
	background-color: var(--field-hover);
}

.combo-field > span {
	display: none;
}

.combo-list {
	position: absolute;
	z-index: 10;
	top: calc(100% + 3px);
	left: 0;
	right: 0;
	display: none;
	max-height: 180px;
	padding: 3px;
	overflow-y: auto;
	background: var(--header);
	border: 1px solid var(--outline);
	box-shadow: inset 0 0 0 1px var(--bevel), 0 2px 6px rgba(0, 0, 0, 0.6);
}

.combo.compact .combo-list {
	right: auto;
	min-width: 100%;
}

.combo-field:focus + .combo-list,
.combo-list:active,
.combo:has(input:focus-visible) .combo-list {
	display: block;
}

.combo-list label {
	position: relative;
	display: block;
	margin: 0;
	padding: 1px 4px;
	overflow: hidden;
	color: var(--text-faint);
	white-space: nowrap;
	text-overflow: ellipsis;
	cursor: pointer;
}

.combo-list label:hover {
	color: var(--text-dim);
}

.combo-list label:has(input:checked) {
	color: var(--text);
}

.combo:has(> .combo-list > label:nth-child(1) > input:checked) > .combo-field > span:nth-child(1),
.combo:has(> .combo-list > label:nth-child(2) > input:checked) > .combo-field > span:nth-child(2),
.combo:has(> .combo-list > label:nth-child(3) > input:checked) > .combo-field > span:nth-child(3),
.combo:has(> .combo-list > label:nth-child(4) > input:checked) > .combo-field > span:nth-child(4),
.combo:has(> .combo-list > label:nth-child(5) > input:checked) > .combo-field > span:nth-child(5),
.combo:has(> .combo-list > label:nth-child(6) > input:checked) > .combo-field > span:nth-child(6),
.combo:has(> .combo-list > label:nth-child(7) > input:checked) > .combo-field > span:nth-child(7),
.combo:has(> .combo-list > label:nth-child(8) > input:checked) > .combo-field > span:nth-child(8),
.combo:has(> .combo-list > label:nth-child(9) > input:checked) > .combo-field > span:nth-child(9),
.combo:has(> .combo-list > label:nth-child(10) > input:checked) > .combo-field > span:nth-child(10),
.combo:has(> .combo-list > label:nth-child(11) > input:checked) > .combo-field > span:nth-child(11),
.combo:has(> .combo-list > label:nth-child(12) > input:checked) > .combo-field > span:nth-child(12),
.combo:has(> .combo-list > label:nth-child(13) > input:checked) > .combo-field > span:nth-child(13),
.combo:has(> .combo-list > label:nth-child(14) > input:checked) > .combo-field > span:nth-child(14),
.combo:has(> .combo-list > label:nth-child(15) > input:checked) > .combo-field > span:nth-child(15),
.combo:has(> .combo-list > label:nth-child(16) > input:checked) > .combo-field > span:nth-child(16),
.combo:has(> .combo-list > label:nth-child(17) > input:checked) > .combo-field > span:nth-child(17),
.combo:has(> .combo-list > label:nth-child(18) > input:checked) > .combo-field > span:nth-child(18),
.combo:has(> .combo-list > label:nth-child(19) > input:checked) > .combo-field > span:nth-child(19),
.combo:has(> .combo-list > label:nth-child(20) > input:checked) > .combo-field > span:nth-child(20),
.combo:has(> .combo-list > label:nth-child(21) > input:checked) > .combo-field > span:nth-child(21),
.combo:has(> .combo-list > label:nth-child(22) > input:checked) > .combo-field > span:nth-child(22),
.combo:has(> .combo-list > label:nth-child(23) > input:checked) > .combo-field > span:nth-child(23),
.combo:has(> .combo-list > label:nth-child(24) > input:checked) > .combo-field > span:nth-child(24),
.combo:has(> .combo-list > label:nth-child(25) > input:checked) > .combo-field > span:nth-child(25),
.combo:has(> .combo-list > label:nth-child(26) > input:checked) > .combo-field > span:nth-child(26),
.combo:has(> .combo-list > label:nth-child(27) > input:checked) > .combo-field > span:nth-child(27),
.combo:has(> .combo-list > label:nth-child(28) > input:checked) > .combo-field > span:nth-child(28),
.combo:has(> .combo-list > label:nth-child(29) > input:checked) > .combo-field > span:nth-child(29),
.combo:has(> .combo-list > label:nth-child(30) > input:checked) > .combo-field > span:nth-child(30),
.combo:has(> .combo-list > label:nth-child(31) > input:checked) > .combo-field > span:nth-child(31),
.combo:has(> .combo-list > label:nth-child(32) > input:checked) > .combo-field > span:nth-child(32),
.combo:has(> .combo-list > label:nth-child(33) > input:checked) > .combo-field > span:nth-child(33),
.combo:has(> .combo-list > label:nth-child(34) > input:checked) > .combo-field > span:nth-child(34),
.combo:has(> .combo-list > label:nth-child(35) > input:checked) > .combo-field > span:nth-child(35),
.combo:has(> .combo-list > label:nth-child(36) > input:checked) > .combo-field > span:nth-child(36),
.combo:has(> .combo-list > label:nth-child(37) > input:checked) > .combo-field > span:nth-child(37),
.combo:has(> .combo-list > label:nth-child(38) > input:checked) > .combo-field > span:nth-child(38),
.combo:has(> .combo-list > label:nth-child(39) > input:checked) > .combo-field > span:nth-child(39),
.combo:has(> .combo-list > label:nth-child(40) > input:checked) > .combo-field > span:nth-child(40),
.combo:has(> .combo-list > label:nth-child(41) > input:checked) > .combo-field > span:nth-child(41),
.combo:has(> .combo-list > label:nth-child(42) > input:checked) > .combo-field > span:nth-child(42),
.combo:has(> .combo-list > label:nth-child(43) > input:checked) > .combo-field > span:nth-child(43),
.combo:has(> .combo-list > label:nth-child(44) > input:checked) > .combo-field > span:nth-child(44),
.combo:has(> .combo-list > label:nth-child(45) > input:checked) > .combo-field > span:nth-child(45),
.combo:has(> .combo-list > label:nth-child(46) > input:checked) > .combo-field > span:nth-child(46),
.combo:has(> .combo-list > label:nth-child(47) > input:checked) > .combo-field > span:nth-child(47),
.combo:has(> .combo-list > label:nth-child(48) > input:checked) > .combo-field > span:nth-child(48) {
	display: inline;
}

.combo-list input {
	position: absolute;
	width: 0;
	height: 0;
	margin: 0;
	padding: 0;
	opacity: 0;
	pointer-events: none;
}


input:hover,
textarea:hover,
input:focus,
textarea:focus {
	background: var(--field-hover);
}

input:disabled {
	color: var(--text-faint);
}

input::placeholder,
textarea::placeholder {
	color: var(--text-faint);
}

input[type="checkbox"] {
	appearance: none;
	width: 9px;
	height: 9px;
	margin: 0;
	padding: 0;
	flex: none;
	background: var(--field);
	border: 1px solid var(--outline);
}

input[type="checkbox"]:checked {
	background: linear-gradient(90deg, var(--accent), var(--accent-secondary)) content-box;
	padding: 1px;
}

button,
.button {
	display: block;
	width: 100%;
	height: 18px;
	margin-top: 8px;
	padding: 0 6px;
	color: var(--text-dim);
	font: inherit;
	text-align: center;
	text-shadow: inherit;
	background: var(--field);
	border: 1px solid var(--outline);
	cursor: pointer;
}

.button {
	line-height: 16px;
}

button:hover,
.button:hover {
	color: var(--text);
	background: var(--field-hover);
}

button:active,
.button:active {
	background: var(--field-active);
}

button.link,
button.tab {
	display: inline;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
}

.link {
	color: var(--text-faint);
}

.link:hover,
.link.active {
	color: var(--text);
	background: none;
}

.tabs,
.subtabs {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 18px;
}

.tabs {
	height: 22px;
	border-bottom: 1px solid var(--outline);
	box-shadow: 0 1px 0 var(--bevel);
}

.subtabs {
	height: 20px;
	margin-bottom: 4px;
	border-bottom: 1px solid var(--outline);
	box-shadow: 0 1px 0 var(--bevel);
}

.tabs form {
	display: inline;
}

.tabs a,
.subtabs a,
.tabs button.tab {
	color: var(--text-faint);
}

.tabs a:hover,
.subtabs a:hover,
.tabs button.tab:hover {
	color: var(--text-dim);
}

.tabs a.active,
.subtabs a.active {
	color: var(--text);
}

.menu {
	position: relative;
}

.menu-field {
	padding-right: 10px;
	color: var(--text-faint);
	cursor: pointer;
	outline: none;
	background-image: linear-gradient(45deg, transparent 50%, var(--text-faint) 50%), linear-gradient(-45deg, transparent 50%, var(--text-faint) 50%);
	background-position: right 3px center, right 0 center;
	background-size: 3px 3px;
	background-repeat: no-repeat;
}

.menu-field:hover,
.menu:focus-within .menu-field {
	color: var(--text-dim);
}

.menu-field.active {
	color: var(--text);
}

.menu-list {
	position: absolute;
	z-index: 10;
	top: calc(100% + 5px);
	right: -6px;
	display: none;
	min-width: 110px;
	padding: 3px;
	background: var(--header);
	border: 1px solid var(--outline);
	box-shadow: inset 0 0 0 1px var(--bevel), 0 2px 6px rgba(0, 0, 0, 0.6);
}

.menu:focus-within .menu-list {
	display: block;
}

.menu-list a,
.menu-list button.tab {
	display: block;
	width: 100%;
	padding: 1px 4px;
	text-align: left;
	white-space: nowrap;
}

.menu-list form {
	display: block;
}

.row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	min-height: 18px;
}

.row > * {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.row > .combo {
	flex: 1;
	overflow: visible;
}

.row > .combo.compact {
	flex: none;
}

.columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 8px;
	align-items: start;
}

.muted {
	color: var(--text-dim);
}

.faint {
	color: var(--text-faint);
}

.center {
	text-align: center;
}

.hint {
	margin: 6px 0 0;
	color: var(--text-dim);
}

.status {
	margin: 2px 0 8px;
	text-align: center;
	color: var(--text);
}

.status.error {
	color: var(--accent);
}

.crumbs {
	margin: 0 0 4px;
	color: var(--text-faint);
}

.crumbs a {
	color: var(--text-dim);
}

.title {
	margin: 4px 0;
	font-size: inherit;
	font-weight: normal;
	color: var(--text);
}

.tag {
	margin-right: 6px;
	color: var(--text-faint);
}

.toolbar,
.inline-actions,
.reactions,
.actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.toolbar form,
.inline-actions form,
.reactions form,
.actions form {
	display: inline;
}

.post-meta {
	text-align: right;
	margin-top: -4px;
}

.quote {
	margin: 4px 0 6px;
	padding-left: 6px;
	color: var(--text-dim);
	border-left: 2px solid var(--bevel);
}

.body {
	margin: 4px 0 8px;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}

.post-main {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.post-main > a {
	flex: none;
}

.post-content {
	flex: 1;
	min-width: 0;
}

.post-footer {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding-top: 5px;
	border-top: 1px solid var(--outline);
	box-shadow: inset 0 1px 0 var(--bevel);
}

.pager {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-top: 8px;
	color: var(--text-faint);
}

.pager a {
	color: var(--text-dim);
}

.code {
	margin: 6px 0;
	padding: 4px;
	text-align: center;
	letter-spacing: 1px;
	overflow-wrap: anywhere;
	background: var(--field);
	border: 1px solid var(--outline);
}

.key {
	padding: 4px 0;
	border-bottom: 1px solid var(--bevel);
}

.new-invite {
	flex-wrap: wrap;
	gap: 4px 12px;
	padding: 6px;
	margin-bottom: 6px;
	background: var(--field);
	border: 1px solid var(--accent);
}

.new-invite .code {
	flex: 1;
	margin: 0;
	padding: 2px 4px;
	overflow: visible;
	white-space: normal;
	border-color: var(--accent);
}

@media (max-width: 960px) {
	.scroll {
		overflow-x: auto;
	}

	.chat-row {
		flex-direction: column;
	}

	.online {
		width: 100%;
	}
}

table.grid {
	width: 100%;
	border-collapse: collapse;
}

table.grid th {
	padding: 2px 6px 4px 0;
	color: var(--text-dim);
	font-weight: normal;
	text-align: left;
	white-space: nowrap;
}

table.grid td {
	padding: 2px 6px 2px 0;
	white-space: nowrap;
}

table.matrix {
	table-layout: fixed;
}

table.matrix th {
	white-space: normal;
	vertical-align: bottom;
}

table.matrix th:first-child {
	width: 96px;
}

table.matrix td:first-child {
	overflow: hidden;
	text-overflow: ellipsis;
}

table.matrix th:last-child,
table.matrix td:last-child {
	padding-right: 0;
}

table.matrix .combo.compact {
	width: 100%;
}

.badge {
	color: var(--accent);
}

.alert {
	padding: 2px 0 2px 6px;
	border-left: 2px solid transparent;
}

.alert.unread {
	border-left-color: var(--accent);
}

.alert .row > span:first-child {
	white-space: normal;
}

.product {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 4px 0;
}

.product-text {
	flex: 1;
	min-width: 0;
}

.picture {
	display: block;
	flex: none;
	width: 40px;
	height: 40px;
	object-fit: contain;
	image-rendering: pixelated;
	background: var(--field);
	border: 1px solid var(--outline);
	box-shadow: inset 0 0 0 1px var(--bevel);
}

.banner {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 1;
	object-fit: cover;
	background: var(--field);
	border: 1px solid var(--outline);
	box-shadow: inset 0 0 0 1px var(--bevel);
}

.banner-empty {
	background: repeating-linear-gradient(135deg, var(--field) 0 6px, var(--field-active) 6px 12px);
}

.profile-banner {
	margin-bottom: 8px;
}

.bio {
	margin: 2px 0 6px;
	white-space: pre-line;
	overflow-wrap: anywhere;
}

.price {
	color: var(--accent);
}

.store-item + .store-item {
	border-top: 1px solid var(--outline);
}

.store-status,
.store-checkout {
	align-items: center;
	margin-top: 4px;
}

.button.compact,
button.compact {
	width: 86px;
	margin-top: 0;
	flex: none;
}

button:disabled,
button:disabled:hover {
	background: var(--field);
	color: var(--text-faint);
	cursor: default;
}

input[type="file"] {
	height: auto;
	padding: 2px;
	color: var(--text-dim);
}

input[type="file"]::file-selector-button {
	height: 16px;
	margin-right: 8px;
	padding: 0 8px;
	color: var(--text-dim);
	font: inherit;
	text-shadow: inherit;
	background: var(--field-hover);
	border: 1px solid var(--outline);
	cursor: pointer;
}

input[type="file"]::file-selector-button:hover {
	color: var(--text);
	background: var(--field-active);
}

.chat-row {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.chat-row .chat {
	flex: 1;
	min-width: 0;
}

.online {
	flex: none;
	width: 200px;
}

.online-list {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.online-member {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.chat-log {
	display: flex;
	flex-direction: column;
	gap: 2px;
	height: 200px;
	padding: 4px 6px;
	overflow-y: auto;
	background: var(--field);
	border: 1px solid var(--outline);
}

.chat-line {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 1px 0;
}

.chat-line > * {
	flex: none;
}

.chat-time {
	font-variant-numeric: tabular-nums;
}

.chat-who {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	max-width: 170px;
	overflow: hidden;
}

.chat-who .chat-name {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.chat-who .picture {
	width: 14px;
	height: 14px;
}

.chat-body {
	flex: 1;
	min-width: 0;
	overflow-wrap: anywhere;
}

.chat-delete {
	display: inline;
}

.chat-form {
	display: flex;
	gap: 6px;
	margin-top: 6px;
}

.chat-form input[name="body"] {
	flex: 1;
}

.chat-form input {
	height: 18px;
}

.profile-card {
	position: absolute;
	z-index: 50;
	width: 220px;
	padding: 2px;
	background: var(--header);
	border: 1px solid var(--outline);
	box-shadow: inset 0 0 0 1px var(--bevel), 0 2px 8px rgba(0, 0, 0, 0.6);
}

.profile-card[hidden] {
	display: none;
}

.card-banner {
	display: block;
	width: 100%;
	height: 72px;
	object-fit: cover;
	border: 1px solid var(--outline);
}

.card-banner.empty {
	background: var(--field);
}

.card-head {
	display: flex;
	gap: 8px;
	align-items: center;
	padding: 6px;
}

.card-head .picture {
	width: 40px;
	height: 40px;
}

.card-identity {
	min-width: 0;
}

.card-meta {
	padding: 0 6px 6px;
}

.person {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
}

.person .picture {
	width: 18px;
	height: 18px;
}

.people {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
}

.social-actions form,
.social-actions .button {
	display: block;
}

.comment {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 6px 0;
}

.comment + .comment,
.message + .message {
	border-top: 1px solid var(--outline);
	box-shadow: inset 0 1px 0 var(--bevel);
}

.comment .picture {
	width: 24px;
	height: 24px;
}

.comment-main {
	flex: 1;
	min-width: 0;
}

.message {
	padding: 6px 0;
}

.section {
	margin: 14px 0 4px;
	padding-bottom: 2px;
	font-size: inherit;
	font-weight: normal;
	color: var(--text-dim);
	border-bottom: 1px solid var(--bevel);
	scroll-margin-top: 12px;
}

.attachments {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 6px;
	margin: 0 0 8px;
}

.attachment-media,
.attachment-media img {
	display: block;
	max-width: min(100%, 420px);
	max-height: 320px;
}

.attachment-media {
	background: var(--field);
	border: 1px solid var(--outline);
	box-shadow: inset 0 0 0 1px var(--bevel);
}

.attachment-file {
	padding: 2px 6px;
	background: var(--field);
	border: 1px solid var(--outline);
	box-shadow: inset 0 0 0 1px var(--bevel);
	overflow-wrap: anywhere;
}

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