/* Arrow + score: inline, so it shares the line with the "Reply" link. */
.cuv {
	display: inline-flex;
	align-items: center;
	gap: .3em;
	margin: 0 1em 0 0;
	padding: 0;
	vertical-align: middle;
	line-height: 1;
}
/* Fallback position (no reply link): its own line after the comment text. */
.comment-content > .cuv,
.comment-body > .cuv,
p + .cuv {
	display: flex;
	margin-top: .5em;
}
.cuv[hidden] {
	display: none;
}

/* Undo theme button styles: no box, no background. !important because some
   themes style buttons with very specific selectors (e.g. Twenty Twenty-One). */
.cuv .cuv-btn,
.cuv .cuv-btn:hover,
.cuv .cuv-btn:focus,
.cuv .cuv-btn:active {
	-webkit-appearance: none !important;
	appearance: none !important;
	display: inline-flex !important;
	align-items: center;
	width: auto !important;
	height: auto !important;
	min-width: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: .15em !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: none !important;
	box-shadow: none !important;
	text-shadow: none !important;
	text-decoration: none !important;
	color: inherit !important;
	font: inherit !important;
	line-height: 1 !important;
	cursor: pointer;
}
.cuv .cuv-btn:focus-visible {
	outline: 1px dotted currentColor;
	outline-offset: 1px;
}
.cuv .cuv-btn[disabled] {
	cursor: wait;
}

/* Outline when not voted, filled when voted. */
.cuv-icon {
	width: 1.05em;
	height: 1.05em;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.4;
	stroke-linejoin: round;
	opacity: .55;
	transition: opacity .15s;
}
.cuv .cuv-btn:hover .cuv-icon,
.cuv .cuv-btn:focus .cuv-icon {
	opacity: .9;
}
.cuv.is-voted .cuv-icon {
	fill: currentColor;
	opacity: .9;
}
.cuv.is-closed .cuv-icon {
	opacity: .35;
}

.cuv-score {
	min-width: 1ch;
	font-variant-numeric: tabular-nums;
	opacity: .75;
}
.cuv.is-voted .cuv-score {
	opacity: 1;
}

.cuv-sort {
	margin: 0 0 1em;
	font-size: .875em;
}
.cuv-sort a {
	margin-right: .75em;
}
.cuv-sort a[aria-current] {
	font-weight: bold;
	text-decoration: none;
	color: inherit;
}
.cuv .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
