.skate-tracks{position:absolute;pointer-events:none;left:8%;width:84%;bottom:6%;height:8%;overflow:hidden}
.skate-tracks path{fill:none;stroke:#dfedf4;stroke-width:1.2;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:1;animation:blade-cut 24s linear infinite}
.skate-tracks path:nth-of-type(2){stroke:#b5d3e4;stroke-width:.95}
.skate-tracks g{opacity:0;fill:#e9f6ff;animation:blade-dust 24s linear infinite}
.skate-tracks:not(.running) *{animation-play-state:paused}
@keyframes blade-cut{0%{stroke-dashoffset:1;opacity:0}1%{opacity:.78}10%,20%{stroke-dashoffset:0;opacity:.65}29%,100%{stroke-dashoffset:0;opacity:0}}
@keyframes blade-dust{0%{opacity:0;transform:translate(0,0)}.55%{opacity:.8}3%,100%{opacity:0;transform:translate(-5px,-5px)}}
.winter-banner::before{content:"";position:absolute;pointer-events:none;inset:2px 0;background:url("./assets/rink-frost.svg") left bottom / 17px 70px repeat-y,url("./assets/rink-frost.svg") right top / 14px 58px repeat-y;opacity:0;clip-path:inset(0 0 100%);transition:clip-path 1.8s ease-out,opacity 1.1s ease}
.winter-banner.frost-arrived::before{clip-path:inset(0);opacity:.8}
@media(max-width:700px){.skate-tracks g:nth-of-type(even){display:none}.winter-banner::before{background-size:10px 50px,9px 42px}}
@media(prefers-reduced-motion:reduce){.skate-tracks{display:none}.winter-banner::before{transition:none}}

.cursor-flake, .drop-snowfall i {
  width: var(--size);
  height: var(--size);
  pointer-events: none;
  background: linear-gradient(125deg, white, #bcdff4);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cg stroke='white' stroke-width='1.7' fill='none'%3E%3Cpath id='a' d='M8 0v16M5.5 2L8 4l2.5-2M5.5 14L8 12l2.5 2'/%3E%3Cuse href='%23a' transform='rotate(60 8 8)'/%3E%3Cuse href='%23a' transform='rotate(120 8 8)'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
.cursor-flake { position: fixed; z-index: 100; animation: flake-settle var(--time) ease-out forwards; }
.cursor-flake.crystal { mask: none; clip-path: polygon(50% 0, 86% 48%, 50% 100%, 14% 52%); }
@keyframes flake-settle {
  from { opacity: .95; }
  to { opacity: 0; transform: translate(var(--drift),var(--fall)) rotate(64deg); }
}
.drop-snowfall {
  position: absolute; inset: 0; z-index: -1;
  overflow: hidden; pointer-events: none; container-type: size;
}
.drop-snowfall i {
  display: block; position: absolute; top: -6px;
  animation: drop-flake-fall var(--time) linear infinite paused;
}
.drop-snowfall.falling i { animation-play-state: running; }
@keyframes drop-flake-fall {
  50% { transform: translate(var(--drift),50cqh) rotate(78deg); }
  to { transform: translate(0,calc(100cqh + 12px)) rotate(152deg); }
}
@media (max-width: 700px) { .drop-snowfall i:nth-child(n+15) { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .drop-snowfall, .cursor-flake { display: none; }
}

/* A single snow layer per section keeps all decoration behind the merchandise. */
.drop-snowfall {
  background:radial-gradient(ellipse at 5% 88%,#a6d3e52e,transparent 36%),radial-gradient(ellipse at 90% 20%,#91c5e525,transparent 43%);
}
.drop-snowfall::before,.drop-snowfall::after {
  content:"";position:absolute;bottom:0;left:0;width:clamp(75px,10vw,145px);aspect-ratio:15/7;
  background:url("./assets/winter-bank.svg") left bottom/contain no-repeat;opacity:.77;
}
.drop-snowfall::after {left:auto;right:0;transform:scaleX(-1);width:clamp(54px,7vw,100px);opacity:.58}
.rink-lights .drop-snowfall {z-index:0;background:radial-gradient(ellipse at 50% 66%,#d8f3ff3d,transparent 52%),linear-gradient(0deg,#c5deeb45,transparent 7%)}
#new-drop::before {background:radial-gradient(ellipse,#96c4d82b,transparent 67%)}
@media(max-width:700px){.drop-snowfall::after{display:none}.drop-snowfall::before{width:64px}}
@media(prefers-reduced-motion:reduce){.drop-snowfall{display:block}.drop-snowfall i{animation:none;display:none}.drop-snowfall i:nth-child(6n){display:block;top:32%}.drop-snowfall i:nth-child(12n){top:74%}}
