#snow {
	position: fixed;
	inset: 0;
	z-index: 90;
	pointer-events: none;
}

.snow-toggle-row {
	display: flex;
	justify-content: center;
	padding: 12px 0;
}

.snow-toggle {
	display: inline-flex;
	align-items: center;
	gap: .5em;
	padding: .45em .95em;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 999px;
	background: rgba(255, 255, 255, .05);
	color: #dce8ff;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	opacity: .6;
	transition: opacity .15s, border-color .15s, background .15s;
}

.snow-toggle:hover {
	opacity: 1;
	border-color: rgba(255, 255, 255, .4);
	background: rgba(255, 255, 255, .09);
}

.snow-toggle i {
	color: #9fd0ff;
}

.snow-canvas {
	position: fixed;
	inset: 0;
	width: 100vw;
	height: 100vh;
}

.snow-shovel {
	position: fixed;
	z-index: 96;
	width: 44px;
	display: none;
	transform: translate(-36%, -78%) rotate(-14deg);
	filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .45));
	pointer-events: none;
}

.snow-digging,
.snow-digging * {
	cursor: none !important;
}

.snow-tree {
	position: fixed;
	bottom: -4px;
	width: 70px;
	opacity: .9;
	filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .45));
}

.snow-tree--left {
	left: 10px;
}

.snow-tree--right {
	right: 10px;
	transform: scaleX(-1);
}

.snow-tree__star {
	animation: snow-twinkle 2.4s ease-in-out infinite;
	transform-origin: center;
}

.snow-reindeer {
	position: fixed;
	top: 14%;
	left: 0;
	width: 200px;
	opacity: 0;
}

.snow-reindeer.is-flying {
	animation: snow-fly 13s linear;
}

@keyframes snow-fly {
	0% {
		opacity: 0;
		transform: translateX(-240px) translateY(0);
	}
	8% {
		opacity: 1;
	}
	50% {
		transform: translateX(45vw) translateY(-22px);
	}
	92% {
		opacity: 1;
	}
	100% {
		opacity: 0;
		transform: translateX(calc(100vw + 240px)) translateY(10px);
	}
}

.snow-nose {
	animation: snow-glow 1.1s ease-in-out infinite alternate;
}

@keyframes snow-glow {
	from {
		filter: drop-shadow(0 0 2px #ff4d4d);
	}
	to {
		filter: drop-shadow(0 0 7px #ff2d2d);
	}
}

.snow-lights {
	position: relative;
	display: flex;
	justify-content: space-around;
	align-items: flex-start;
	height: 16px;
	padding: 0 4vw;
	overflow: hidden;
	background: linear-gradient(rgba(0, 0, 0, .25), transparent);
}

.snow-lights::before {
	content: "";
	position: absolute;
	left: 2vw;
	right: 2vw;
	top: 2px;
	border-top: 2px dashed rgba(255, 255, 255, .15);
}

.snow-lights i {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	animation: snow-blink 1.6s ease-in-out infinite;
}

.snow-lights i:nth-child(4n+1) { background: #ff5b5b; box-shadow: 0 0 8px #ff5b5b; }
.snow-lights i:nth-child(4n+2) { background: #5bd0ff; box-shadow: 0 0 8px #5bd0ff; animation-delay: .4s; }
.snow-lights i:nth-child(4n+3) { background: #ffd95b; box-shadow: 0 0 8px #ffd95b; animation-delay: .8s; }
.snow-lights i:nth-child(4n+4) { background: #76ff8a; box-shadow: 0 0 8px #76ff8a; animation-delay: 1.2s; }

@keyframes snow-blink {
	0%, 100% { opacity: 1; }
	50% { opacity: .3; }
}

@keyframes snow-twinkle {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: .55; transform: scale(.82); }
}

@media (prefers-reduced-motion: reduce) {
	.snow-reindeer { display: none; }
	.snow-tree__star,
	.snow-lights i { animation: none; }
}
