/* Temporary winter decorations for Starbound Academy.
   Active only when seasonal-winter.js adds html.sw-on (through 8 Jan 2027).
   Remove: delete this file, assets/seasonal-winter.js, and the single include line in index.html. */
#sw-snow{
  position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0;
  max-width:100%;max-height:100%;
}
.sw-flake{
  position:absolute;top:-24px;
  color:#F4F2EC;
  -webkit-text-stroke:.55px #1F5F4A;
  paint-order:stroke fill;
  text-shadow:0 0 .4px #1F5F4A;
  font-size:13px;line-height:1;
  opacity:.62;
  pointer-events:none;
  will-change:transform,opacity;
  animation:sw-fall 24s linear infinite;
}
.sw-flake::before{content:"❄"}
.sw-flake-1{left:8%;font-size:14px;animation-duration:22s;animation-delay:-2s}
.sw-flake-2{left:22%;font-size:11px;animation-duration:27s;animation-delay:-8s}
.sw-flake-2::before{content:"❅"}
.sw-flake-3{left:36%;font-size:15px;animation-duration:23s;animation-delay:-5s}
.sw-flake-3::before{content:"❆"}
.sw-flake-4{left:51%;font-size:12px;animation-duration:28s;animation-delay:-12s}
.sw-flake-5{left:64%;font-size:13px;animation-duration:21s;animation-delay:-1s}
.sw-flake-5::before{content:"❅"}
.sw-flake-6{left:78%;font-size:11px;animation-duration:25s;animation-delay:-9s}
.sw-flake-6::before{content:"❆"}
.sw-flake-7{left:90%;font-size:14px;animation-duration:26s;animation-delay:-6s}
@keyframes sw-fall{
  0%{transform:translate3d(0,-8vh,0) rotate(0deg);opacity:0}
  10%{opacity:.62}
  50%{transform:translate3d(8px,50vh,0) rotate(18deg)}
  100%{transform:translate3d(-6px,108vh,0) rotate(-12deg);opacity:.28}
}
html.sw-on .motd{
  border-left-color:#1F5F4A;
  background:rgba(31,95,74,.06);
  overflow-wrap:anywhere;
}
@media (prefers-reduced-motion:reduce){
  #sw-snow,.sw-flake{display:none!important;animation:none!important}
}
@media (prefers-color-scheme:dark){
  html.sw-on:not([data-theme=light]) .motd{background:rgba(31,95,74,.14)}
}
html.sw-on[data-theme=dark] .motd,html.sw-on.dark .motd{background:rgba(31,95,74,.14)}
