/* Comment Likes – front‑end styles (v2.7.0) */

/* vote UI ------------------------------------------------------- */
.cl-vote-wrap{
	float:right;
	margin-left:1em;
}
.cl-vote-btns{
	display:flex;
	gap:.6em;
	align-items:center;
	line-height: 1.25rem;
	font-size:1em;
	font-weight: 300;
}
.cl-btn{display:flex;align-items:center;text-decoration:none}
.cl-btn .dashicons {
	font-size:1.2em;
	line-height: 1.25rem;
	transition:transform .1s;
	color:var(--color-grey-dark);
	transform:scale(1);
}
.cl-btn:hover .dashicons{
	transform:scale(1.15)
}
.cl-upvotes {
	color: #007c1d;
	text-align: center;
	font-size: 1em;
	line-height: 1em;
	font-weight:bold;
	vertical-align: top;
	padding: 0 5px 0 4px;
}

.cl-downvotes{
	color: #b00;
	text-align: center;
	font-size: 1em;
	line-height: 1em;
	font-weight:bold;
	border-top: solid 2px black;
	vertical-align: bottom;
	padding: 1px 5px 0 4px;
	padding-top: 1px;
}
.cl-delay .cl-total {
	border-top-color: #888;
}
.cl-burger {
	display: flex;
	flex-direction: column;
}

.cl-selected.cl-up .dashicons {
	color:#007c1d;
}
.cl-selected.cl-down .dashicons {
	color:#b00;
}

.cl-comment-award {
	border-top: none !important;
}

.cl-comment-award>.comment-inner {
	background: var(--color-popular-comments-bg);
	padding: calc(var(--base-height) * 1) calc(var(--base-height) * 1) 0.5em !important;
}

.cl-comment-award+.comment {
	border-top: none !important;
}


/* buttons disabled by opposite vote OR by delay */
.cl-disabled,
.cl-delay{pointer-events:none;color:#888;opacity:.5}

/* custom dropdown ------------------------------------------------*/
.cl-sort-drop{
	margin: 0;
	padding: 0;
	position:relative;
	display:inline-block;
	font-size:.9em;
	width: 8.75em;
	height: auto;
	line-height: 1em;
}
.cl-sort-current{
	all: unset;
	display: block;
	color: var(--color-blue-dark);
	background: var(--color-background);
	border: none;
	padding: 0;
	margin: 0;
	cursor:pointer;
	width: 100%;
	text-align: right;
	font-size: .9em;
	line-height: 1.1em;
	height: auto;
}
.cl-sort-list{
	position:absolute;
	right:0;
	top:0;
	max-height:0;
	overflow:hidden;
	background:#fff;
	transition: 250ms ease;
	list-style:none;
	padding: 0;
	margin:0;
	border:1px solid transparent;
	z-index:100;
	width: 100%;
}
.cl-sort-list li{
	padding:.25em .7em;
	margin: 0;
	cursor:pointer;
	transition: .3s;
}
.cl-sort-list li:hover{
	color: var(--color-background);
	background: var(--color-blue-dark);
}
.cl-sort-drop.open .cl-sort-current{background:#0073aa;color:#fff;border-color:#0073aa}
.cl-sort-drop.open .cl-sort-list{
	max-height:200px;
	border:1px solid #ddd;
	padding:.25em 0;
}

/* reply stats --------------------------------------------------- */
.cl-reply-stats{
	display:inline-block;
	margin: calc(var(--base-height) * 1) 0 0;
	font-size:.9em;
	color:var(--color-grey-dark);
	cursor:pointer
}
.cl-reply-stats:hover{text-decoration:underline}

/* slide helper -------------------------------------------------- */
.cl-slide{
	overflow:hidden;
	transition:height 3000ms ease
}

@keyframes cl-flash {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}

.cl-flash {
  animation: cl-flash 1.5s ease-out;
  animation-fill-mode: forwards;
}

.cl-burger {
	display: flex;
}
