@charset "utf-8";

.rt-follow-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-height: 28px;
	height: 28px;
	padding: 0 8px;
	border: 0;
	border-radius: 6px;
	background: #e9f8ef;
	color: #00a65a;
	font-family: inherit;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
}

.rt-follow-button:hover {
	background: #dcf3e5;
	color: #008f4d;
}

.rt-follow-button:focus-visible {
	outline: 2px solid rgba(47, 111, 107, 0.34);
	outline-offset: 2px;
}

.rt-follow-button.is-following {
	background: #f1f2f3;
	color: #303336;
}

.rt-follow-button.is-following:hover {
	background: #e6e8e9;
	color: #1f2123;
}

.rt-follow-button.is-guest-locked {
	background: #f3f4f4;
	color: #a3a3a3;
	opacity: 0.82;
}

.rt-follow-button.is-guest-locked:hover,
.rt-follow-button.is-guest-locked:focus-visible {
	background: #e9ebeb;
	color: #737373;
	opacity: 1;
}

.rt-follow-button.is-loading,
#popup_menu_area .rt-follow-action.is-loading {
	opacity: 0.55;
	pointer-events: none;
}

.rt-follow-button__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 12px;
	height: 12px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	color: #00a65a;
}

.rt-follow-button.is-following .rt-follow-button__icon {
	color: #4b4f52;
}

#popup_menu_area {
	min-width: 120px;
	border: 1px solid rgba(0, 0, 0, .06);
	border-radius: 6px;
	box-shadow: 0 1px 12px 0 rgba(0, 0, 0, .06);
	font-size: 13px;
	outline: none;
}

#popup_menu_area ul {
	padding: 5px 0;
}

#popup_menu_area a {
	padding: 5px 10px;
	white-space: nowrap;
}

#popup_menu_area a:hover,
#popup_menu_area a:active,
#popup_menu_area a:focus {
	background: #fafafc;
}

#popup_menu_area .rt-follow-action--following > a {
	display: flex;
	align-items: center;
	gap: 4px;
}

#popup_menu_area .rt-follow-action--following > a::before {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 12px;
	height: 12px;
	color: #4b4f52;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	content: "✓";
}

#popup_menu_area .rt-member-guest-action > a {
	color: #a3a3a3;
	opacity: 0.82;
}

#popup_menu_area .rt-member-guest-action > a:hover,
#popup_menu_area .rt-member-guest-action > a:focus {
	background: #fafafc;
	color: #737373;
	opacity: 1;
}

.rt-follow-toast {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 10000;
	padding: 10px 14px;
	border-radius: 4px;
	background: rgba(23, 23, 23, 0.94);
	color: #fff;
	font-size: 13px;
	line-height: 1.5;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.18s ease, transform 0.18s ease;
	pointer-events: none;
}

.rt-follow-toast.is-visible {
	opacity: 1;
	transform: translateY(0);
}

@media (max-width: 640px) {
	.rt-follow-toast {
		right: 16px;
		bottom: 16px;
		left: 16px;
		text-align: center;
	}
}
