/* Blue Lightning consent banner. Uses the theme's colours when they are there, with fallbacks. */
.bl-consent{
	--bc-necessary:var(--link,#AD94FF);--bc-analytics:#5CD3F2;--bc-marketing:#F5B748;
	--bc-mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
	position:fixed;inset:auto 0 0 0;z-index:100000;display:flex;justify-content:center;padding:12px;pointer-events:none;
	font-family:var(--font-text,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif);color:var(--text,#F7F3FF)
}
.bl-consent[hidden]{display:none}
.bl-consent__panel{
	pointer-events:auto;width:100%;max-width:760px;overflow:hidden;border-radius:14px;
	border:1px solid rgba(173,148,255,.22);background:rgba(10,6,36,.96);
	box-shadow:0 24px 80px -20px rgba(0,0,0,.9),0 0 0 1px rgba(65,12,250,.15);
	-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);
	animation:bl-consent-rise .62s cubic-bezier(.2,0,0,1) both
}
.bl-consent.is-leaving .bl-consent__panel{animation:bl-consent-fall .78s cubic-bezier(.3,0,.8,.15) both}
@keyframes bl-consent-rise{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
@keyframes bl-consent-fall{0%,45%{opacity:1;transform:none}to{opacity:0;transform:translateY(28px)}}

/* The lanes */
.bl-consent__lanes{height:168px;background:#05031A;border-bottom:1px solid rgba(173,148,255,.12)}
.bl-consent__lanes svg{display:block;width:100%;height:100%}
.bl-consent__lanes text{font-family:var(--bc-mono);font-size:9.5px;letter-spacing:1.3px}
.bl-consent__lanes .t-dim{fill:rgba(247,243,255,.4)}
.bl-consent__lanes .t-lane{fill:rgba(247,243,255,.6)}
.bl-lane line{stroke-width:1;stroke-opacity:.18;transition:stroke-opacity .5s}
.bl-lane.is-open line{stroke-opacity:.38}
.bl-lane--necessary line,.bl-lane--necessary circle{stroke:var(--bc-necessary);fill:var(--bc-necessary)}
.bl-lane--analytics line,.bl-lane--analytics .mote,.bl-lane--analytics .m-still,.bl-lane--analytics .sh{stroke:var(--bc-analytics);fill:var(--bc-analytics)}
.bl-lane--marketing line,.bl-lane--marketing .mote,.bl-lane--marketing .m-still,.bl-lane--marketing .sh{stroke:var(--bc-marketing);fill:var(--bc-marketing)}
.bl-lane .sh{stroke:none;opacity:.9;transition:transform .52s cubic-bezier(.2,0,0,1),opacity .52s}
.bl-lane.is-open .sh{opacity:.3}
.bl-lane.is-open .sh-top{transform:translateY(-16px)}
.bl-lane.is-open .sh-bot{transform:translateY(16px)}
.bl-lane .hit{fill:none;stroke-width:1}
.bl-lane--analytics .hit{stroke:var(--bc-analytics)}
.bl-lane--marketing .hit{stroke:var(--bc-marketing)}
.bl-lane.is-open .hit,.bl-lane.is-open .m-shut,.bl-lane:not(.is-open) .m-open{display:none}
.bl-lane .m-still{display:none}

/* Status line */
.bl-consent__status{
	margin:0;padding:12px 24px;background:#05031A;border-bottom:1px solid rgba(173,148,255,.12);
	font-family:var(--bc-mono);font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;color:rgba(247,243,255,.45)
}

/* Words and controls */
.bl-consent__body{padding:16px 24px 22px}
.bl-consent h2{margin:0;font-family:var(--font-head,Montserrat,system-ui,sans-serif);font-size:16px;font-weight:700;letter-spacing:-.01em;color:var(--text,#F7F3FF);outline:none}
.bl-consent__text{margin:6px 0 0;font-size:13.5px;line-height:1.55;color:var(--muted,#B3A8D2)}
.bl-consent__toggles{display:grid;gap:6px;margin-top:14px}
.bl-consent__toggle{
	display:flex;align-items:center;gap:12px;padding:10px 14px;border-radius:8px;cursor:pointer;
	border:1px solid rgba(173,148,255,.14);background:rgba(173,148,255,.04);transition:border-color .2s,background-color .2s
}
.bl-consent__toggle:hover{border-color:rgba(173,148,255,.4);background:rgba(173,148,255,.08)}
.bl-consent__toggle input{width:15px;height:15px;margin:0;accent-color:var(--action,#410CFA)}
.bl-consent__name{font-family:var(--bc-mono);font-size:12px;color:rgba(247,243,255,.88)}
.bl-consent__dest{font-family:var(--bc-mono);font-size:11px;color:rgba(247,243,255,.38)}
.bl-consent__row{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:16px}
.bl-consent__answers{display:flex;flex-wrap:wrap;gap:10px;flex:1}
.bl-consent__btn{
	font-family:var(--bc-mono);font-size:12.5px;font-weight:500;line-height:1;padding:11px 16px;border-radius:8px;cursor:pointer;
	color:var(--text,#F7F3FF);background:rgba(247,243,255,.06);border:1px solid rgba(247,243,255,.18);
	transition:background-color .2s,border-color .2s,transform .2s
}
.bl-consent__btn:hover{background:rgba(247,243,255,.12);border-color:rgba(247,243,255,.34)}
.bl-consent__btn--save{background:var(--action,#410CFA);border-color:transparent;font-weight:700}
.bl-consent__btn--save:hover{background:#5A2BFF;border-color:transparent}
.bl-consent__btn:focus-visible,.bl-consent__toggle:focus-within,.bl-consent__more:focus-visible{outline:2px solid var(--link,#AD94FF);outline-offset:2px}
.bl-consent__btn:disabled{opacity:.5}
.bl-consent__more{font-family:var(--bc-mono);font-size:11.5px;color:rgba(247,243,255,.45);text-decoration:none;text-underline-offset:4px}
.bl-consent__more:hover{color:var(--link,#AD94FF);text-decoration:underline}

/* The footer control looks like the footer's other links */
.bl-choices{font:inherit;color:var(--link,#AD94FF);background:none;border:0;padding:0;cursor:pointer;text-decoration:underline;text-underline-offset:2px}
.bl-choices:hover{color:var(--text,#F7F3FF)}

@media (max-width:600px){
	.bl-consent{padding:8px}
	/* The drawing shrinks to its own height; its labels would be unreadable, and the toggles name the lanes. */
	.bl-consent__lanes{height:auto}
	.bl-consent__lanes svg{height:auto}
	.bl-consent__lanes text{display:none}
	.bl-consent__status{padding:10px 16px}
	.bl-consent__body{padding:14px 16px 16px}
	.bl-consent__answers{flex:1 1 100%}
	.bl-consent__btn{flex:1 1 auto;padding:12px 10px}
}
@media (prefers-reduced-motion:reduce){
	.bl-consent__panel,.bl-consent.is-leaving .bl-consent__panel{animation:none}
	.bl-lane .sh,.bl-lane line{transition:none}
	.bl-lane .m-run,.bl-lane .hit{display:none}
	.bl-lane .m-still{display:inline}
	.bl-lane.is-open .m-shut,.bl-lane:not(.is-open) .m-open{display:none}
}
