/* Fixed snowfall never inherits page scroll locks or modal transitions. */
#nysnow-stable,#nysnow-fallback {
  position: fixed;
  left: 0;
  top: 0;
  right: auto;
  bottom: auto;
  width: 100vw;
  height: 100vh;
  height: 100lvh;
  z-index: -1;
  pointer-events: none;
  user-select: none;
  contain: strict;
}
body::before,body::after { display: none !important; }
#nysnow-fallback {
  right: auto;
  bottom: auto;
  width: 100vw;
  height: 100vh;
  height: 100lvh;
}
#nysnow-fallback { overflow: hidden; }
#nysnow-fallback i {
  position: absolute;
  top: -18px;
  width: var(--snow-size);
  height: var(--snow-size);
  border-radius: 50%;
  background: #f5f8ff;
  opacity: var(--snow-opacity);
  animation: stable-snow-fall var(--snow-duration) linear var(--snow-delay) infinite;
}
#nysnow-fallback .snow-crystal {
  background: none;
  color: #fff;
  font: normal var(--snow-size)/1 system-ui,sans-serif;
}
#nysnow-fallback[data-quality="light"] i:nth-child(n+27),
#nysnow-fallback[data-quality="balanced"] i:nth-child(n+41) {
  visibility: hidden;
}
#nysnow-fallback.snow-paused i { animation-play-state: paused; }
@keyframes stable-snow-fall {
  to { transform: translate3d(var(--snow-drift),calc(100vh + 36px),0) rotate(75deg);
       transform: translate3d(var(--snow-drift),calc(100lvh + 36px),0) rotate(75deg); }
}
html.asb-modal-open .asb-brand *,
html[data-asb-quality="light"] .asb-brand *,
html[data-asb-quality="light"] .mc-art,
html[data-asb-quality="light"] .mc-emotion,
html[data-asb-quality="light"] .tk-date {
  animation: none !important;
  transition: none !important;
}
html.asb-modal-open [data-asb-click-fx] { visibility: hidden; }
html body main .ms,
html body dialog .ms,
html body .ms-pop,
html body .ms-pop * {
  -webkit-user-select: text !important;
  user-select: text !important;
  -webkit-touch-callout: default !important;
}
html body span.ms.ms.ms {
  -webkit-user-select: text !important;
  user-select: text !important;
  -webkit-touch-callout: default !important;
  touch-action: auto;
}
body { isolation: isolate; }
html.asb-modal-open .mc-art,
html.asb-modal-open .mc-emotion,
html.asb-modal-open .tk-date,
html.asb-modal-open .myapp-state .ei-wait {
  animation: none !important;
}
