/*
 * AutomateSMM tooltips (assets/js/smm-tooltip.js) — 3.13.2.
 * Tippy's class names and attributes, so CSS a shop wrote for Tippy 0.3.0 still applies; a shop restyles the balloon
 * with .tippy-tooltip (colours, font) and [x-arrow] (the arrow takes the balloon's background).
 */
.tippy-popper.smm-tip {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	max-width: 300px;
	max-width: min(300px, calc(100vw - 16px));
	pointer-events: none;
	visibility: hidden;
	opacity: 0;
	transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s;
}
.tippy-popper.smm-tip[x-placement="top"] { transform: translateY(4px); }
.tippy-popper.smm-tip[x-placement="bottom"] { transform: translateY(-4px); }
.tippy-popper.smm-tip[x-placement="left"] { transform: translateX(4px); }
.tippy-popper.smm-tip[x-placement="right"] { transform: translateX(-4px); }
.tippy-popper.smm-tip.is-shown {
	visibility: visible;
	opacity: 1;
	transform: none;
	transition: opacity .15s ease, transform .15s ease;
}
.tippy-popper.smm-tip.html-template { pointer-events: auto; }
.smm-tip .tippy-tooltip {
	position: relative;
	padding: 8px 12px;
	border-radius: 8px;
	background: #1f2937;
	color: #fff;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.45;
	text-align: center;
	overflow-wrap: break-word;
	box-shadow: 0 6px 20px rgba(15, 23, 42, .18);
	-webkit-font-smoothing: antialiased;
}
.smm-tip .tippy-tooltip.light-theme {
	background: #f3f6f9;
	color: #203d5d;
	border: 1px solid #ced2e2;
}
.smm-tip .tippy-tooltip-content { position: relative; }
.smm-tip [x-arrow] {
	position: absolute;
	width: 10px;
	height: 10px;
	background: inherit;
	transform: rotate(45deg);
}
.smm-tip[x-placement="top"] [x-arrow] { bottom: -5px; left: var(--smm-tip-arrow, 50%); margin-left: -5px; }
.smm-tip[x-placement="bottom"] [x-arrow] { top: -5px; left: var(--smm-tip-arrow, 50%); margin-left: -5px; }
.smm-tip[x-placement="left"] [x-arrow] { right: -5px; top: var(--smm-tip-arrow, 50%); margin-top: -5px; }
.smm-tip[x-placement="right"] [x-arrow] { left: -5px; top: var(--smm-tip-arrow, 50%); margin-top: -5px; }
[data-tooltipped] { cursor: help; }
@media (prefers-reduced-motion: reduce) {
	.tippy-popper.smm-tip,
	.tippy-popper.smm-tip.is-shown { transition: none; transform: none; }
}
