/* Magikal Follow (IHUB-CUSTOM) */
.mgk-follow { display: inline-block; vertical-align: middle; }
.mgk-follow__btn {
	display: inline-flex; align-items: center; gap: 8px;
	min-height: 40px; padding: 0 18px; border-radius: 999px;
	border: 1.5px solid #12101c; background: #fff; color: #12101c;
	font: inherit; font-size: 14px; font-weight: 600; line-height: 1; cursor: pointer;
	transition: background .15s, color .15s, border-color .15s, transform .1s;
}
.mgk-follow__btn:hover { background: #12101c; color: #fff; }
.mgk-follow__btn:active { transform: scale(.98); }
.mgk-follow__btn:focus-visible { outline: 3px solid #c9a227; outline-offset: 2px; }
.mgk-follow__btn.is-on { background: #12101c; color: #fff; }
.mgk-follow__btn.is-on:hover { background: #2a2540; border-color: #2a2540; }
.mgk-follow__btn.is-busy { opacity: .6; cursor: progress; }
.mgk-follow__icon { flex: none; }
.mgk-follow__tick { display: none; }
.mgk-follow__btn.is-on .mgk-follow__tick { display: inline; }
.mgk-follow__btn.is-on .mgk-follow__bell { display: none; }
.mgk-follow__btn.is-on .mgk-follow__icon path:not(.mgk-follow__tick):not(.mgk-follow__bell) { display: none; }

/* Chapter end: under "Written by". */
.mgk-chapter-end__follow { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 6px 0 18px; }
.mgk-chapter-end__follow:empty { display: none; }

/* Author page: under the tagline. */
.mgk-author__follow { margin: 14px 0 6px; }
.mgk-author__follow:empty { display: none; }

/* Tale chapter list: bar at the top. */
.mgk-follow-bar {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px;
	margin: 0 0 28px; padding: 16px 20px; border-radius: 14px;
	background: #f6f1e7; border: 1px dashed #c9a227;
}
.mgk-follow-bar__text { margin: 0; color: #12101c; }

.mgk-follow-toast {
	position: fixed; left: 50%; bottom: 90px; z-index: 10000; max-width: min(92vw, 440px);
	padding: 12px 18px; border-radius: 12px; background: #12101c; color: #fff;
	font-size: 14px; line-height: 1.45; text-align: center; box-shadow: 0 10px 30px rgba(18,16,28,.3);
	transform: translate(-50%, 16px); opacity: 0; transition: opacity .3s, transform .3s;
}
.mgk-follow-toast.is-in { opacity: 1; transform: translate(-50%, 0); }
