:host {
	display: block;
	margin: 1rem 0;
	padding: 1rem;
	border: 1px solid light-dark(#e1e8ed, #38444d);
	border-radius: 12px;
	background: light-dark(#ffffff, #192734);
	box-shadow: 0 1px 3px light-dark(rgba(0, 0, 0, 0.1), rgba(255, 255, 255, 0.1));
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
	--emoji-size: 2.4em;
}

.post {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.user {
	font-weight: bold;
	color: #1da1f2;
	font-size: 0.9rem;
}

.content {
	color: light-dark(#14171a, #ffffff);
	line-height: 1.4;
	white-space: pre-wrap;
	transition: color 0.3s ease;
	cursor: pointer;
	padding: 0.25rem;
	border-radius: 4px;
	transition: background-color 0.2s ease;
}

.content:hover {
	background-color: light-dark(rgba(0, 0, 0, 0.05), rgba(255, 255, 255, 0.05));
}

.content.editing {
	cursor: text;
}

.content textarea {
	width: 100%;
	background: transparent;
	border: 1px solid light-dark(#e1e8ed, #38444d);
	border-radius: 4px;
	padding: 0.25rem;
	color: inherit;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	resize: vertical;
	min-height: 3em;
}

.content textarea:focus {
	outline: 2px solid #1da1f2;
	outline-offset: 1px;
}

.emoji {
	width: var(--emoji-size);
	height: var(--emoji-size);
}
