/* ============================================================
   SEASON: WINTER (site build 2026-11-03)

   Loaded last on every page, and the only file that knows what season it is.
   The pages draw every pink from var(--pink) (their pink literals were turned
   into it for this), so a season is new colours here plus two pictures:
   img/season-bg.jpg (the hero) and img/season-bg-2.jpg (the bands).

   TO CHANGE SEASON: replace this file and the pictures.
   TO GO BACK TO PLAIN PINK: empty this file. (The home page's in-game shot
   is the plain title-screen.jpg again this season.)

   Same violet as the launcher's season.css and the client's Season.java.
   ============================================================ */
:root{
  /* page styles (index, store, account) */
  --pink:#F63FFF; --pink-2:#F27FFF; --pink-deep:#9312B3;
  --bg:#050826; --bg-2:#0A0E2C; --panel:#0E1334; --panel-2:#141A40;
  --line:#222A5C; --line-2:#34407E;
  /* the launcher replica on the home page */
  --l-pink:#F63FFF; --l-void:#050826; --l-panel:#0A0E30; --l-panel2:#10153A;
  --l-raise:#161C46; --l-line:#222A5C; --l-line2:#34407E;
  /* assets/style.css (patch notes, terms) */
  --pink-hi:#F27FFF; --void:#050826;
}
body{background-color:var(--bg, #050826)}

/* The backgrounds: the winter castle instead of the pink scene. */
.hero .bg, .phead .bg{background-image:url("img/season-bg.jpg")}
.band .bg{background-image:url("img/season-bg-2.jpg")}

/* The pink art, turned to match without new copies of every file. */
img[src$="logo.png"], img[src$="mark.png"], img[src$="wordmark.png"], img[src$="pony.png"]{
  filter:hue-rotate(-30deg);
}
/* ...keeping the glows those already had (these rules beat the one above). */
.hero .wm{filter:hue-rotate(-30deg) drop-shadow(0 10px 40px color-mix(in srgb,var(--pink) 33%,transparent))}
.lhero.running .art{filter:hue-rotate(-30deg) drop-shadow(0 0 30px color-mix(in srgb,var(--pink) 47%,transparent))}
.band img.mk, .gate .mk{filter:hue-rotate(-30deg) drop-shadow(0 8px 30px color-mix(in srgb,var(--pink) 47%,transparent))}
.pfig .cp img{filter:brightness(0) invert(1)}

/* The fitting room (store, account): stand the model in the winter night
   instead of the plain pink glow, dimmed so the skin and cape stay the subject. */
.fit .stage, .you .stage, aside .stage{background:
  radial-gradient(40% 50% at 50% 50%, #050826E0, #050826A6 50%, transparent 82%),
  radial-gradient(55% 22% at 50% 96%, color-mix(in srgb,var(--pink) 22%,transparent), transparent 70%),
  linear-gradient(180deg, #05082666, #05082699 60%, #050826F0),
  url("img/season-bg-2.jpg") center 58%/cover, var(--bg-2)}

/* SNOW over the big pictures (the hero and the page headers), under the text.
   Off for anybody who asked their system for less motion. */
.hero::after, .phead::before{
  content:""; position:absolute; inset:0; pointer-events:none; z-index:1; opacity:.75;
  background-image:
    radial-gradient(2px 2px at 24px 38px,#FFFFFFD0 50%,transparent 51%),
    radial-gradient(2px 2px at 140px 90px,#E8F0FFB0 50%,transparent 51%),
    radial-gradient(3px 3px at 80px 160px,#FFFFFF90 50%,transparent 51%),
    radial-gradient(2px 2px at 190px 200px,#DDE8FFA0 50%,transparent 51%),
    radial-gradient(3px 3px at 60px 60px,#FFFFFF70 50%,transparent 51%),
    radial-gradient(4px 4px at 250px 280px,#FFFFFF60 50%,transparent 51%),
    radial-gradient(4px 4px at 120px 330px,#E8F0FF50 50%,transparent 51%);
  background-size:220px 220px,220px 220px,220px 220px,220px 220px,340px 340px,340px 340px,480px 480px;
  animation:pp-snow 24s linear infinite;
}
@keyframes pp-snow{
  to{background-position:20px 220px,20px 220px,20px 220px,20px 220px,-40px 340px,-40px 340px,30px 480px}
}
/* The page headers already use ::after for their shade, so their snow is ::before, under it. */
.phead::before{z-index:-1}
@media (prefers-reduced-motion: reduce){ .hero::after, .phead::before{animation:none} }
