.comment-options .comment-reply,
.comment-options .comment-reply-preview {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	margin-inline-start: 5px;
	padding: 0 3px;
	color: #d7d9df;
	font-size: 12px;
	font-weight: 600;
	line-height: 24px;
	text-decoration: none;
	vertical-align: middle;
}

.comment-options .comment-reply:hover,
.comment-options .comment-reply-preview:hover,
.comment-options .comment-reply:focus-visible,
.comment-options .comment-reply-preview:focus-visible {
	color: #fff;
	text-decoration: underline;
}

.block-comments .comment-options,
.vcx .comment-options {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	vertical-align: middle;
}

.block-comments .comment-options .comment-reply::before,
.vcx .comment-options .comment-reply-preview::before {
	display: inline-block;
	flex: 0 0 13px;
	width: 13px;
	height: 13px;
	margin-inline-end: 3px;
	content: '';
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 7 3.5 12 9 17v-3h4c3.7 0 6.2 1.5 8 4.5C20.3 12.8 17.5 10 13 10H9V7Z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 7 3.5 12 9 17v-3h4c3.7 0 6.2 1.5 8 4.5C20.3 12.8 17.5 10 13 10H9V7Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.xnv-reply-context {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 12px;
	padding: 10px 12px;
	border-left: 3px solid #e31b2b;
	border-radius: 6px;
	background: #191a1f;
	color: #d6d7dc;
	font-size: 13px;
}

.xnv-reply-context.hidden {
	display: none;
}

.xnv-reply-context strong {
	color: #fff;
}

.xnv-reply-cancel {
	flex: 0 0 auto;
	padding: 4px 8px;
	border: 0;
	background: transparent;
	color: #a9abb3;
	font: inherit;
	cursor: pointer;
}

.xnv-reply-cancel:hover,
.xnv-reply-cancel:focus-visible {
	color: #fff;
	text-decoration: underline;
}

.xnv-thread-replies {
	margin: 9px 0 3px 30px;
	padding-left: 15px;
	border-left: 2px solid #292b31;
}

.xnv-thread-replies > .item {
	margin: 0;
	padding: 12px 12px 12px 14px;
	border-bottom: 1px solid #25262b;
	border-radius: 0;
	background: #111216;
}

.xnv-thread-replies > .item:last-child {
	border-bottom: 0;
}

.xnv-reply-target {
	display: block;
	margin-bottom: 4px;
	color: #9da0aa;
	font-size: 12px;
	font-weight: 600;
}

.xnv-comment-highlight {
	animation: xnv-comment-highlight 2.4s ease-out;
}

@keyframes xnv-comment-highlight {
	0%, 35% { box-shadow: inset 3px 0 0 #e31b2b; background-color: rgba(227, 27, 43, .12); }
	100% { box-shadow: inset 0 0 0 transparent; background-color: transparent; }
}

.xnv-reply-bell {
	position: relative;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
}

button.xnv-reply-bell {
	border: 0;
	background: transparent;
	color: inherit;
}

.xnv-reply-badge {
	position: absolute;
	top: -4px;
	right: -7px;
	min-width: 17px;
	height: 17px;
	padding: 0 4px;
	border: 2px solid #0d0d0f;
	border-radius: 10px;
	background: #e31b2b;
	color: #fff;
	font: 700 10px/13px Arial, sans-serif;
	text-align: center;
	box-sizing: border-box;
}

.xnv-reply-badge.hidden {
	display: none;
}

.xnv-reply-notifications {
	position: fixed;
	top: 76px;
	right: max(16px, calc((100vw - 1320px) / 2));
	z-index: 10020;
	width: min(390px, calc(100vw - 24px));
	max-height: min(560px, calc(100vh - 100px));
	overflow: auto;
	border: 1px solid #303137;
	border-radius: 10px;
	background: #121316;
	box-shadow: 0 18px 55px rgba(0, 0, 0, .55);
	color: #f2f2f4;
}

.xnv-reply-notifications.hidden {
	display: none;
}

.xnv-notification-head {
	position: sticky;
	top: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 15px;
	border-bottom: 1px solid #292a2f;
	background: #17181c;
}

.xnv-notification-head strong {
	font-size: 15px;
}

.xnv-mark-all {
	padding: 0;
	border: 0;
	background: transparent;
	color: #b7b9c0;
	font-size: 12px;
	cursor: pointer;
}

.xnv-mark-all:hover,
.xnv-mark-all:focus-visible {
	color: #fff;
	text-decoration: underline;
}

.xnv-notification-item {
	display: block;
	padding: 12px 15px;
	border-bottom: 1px solid #25262b;
	color: inherit;
	text-decoration: none;
}

.xnv-notification-item:hover,
.xnv-notification-item:focus-visible {
	background: #1b1c21;
}

.xnv-notification-summary,
.xnv-notification-video,
.xnv-notification-excerpt {
	display: block;
}

.xnv-notification-summary {
	font-size: 13px;
	line-height: 1.35;
}

.xnv-notification-summary strong {
	color: #fff;
}

.xnv-notification-video {
	margin-top: 4px;
	color: #e6e7ea;
	font-size: 12px;
	font-weight: 600;
}

.xnv-notification-excerpt {
	margin-top: 3px;
	overflow: hidden;
	color: #999ca5;
	font-size: 12px;
	line-height: 1.35;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.xnv-notification-empty {
	margin: 0;
	padding: 28px 18px;
	color: #a7a9b0;
	font-size: 13px;
	text-align: center;
}

[dir="rtl"] .xnv-reply-context {
	border-right: 3px solid #e31b2b;
	border-left: 0;
}

[dir="rtl"] .xnv-thread-replies {
	margin-right: 30px;
	margin-left: 0;
	padding-right: 15px;
	padding-left: 0;
	border-right: 2px solid #292b31;
	border-left: 0;
}

[dir="rtl"] .xnv-reply-notifications {
	right: auto;
	left: max(16px, calc((100vw - 1320px) / 2));
}

@media (max-width: 767px) {
	.xnv-thread-replies {
		margin-left: 12px;
		padding-left: 10px;
	}

	[dir="rtl"] .xnv-thread-replies {
		margin-right: 12px;
		margin-left: 0;
		padding-right: 10px;
		padding-left: 0;
	}

	.xnv-thread-replies > .item {
		padding: 10px;
	}

	.xnv-reply-notifications,
	[dir="rtl"] .xnv-reply-notifications {
		top: 64px;
		right: 12px;
		left: 12px;
		width: auto;
		max-height: calc(100vh - 82px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.xnv-comment-highlight {
		animation: none;
		box-shadow: inset 3px 0 0 #e31b2b;
	}
}
