/* LIVING ICE — слои эффекта заморозки (см. frost.js) */
.fly{position:relative}
.hero{overflow-x:clip}
.frost-fx{position:absolute;left:-30%;top:-30%;width:160%;height:160%;pointer-events:none;z-index:2}
.hero>.frost-bg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1}
@media (prefers-reduced-motion:reduce){.frost-fx{transition:none}}
.hero>.frost-tone,.hero>.frost-bloom{position:absolute;inset:0;pointer-events:none;z-index:1;opacity:0;will-change:opacity}
.frost-tone{background:radial-gradient(circle at var(--fx-x,50%) var(--fx-y,30%),rgba(62,92,132,.32) 0,rgba(62,92,132,.16) 28%,rgba(62,92,132,.05) 55%,rgba(62,92,132,0) 80%)}
html.is-dark .frost-tone{background:radial-gradient(circle at var(--fx-x,50%) var(--fx-y,30%),rgba(130,180,240,.18) 0,rgba(130,180,240,.07) 35%,rgba(130,180,240,0) 70%)}
.frost-bloom{background:radial-gradient(circle at var(--fx-x,50%) var(--fx-y,30%),rgba(255,255,255,.75) 0,rgba(235,246,255,.35) 25%,rgba(235,246,255,0) 60%)}
html.is-dark .frost-bloom{background:radial-gradient(circle at var(--fx-x,50%) var(--fx-y,30%),rgba(220,238,255,.4) 0,rgba(200,228,255,.15) 25%,rgba(200,228,255,0) 55%)}
@media (prefers-color-scheme:dark){html:not(.is-light) .frost-tone{background:radial-gradient(circle at var(--fx-x,50%) var(--fx-y,30%),rgba(130,180,240,.18) 0,rgba(130,180,240,.07) 35%,rgba(130,180,240,0) 70%)}}
/* начали листать — все слои эффекта и падающий снег плавно гаснут и замирают */
.frost-fx,.hero>.frost-bg,.hero>.snow{transition:opacity .35s ease}
.hero>.frost-tone,.hero>.frost-bloom{transition:opacity .35s ease}
.hero.fx-idle .frost-fx,.hero.fx-idle>.frost-bg,.hero.fx-idle>.frost-tone,.hero.fx-idle>.frost-bloom,.hero.fx-idle>.snow{opacity:0!important}
.hero.fx-idle>.snow i{animation-play-state:paused}
