/* ================================================
   Thank You/Like System — themed vote arrows
   ================================================ */

div[id^=tyl_btn_] {
	display: inline-block;
	vertical-align: middle;
}

/* Shared arrow button base — matches postbit button row */
a.add_tyl_button,
a.del_tyl_button,
a.tyl_downvote_button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 29px;
	border-radius: 5px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background-color: #232b36;
	text-decoration: none;
	transition: all 0.15s ease;
	vertical-align: middle;
	margin-right: 4px;
}

/* Arrow glyphs */
a.add_tyl_button span,
a.del_tyl_button span,
a.tyl_downvote_button span {
	font-size: 0;
	line-height: 0;
	display: inline-block;
	width: 15px;
	height: 15px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 15px 15px;
}

/* UP — not yet liked: grey hollow arrow */
a.add_tyl_button span {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b9eb3' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M5 12l7-7 7 7'/%3E%3C/svg%3E");
}
a.add_tyl_button:hover {
	border-color: rgba(87, 160, 94, 0.6);
	background-color: rgba(87, 160, 94, 0.12);
}
a.add_tyl_button:hover span {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2357a05e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M5 12l7-7 7 7'/%3E%3C/svg%3E");
}

/* UP — already liked: filled green, glowing (click retracts) */
a.del_tyl_button {
	border-color: rgba(87, 160, 94, 0.6);
	background-color: rgba(87, 160, 94, 0.18);
	box-shadow: 0 0 7px rgba(87, 160, 94, 0.25);
}
a.del_tyl_button span {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2357a05e' stroke='%2357a05e' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4l8 8h-5v8h-6v-8H4z'/%3E%3C/svg%3E");
}
a.del_tyl_button:hover {
	border-color: rgba(139, 158, 179, 0.5);
	background-color: #232b36;
	box-shadow: none;
}
a.del_tyl_button:hover span {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b9eb3' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M5 12l7-7 7 7'/%3E%3C/svg%3E");
}

/* DOWN — grey hollow arrow, red on hover */
a.tyl_downvote_button span {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b9eb3' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M19 12l-7 7-7-7'/%3E%3C/svg%3E");
}
a.tyl_downvote_button:hover {
	border-color: rgba(231, 76, 60, 0.55);
	background-color: rgba(231, 76, 60, 0.1);
}
a.tyl_downvote_button:hover span {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e74c3c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M19 12l-7 7-7-7'/%3E%3C/svg%3E");
}

/* "Liked by" strip — dark glass */
.tyllist,
.tyllist_classic {
	background-color: rgba(0, 0, 0, 0.3);
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	border-left: 3px solid rgba(87, 160, 94, 0.5);
	border-radius: 0 6px 6px 0;
	padding: 8px 12px;
	color: #8b9eb3;
	font-size: 12px;
}
.tyllist a,
.tyllist_classic a {
	color: #c7d2df;
	text-decoration: none;
	transition: color 0.15s ease;
}
.tyllist a:hover,
.tyllist_classic a:hover {
	color: #00d4ff;
}

.tyl_collapsible_summary {
	font-weight: bold;
	color: #c7d2df;
}

img[id^=tyl_i_expcol_] {
	vertical-align: bottom;
	opacity: 0.6;
}

/* Popular post highlight */
.popular_post {
	border: 1px solid rgba(87, 160, 94, 0.45);
	border-radius: 6px;
	background-color: rgba(87, 160, 94, 0.07);
}

/* Like counter (forum display / search) — green up-arrow chip */
.tyl_counter {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	float: none;
	margin: 0 8px;
	padding: 2px 9px 2px 7px;
	border: 1px solid rgba(87, 160, 94, 0.45);
	border-radius: 12px;
	background: linear-gradient(160deg, rgba(87, 160, 94, 0.22) 0%, rgba(87, 160, 94, 0.08) 100%);
	color: #6fbf78;
	font-weight: bold;
	font-size: 11px;
	line-height: 1;
	box-shadow: 0 0 6px rgba(87, 160, 94, 0.12);
	vertical-align: middle;
}
.tyl_counter::before {
	content: "";
	display: inline-block;
	width: 11px;
	height: 11px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 11px 11px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236fbf78' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M5 12l7-7 7 7'/%3E%3C/svg%3E");
}

/* Liker avatars — overlapping row */
.tyl_avatar {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	margin-right: -6px;
	border: 2px solid #131b26;
	object-fit: cover;
	transition: transform 0.15s ease;
}
.tyl_avatar:hover {
	transform: translateY(-2px);
	position: relative;
	z-index: 2;
}

.tyl_rcvdlikesrange_1,
.tyl_rcvdlikesrange_1 a {
	font-weight: bold;
	text-decoration: none;
	color: #57a05e;
}

/* Toast notifications */
.jGrowl .jGrowl-notification.jgrowl_success.tyl_jgrowl,
.jGrowl .jGrowl-notification.jgrowl_error.tyl_jgrowl {
	background: #131b26;
	border: 1px solid rgba(0, 212, 255, 0.25);
	border-radius: 8px;
	color: #e2eaf3;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}
.jGrowl .jGrowl-notification.jgrowl_success.tyl_jgrowl .jGrowl-close,
.jGrowl .jGrowl-notification.jgrowl_error.tyl_jgrowl .jGrowl-close {
	color: #8b9eb3;
}