/* RR-Snow — scoped overlay for new_year decor only */

.rr-snow-root {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	pointer-events: none;
	z-index: 999;
	display: block;
	max-width: none;
	max-height: none;
	overflow: hidden;
	contain: strict;
}

/*
 * Hit box must cover the full 106px cord+bulb at every top offset (-24 / -15 / -8 / 0).
 * Width expands leftward only; garland stays at right:40px (no overlap).
 * Cord SVG remains visually 7×106.
 * Switch stays visible on all viewports; reduced-motion does NOT hide it.
 */
.rr-snow-switch {
	position: fixed;
	top: -24px;
	right: 58px;
	z-index: 1001;
	width: 44px;
	height: 106px;
	min-height: 106px;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	cursor: pointer;
	transition: top 0.3s ease;
	pointer-events: auto;
	outline: none;
	overflow: visible;
	-webkit-tap-highlight-color: transparent;
}

.rr-snow-switch:hover {
	top: -15px;
}

.rr-snow-switch.pulled {
	top: 0;
}

.rr-snow-switch svg {
	display: block;
	width: 7px;
	height: 106px;
	flex: 0 0 auto;
	pointer-events: none;
}

.rr-snow-switch .rr-snow-switch-bulb {
	color: #cfe8ff;
	transition: color 0.3s;
}

.rr-snow-switch:hover .rr-snow-switch-bulb {
	color: #ffffff;
}

.rr-snow-switch.off .rr-snow-switch-bulb {
	color: #555;
}

.rr-snow-switch.rr-snow-switch--disabled {
	cursor: default;
	opacity: 0.55;
}

.rr-snow-switch.rr-snow-switch--disabled:hover {
	top: -24px;
}

.rr-snow-switch:focus-visible {
	top: -8px;
	box-shadow: 0 0 0 2px rgba(207, 232, 255, 0.9);
	border-radius: 4px;
}

.rr-snow-switch.rr-snow-switch--disabled:focus-visible {
	top: -24px;
	box-shadow: none;
}

@media (max-width: 767.98px) {
	.rr-snow-switch {
		right: 52px;
		width: 48px;
		height: 106px;
		min-height: 106px;
		display: flex;
	}
}

@media (max-width: 430px) {
	.rr-snow-switch {
		right: 52px;
		width: 48px;
		display: flex;
	}
}
