/* Decorative frost only: native cursor, focus indicators and hit targets remain intact. */
#ice-snow {
  position: fixed;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  z-index: 9;
  pointer-events: none;
  user-select: none;
  mix-blend-mode: screen;
  contain: strict;
}
#ice-snow[hidden] { display: none !important; }
.hero #ice-snow { position: absolute; }
.ice-cursor-frost {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: 34px;
  height: 34px;
  border: 1px solid rgb(181 233 255 / 30%);
  border-radius: 50%;
  background: radial-gradient(circle, transparent 45%, rgb(164 228 250 / 7%) 65%, transparent 74%);
  box-shadow: 0 0 14px rgb(140 219 255 / 13%), inset 0 0 8px rgb(173 227 255 / 8%);
  opacity: 0;
  pointer-events: none;
  user-select: none;
  mix-blend-mode: screen;
  will-change: transform;
  contain: layout style;
}
.ice-cursor-frost::before,
.ice-cursor-frost::after {
  content: '';
  position: absolute;
  background: rgb(213 248 255 / 72%);
  box-shadow: 0 0 5px rgb(144 228 255 / 50%);
  pointer-events: none;
}
.ice-cursor-frost::before { width: 3px; height: 3px; top: -2px; left: 15px; transform: rotate(45deg); }
.ice-cursor-frost::after { width: 2px; height: 2px; right: 1px; bottom: 4px; transform: rotate(45deg); }
html[data-ice-effects='on'] .ice-cursor-frost.is-visible { opacity: 1; }
#effects-toggle { touch-action: manipulation; }
#effects-toggle:focus-visible { outline: 2px solid #bbecff; outline-offset: 5px; }
@media (hover: none), (pointer: coarse) {
  .ice-cursor-frost { display: none; }
}
@media print {
  #ice-snow, .ice-cursor-frost, #effects-toggle { display: none !important; }
}
