/* Automatically applied discounts ? tip on the join page.
 * Uses "?" as Travis asked, not "i". The visible circle is 24px, at 0.7 opacity
 * when resting, with a 36px invisible hit area that does not affect layout, so
 * the circle can sit on the same line as the last word of the perk.
 */
.tgcc-ad-tip-pair{display:inline;white-space:nowrap}
.tgcc-ad-tip{position:relative;display:inline;vertical-align:middle;white-space:nowrap}
.tgcc-ad-tip__btn{
	display:inline-flex;align-items:center;justify-content:center;
	position:relative;
	width:24px;height:24px;min-width:24px;min-height:24px;padding:0;
	margin-left:6px;
	border:0;border-radius:50%;
	background:transparent;color:#fff;cursor:pointer;
	font:700 11px/1 Montserrat,system-ui,sans-serif;
	vertical-align:middle;
	opacity:.7;
	transition:opacity 200ms cubic-bezier(.2,.8,.2,1);
}
/* 36px tap target, out of flow so it cannot wrap the circle onto its own line */
.tgcc-ad-tip__btn::after{
	content:"";position:absolute;inset:-6px;
}
.tgcc-ad-tip__icon{
	display:inline-flex;align-items:center;justify-content:center;
	box-sizing:border-box;
	width:24px;height:24px;
	border:1px solid rgba(255,255,255,.45);border-radius:50%;
	font-weight:700;line-height:1;
	transition:background-color 200ms cubic-bezier(.2,.8,.2,1),border-color 200ms cubic-bezier(.2,.8,.2,1),color 200ms cubic-bezier(.2,.8,.2,1);
}
.tgcc-ad-tip__btn:hover,
.tgcc-ad-tip__btn:focus-visible,
.tgcc-ad-tip__btn[aria-expanded="true"]{
	opacity:1;
}
.tgcc-ad-tip__btn:hover .tgcc-ad-tip__icon,
.tgcc-ad-tip__btn:focus-visible .tgcc-ad-tip__icon,
.tgcc-ad-tip__btn[aria-expanded="true"] .tgcc-ad-tip__icon{
	background:#8e43f0;border-color:#b57bff;color:#fff;
}
.tgcc-ad-tip__btn:focus{outline:none}
.tgcc-ad-tip__btn:focus-visible .tgcc-ad-tip__icon{outline:2px solid #b57bff;outline-offset:2px}
.tgcc-ad-tip__panel{
	--tgcc-ad-x:-50%;
	--tgcc-ad-y:6px;
	--tgcc-ad-s:0.97;
	position:absolute;z-index:30;left:50%;right:auto;top:calc(100% + 8px);
	transform:translateX(var(--tgcc-ad-x)) translateY(var(--tgcc-ad-y)) scale(var(--tgcc-ad-s));
	transform-origin:top center;
	width:max-content;max-width:16.5rem;
	padding:10px 12px;border-radius:8px;
	background:#150e1f;color:#f4f0fa;border:1px solid rgba(142,67,240,.45);
	box-shadow:0 8px 24px rgba(0,0,0,.4);
	font:500 13px/1.45 Montserrat,system-ui,sans-serif;
	text-align:left;white-space:normal;
	opacity:0;
	visibility:hidden;
	pointer-events:none;
	will-change:opacity,transform;
	transition:opacity 200ms cubic-bezier(.2,.8,.2,1),transform 200ms cubic-bezier(.2,.8,.2,1),visibility 0s linear 200ms;
}
.tgcc-ad-tip__panel.is-flip-x{
	--tgcc-ad-x:0;
	left:auto;right:0;
	transform-origin:top right;
}
.tgcc-ad-tip__panel.is-open{
	--tgcc-ad-y:0;
	--tgcc-ad-s:1;
	opacity:1;
	visibility:visible;
	pointer-events:auto;
	transition:opacity 200ms cubic-bezier(.2,.8,.2,1),transform 200ms cubic-bezier(.2,.8,.2,1),visibility 0s linear 0s;
}
.tgcc-ad-tip__panel::before{
	content:"";position:absolute;left:50%;bottom:100%;transform:translateX(-50%);
	border:6px solid transparent;border-bottom-color:#150e1f;
}
.tgcc-ad-tip__panel.is-flip-x::before{left:auto;right:10px;transform:none}
@media (prefers-reduced-motion:reduce){
	.tgcc-ad-tip__btn,
	.tgcc-ad-tip__icon,
	.tgcc-ad-tip__panel,
	.tgcc-ad-tip__panel.is-open{
		transition:none;
		will-change:auto;
	}
}
