.ilyt-comment-votes {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 0.5rem;
}

.ilyt-comment-votes__btn {
	border: 1px solid var(--ilyt-border);
	background: var(--ilyt-surface);
	border-radius: 999px;
	padding: 0.15rem 0.5rem;
	cursor: pointer;
	font-size: 0.85rem;
}

.ilyt-comment-hidden-banner {
	background: var(--ilyt-warn-bg);
	border: 1px solid var(--ilyt-warn-border);
	border-radius: 8px;
	padding: 0.75rem 1rem;
	margin-bottom: 0.75rem;
	font-size: 0.9rem;
	color: var(--ilyt-warn-text);
}

.comment--hidden-from-public {
	opacity: 0.85;
}

.ilyt-card--unread .ilyt-card__title a::before {
	content: '';
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--ilyt-accent, #ff5722);
	margin-right: 0.4rem;
	vertical-align: middle;
}

.ilyt-card {
	position: relative;
}

.ilyt-feed-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.ilyt-feed-filter__btn {
	border: 1px solid var(--ilyt-border);
	background: var(--ilyt-surface);
	border-radius: 999px;
	padding: 0.35rem 0.85rem;
	cursor: pointer;
	font-size: 0.9rem;
}

.ilyt-feed-filter__btn.is-active {
	background: var(--ilyt-accent);
	border-color: var(--ilyt-accent);
	color: #fff;
}

.ilyt-feed-filter__hint {
	margin: 0 0 1rem;
	font-size: 0.875rem;
}

.ilyt-comment__author-badge {
	display: inline-block;
	margin-left: 0.35rem;
	padding: 0.05rem 0.4rem;
	border-radius: 4px;
	font-size: 0.75rem;
	background: var(--ilyt-accent);
	color: #fff;
	font-weight: 600;
}

.ilyt-header-chat {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	text-decoration: none;
	font-size: 1.25rem;
}

.ilyt-header-chat__badge {
	position: absolute;
	top: 4px;
	right: 4px;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border-radius: 999px;
	background: #e53935;
	color: #fff;
	font-size: 0.7rem;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
}

.ilyt-header-bell {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	text-decoration: none;
	font-size: 1.25rem;
}

.ilyt-header-favorites {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	text-decoration: none;
	cursor: pointer;
}

.ilyt-header-favorites .ilyt-favorite-btn__icon {
	width: 22px;
	height: 22px;
	color: var(--ilyt-accent, #ff5722);
}

.ilyt-header-bell__badge {
	position: absolute;
	top: 4px;
	right: 4px;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border-radius: 999px;
	background: #ff9800;
	color: #fff;
	font-size: 0.7rem;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
}

.ilyt-reading-progress {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	z-index: 9999;
	background: transparent;
	pointer-events: none;
}

.ilyt-reading-progress span {
	display: block;
	height: 100%;
	width: 0;
	background: var(--ilyt-accent, #ff5722);
	transition: width 0.1s linear;
}

.ilyt-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin: 1.25rem 0;
}

.ilyt-share__label {
	font-size: 0.9rem;
	color: var(--ilyt-muted, #666);
}

.ilyt-share__btn {
	display: inline-block;
	padding: 0.35rem 0.75rem;
	border-radius: 6px;
	background: var(--ilyt-surface, #f5f5f5);
	border: 1px solid var(--ilyt-border, #ddd);
	text-decoration: none;
	font-size: 0.85rem;
	color: inherit;
}

.ilyt-card__counts {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-left: auto;
	font-size: 0.85rem;
}

.ilyt-card-stat {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-weight: 600;
	color: var(--ilyt-text);
}

.ilyt-card-stat__icon {
	display: inline-flex;
	width: 1.125rem;
	height: 1.125rem;
	color: var(--ilyt-accent);
}

.ilyt-card-stat__icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.ilyt-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem;
}

.ilyt-mobile-nav {
	display: none;
}

.ilyt-author-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
	margin: 1rem 0;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.ilyt-author-actions .ilyt-btn,
.ilyt-author-actions .ilyt-share-toggle {
	flex: 0 1 auto;
	max-width: 100%;
}

.ilyt-author-actions .ilyt-btn:disabled,
.ilyt-author-actions .ilyt-btn[aria-disabled='true'] {
	opacity: 0.55;
	cursor: not-allowed;
	pointer-events: none;
}

.ilyt-author-actions .ilyt-btn__emoji {
	margin-right: 0.35em;
}

.ilyt-read-history-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 1rem;
	align-items: center;
}

.ilyt-read-history-search.ilyt-search-form {
	flex: 1 1 220px;
	max-width: 360px;
	margin: 0;
}

.ilyt-nav-badge {
	display: inline-block;
	min-width: 1.25rem;
	padding: 0 0.35rem;
	border-radius: 999px;
	background: #e53935;
	color: #fff;
	font-size: 0.75rem;
}

.ilyt-spelling-panel {
	margin-top: 1rem;
	padding: 1rem;
	border: 1px solid var(--ilyt-border);
	border-radius: 8px;
	background: var(--ilyt-surface);
	font-size: 0.9rem;
}

.ilyt-spelling-wrap {
	position: relative;
	width: 100%;
}

.ilyt-spelling-wrap textarea {
	position: relative;
	z-index: 2;
	width: 100%;
	box-sizing: border-box;
	background: transparent !important;
}

.ilyt-spelling-backdrop {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	overflow: hidden;
	white-space: pre-wrap;
	word-wrap: break-word;
	color: transparent;
	pointer-events: none;
}

.ilyt-spelling-error {
	background: rgba(255, 87, 34, 0.35);
	color: transparent;
	border-radius: 2px;
}

.ilyt-spelling-fix {
	background: none;
	border: none;
	padding: 0.25rem 0;
	cursor: pointer;
	text-align: left;
	font: inherit;
}

.ilyt-chat-create-room {
	display: flex;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.ilyt-chat-create-room input {
	flex: 1;
}

.ilyt-chat-section-label {
	font-size: 0.85rem;
	color: var(--ilyt-muted);
	margin: 0.5rem 0;
}
