.w-snow-garland[aria-hidden="true"] {
  position: relative;
  top: 20px;
  display: flex;
  width: 100%;
  height: 100px;
  overflow: hidden;
  background: url(snow-fir.webp) repeat-x left top / 373px 116px;
  pointer-events: none;
}

.w-snow-garland__tile {
  position: relative;
  flex: 0 0 373px;
  height: 100%;
}

.w-snow-garland__ball {
  position: absolute;
  left: calc(var(--x) - var(--d) / 2);
  top: var(--top);
  width: var(--d);
  height: calc(var(--d) * 1.25);
}

.w-snow-garland__ball::before {
  position: absolute;
  bottom: calc(100% - 2px);
  left: 50%;
  width: 1px;
  height: calc(var(--top) + 2px);
  background: #d7c6a2;
  box-shadow: 1px 0 #193928;
  content: "";
}

.w-snow-garland__ball img {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transform-origin: 50% 0;
}

@media (hover: hover) and (pointer: fine) {
  .w-snow-garland__ball {
    pointer-events: auto;
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .w-snow-garland__ball img {
    transition: transform 280ms ease-in-out;
  }

  .w-snow-garland__ball:hover img {
    transform: rotate(7deg);
  }
}



@media (any-pointer: coarse) and (prefers-reduced-motion: no-preference) {
  .w-snow-garland__ball {
    pointer-events: auto;
    touch-action: manipulation;
  }
}
