.ga-side-tags {
	--ga-size: var(--ga-d-size, 48px);
	--ga-icon: var(--ga-d-icon, 26px);
	--ga-gap: var(--ga-d-gap, 10px);
	--ga-pos: var(--ga-d-top, 50%);
	--ga-mirror: 1;
	--ga-safe-bottom: env(safe-area-inset-bottom, 0px);
	--ga-safe-top: env(safe-area-inset-top, 0px);
	position: fixed;
	z-index: 99997;
	top: var(--ga-runtime-top, var(--ga-pos));
	right: 0;
	display: flex;
	flex-direction: column;
	gap: calc(var(--ga-gap) + var(--ga-depth, 7px));
	width: var(--ga-size);
	padding-block-end: var(--ga-depth, 7px);
	pointer-events: none;
}
.ga-side-tags[data-ga-side="left"] { left: 0; right: auto; --ga-mirror: -1; }
.ga-side-tags[hidden], .ga-side-tags .ga-st-tag[hidden] { display: none !important; }
.ga-side-tags.ga-st-blocked,
body:has(dialog[open], .wp-lightbox-overlay.active, .cmplz-cookiebanner.cmplz-show:not(.cmplz-hidden)) #ga-side-tags { visibility: hidden; }
.ga-st-tag[data-ga-tool="a11y"] { --ga-bg: var(--ga-a11y-bg); --ga-fg: var(--ga-a11y-fg); --ga-shade: var(--ga-a11y-shadow); }
.ga-st-tag[data-ga-tool="cookie"] { --ga-bg: var(--ga-cookie-bg); --ga-fg: var(--ga-cookie-fg); --ga-shade: var(--ga-cookie-shadow); }
.ga-side-tags .ga-st-tag,
.ga-side-tags button.ga-st-tag:is(:hover, :focus, :active) {
	position: relative;
	display: grid;
	flex: none;
	place-items: center;
	box-sizing: border-box;
	width: var(--ga-size);
	height: var(--ga-size);
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	background: var(--ga-bg);
	color: var(--ga-fg);
	appearance: none;
	cursor: pointer;
	pointer-events: auto;
	transform: none;
	transition: none;
}
.ga-st-tag::after {
	content: '';
	position: absolute;
	inset: 100% 0 auto;
	height: var(--ga-depth, 7px);
	background: var(--ga-shade);
	clip-path: polygon(0 0, 100% 0, 100% 100%);
	transform: scaleX(var(--ga-mirror));
	pointer-events: none;
}
.ga-st-tag svg { width: var(--ga-icon); height: var(--ga-icon); display: block; }
.ga-side-tags button.ga-st-tag:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: -5px;
}
@media (max-width: 767px) {
	#ga-side-tags {
		--ga-size: var(--ga-m-size, 48px);
		--ga-icon: var(--ga-m-icon, 26px);
		--ga-gap: var(--ga-m-gap, 10px);
		--ga-pos: var(--ga-m-top, 81%);
	}
}
@media (forced-colors: active) {
	.ga-side-tags .ga-st-tag { border: 1px solid ButtonText; background: ButtonFace; color: ButtonText; }
	.ga-side-tags button.ga-st-tag:focus-visible { outline-color: Highlight; }
}
#ga-st-previews { display: flex; flex-wrap: wrap; gap: 18px; }
#ga-st-previews figure { margin: 0; }
#ga-st-previews figcaption { margin-bottom: .35rem; font-weight: 600; }
.ga-st-preview { position: relative; width: min(310px, 75vw); height: 268px; overflow: hidden; background: #eeeef2; border: 1px solid #a2a4aa; }
.ga-st-preview[data-ga-preview="mobile"] { width: min(215px, 72vw); height: 400px; }
.ga-st-preview .ga-side-tags { position: absolute; }
.ga-st-preview .ga-st-tag { pointer-events: none; cursor: default; }
