html.a11y-vision .ny-snow,
html.a11y-vision .ny-garland,
html.a11y-vision .header::after {
	display: none;
}

.header {
	position: relative;
}

.header::after {
	background: currentColor;
	bottom: -4px;
	color: #9eb4c4;
	content: "";
	height: 5px;
	left: 0;
	--ice: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='5' viewBox='0 0 84 5'%3E%3Cpath fill='%23000' d='M3 0l.5 2.2.5-2.2zM16 0l.35 1.4.35-1.4zM30 0l.7 3.6.7-3.6zM46 0l.4 1.8.4-1.8zM60 0l.6 2.8.6-2.8zM74 0l.35 1.6.35-1.6z'/%3E%3C/svg%3E");
	-webkit-mask: var(--ice) left / 84px 5px repeat-x;
	mask: var(--ice) left / 84px 5px repeat-x;
	opacity: calc(var(--ny-frost, 0) * .8);
	pointer-events: none;
	position: absolute;
	right: 0;
	z-index: 4;
}

.ny-snow {
	height: 100%;
	inset: 0;
	pointer-events: none;
	position: fixed;
	width: 100%;
	z-index: 40;
}

.ny-garland {
	color: #3b322b;
	height: 26px;
	left: 0;
	pointer-events: none;
	position: absolute;
	right: 0;
	top: 2px;
	z-index: 6;
}

.ny-garland__set {
	inset: 0;
	position: absolute;
}

.ny-garland__set--narrow {
	display: none;
}

.ny-garland__wire {
	display: block;
	height: 100%;
	overflow: visible;
	width: 100%;
}

.ny-garland__wire path {
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-width: 1.3;
	vector-effect: non-scaling-stroke;
}

.ny__bulb {
	--s: 11px;
	--cap: 5px;
	height: calc(var(--s) + var(--cap) - 1px);
	position: absolute;
	transform: translate(-50%, -1px);
	width: var(--s);
}

.ny__bulb::before {
	background: #2b2622;
	border-radius: 1px 1px 2px 2px;
	content: "";
	height: var(--cap);
	left: 50%;
	position: absolute;
	top: 0;
	transform: translateX(-50%);
	width: var(--cap);
	z-index: 1;
}

.ny__bulb::after {
	animation: ny-glow 3.6s ease-in-out var(--d) infinite both;
	background: currentColor;
	border-radius: 50%;
	content: "";
	height: var(--s);
	left: 0;
	position: absolute;
	top: calc(var(--cap) - 1px);
	width: var(--s);
}

.ny__bulb--p { color: #ff5cab; }
.ny__bulb--y { color: #ffd23f; }
.ny__bulb--g { color: #3dcc6a; }
.ny__bulb--b { color: #4da6ff; }

.ny-spark {
	animation: ny-spark 5.2s ease-in-out var(--d) infinite;
	background: #fff;
	border-radius: 50%;
	height: 3px;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	top: 46%;
	width: 3px;
}

.ny-spark--a { left: 22%; --d: 0s; }
.ny-spark--b { left: 51%; --d: 1.8s; }
.ny-spark--c { left: 76%; --d: 3.2s; }

@media (max-width: 700px) {
	.ny-garland { height: 14px; }
	.ny-garland__set--wide { display: none; }
	.ny-garland__set--narrow { display: block; }
	.ny__bulb { --s: 8px; --cap: 4px; }
}

@keyframes ny-spark {
	0%, 72%, 100% { opacity: 0; transform: translate(-50%, 0) scale(.4); }
	80% { opacity: 1; transform: translate(-50%, -7px) scale(1); }
	88% { opacity: 0; transform: translate(-50%, -12px) scale(.2); }
}

@keyframes ny-glow {
	0%, 62%, 100% { box-shadow: 0 0 0 0 currentColor; opacity: .34; }
	14%, 30% { box-shadow: 0 0 8px 2px currentColor; opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
	.ny__bulb::after {
		animation: none;
		box-shadow: 0 0 6px 1px currentColor;
		opacity: .9;
	}
	.ny-spark { animation: none; opacity: 0; }
}
