/* PT Analytics cookie notice: a small card in the corner, in the theme's colours. */
.pt-consent {
	position: fixed;
	left: 1.25rem;
	bottom: 1.25rem;
	z-index: 9980;
	display: grid;
	gap: 0.75rem;
	width: min(400px, calc(100vw - 2rem));
	padding: 1rem 1.1rem;
	border-radius: 16px;
	color: var(--pt-text, #f8ecd9);
	background: radial-gradient(ellipse 90% 70% at 0% 0%, rgb(122 58 216 / 0.22), transparent 70%), #12060f;
	box-shadow: 0 0 0 1px rgb(201 163 245 / 0.3), 0 18px 50px rgb(0 0 0 / 0.6);
	font: 0.9rem/1.5 var(--pt-body, system-ui, sans-serif);
	opacity: 0;
	translate: 0 16px;
	transition: opacity 0.3s ease, translate 0.35s cubic-bezier(.2, .9, .25, 1.1);
}
.pt-consent[hidden] { display: none; }
.pt-consent.is-shown { opacity: 1; translate: 0 0; }
.pt-consent__text { margin: 0; color: #e1d3c1; }
.pt-consent__text a { color: var(--pt-lilac, #c9a3f5); }
.pt-consent__actions { display: flex; justify-content: flex-end; gap: 0.5rem; }
.pt-consent__btn {
	min-height: 40px;
	padding: 0.45rem 1.1rem;
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	font: 700 0.78rem/1 var(--pt-body, system-ui, sans-serif);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff;
	background: var(--pt-btn-grad, linear-gradient(110deg, #4a2bc4, #7a3ad8, #a145c9));
	background-size: 200% 100%;
	transition: box-shadow 0.25s ease, background-position 0.5s ease;
}
.pt-consent__btn:is(:hover, :focus-visible) { outline: none; background-position: 100% 0; box-shadow: var(--pt-btn-glow, 0 0 0 1px #c9a3f5, 0 0 18px rgb(190 115 251 / 0.6)); }
.pt-consent__btn--quiet { color: var(--pt-text, #f8ecd9); background: transparent; box-shadow: inset 0 0 0 1px rgb(201 163 245 / 0.4); }
@media (max-width: 600px) {
	.pt-consent { left: 0.75rem; right: 0.75rem; bottom: 0.75rem; width: auto; }
}
@media (prefers-reduced-motion: reduce) { .pt-consent { transition: none; } }
