/* The falling snow (rift-snow.js), one look for every design. Layer 9999, the old snow's; only the pictures to catch and
   the count (for its hint) take the pointer, the canvas of dots lets every click through. */
.rift-snow-canvas{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:9999}
/* A picture: 6 px of empty frame around it make the 15–25 px target easier to hit with a finger. */
.rift-snow-item{position:fixed;left:0;top:0;width:var(--size);padding:6px;margin:-6px 0 0 -6px;z-index:9999;cursor:pointer;will-change:transform;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.rift-snow-item img{display:block;width:100%;height:auto;opacity:.8;filter:drop-shadow(0 0 5px rgba(100,100,255,.3));pointer-events:none;user-select:none;animation:rift-snow-turn 6s linear infinite}
/* The switch in the screen's top right corner (owner 2026-11-30): Font Awesome's snowflake on dark glass, the count a
   small number left of it (owner: «слева оставить, хорошее решение»); the hint holds the rules, a click turns the snow off (a slash across the flake). 6 px
   from the corner (owner: «по высоте хорошо же было»). Классика and Сильвания style every button, its hover and
   focus with !important, hence its own, by id to outweigh them. */
#rift-snow{position:fixed!important;top:6px!important;right:6px!important;z-index:10000!important;display:flex!important;align-items:center!important;gap:3px!important;box-sizing:border-box!important;width:auto!important;height:26px!important;min-width:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;color:#d4f9ff!important;box-shadow:none!important;font:inherit!important;text-shadow:none!important;cursor:pointer;opacity:.85}
#rift-snow:hover{opacity:1}
#rift-snow::before{content:'\f2dc';order:0;width:26px;height:26px;border-radius:50%;background:rgba(20,30,50,.72);font:900 13px/26px FontAwesome;text-align:center}
.rift-snow-count{order:-1;color:#fff;font:bold 10px/1 Verdana,Arial,sans-serif;text-shadow:0 0 2px #000,0 0 2px #000;user-select:none}
#rift-snow[aria-checked=false]{color:#aaa!important}
#rift-snow[aria-checked=false]::after{content:'';position:absolute;top:12px;right:4px;width:18px;height:2px;border-radius:1px;background:currentColor;box-shadow:0 0 0 1px rgba(20,30,50,.72);transform:rotate(-45deg)}
.rift-snow-pop{position:fixed;z-index:10000;transform:translate(-50%,-50%);color:#7defcb;font:bold 14px Verdana,Arial,sans-serif;text-shadow:0 0 3px #000;pointer-events:none;animation:rift-snow-pop .9s ease-out forwards}
.rift-snow-pop.is-bad{color:#f9c3ca}
@keyframes rift-snow-turn{to{transform:rotate(360deg)}}
@keyframes rift-snow-pop{to{opacity:0;transform:translate(-50%,-150%)}}
