/*
 * seasons.css - seasonal themes for every WarzoneCS front-end.
 *
 * CANONICAL COPY: warzone-web/warzone-web/wwwroot/css/seasons.css.
 * scripts/sync-seasons.ps1 copies this file and ../img/seasons/*.svg into the
 * four article sites. Edit here, then sync - never edit the copies.
 *
 * <html data-season="..."> is stamped server-side from today's date
 * (Services/SeasonCalendar.cs in warzone-web, includes/season.php on the
 * article sites). Pages skip this file entirely while the season is
 * "standard".
 *
 * 1. Palette - re-tints every brand-* Tailwind utility through the raw RGB
 *    triplet variables. Standard values live in :root (input.css /
 *    custom.css). html[...] selectors outrank the regional forks'
 *    html[data-theme] accents by source order; bare [data-season] lets a
 *    single box preview another season.
 * 2. Artwork - three empty, aria-hidden hooks in the shared layout:
 *      .wz-season-ambient > span x2  fixed ambient-background layer (z-0)
 *      .wz-season-edge               garland hanging under the sticky header
 *      .wz-season-logo               accessory on the 32 px nav logo
 *    plus .wz-season-header on that <header> itself, which keeps the
 *    garland's height (--wz-season-edge-h) free below it, and
 *    .wz-season-hero on a page's top glow section, which moves up into that
 *    space (as padding) when nothing sits between it and the header - and
 *    behind a promo banner too when one does (--wz-promo-space, promo-banner.js).
 *    Image URLs are relative (../img/seasons/) so the file works from /css/
 *    (warzone-web) and /assets/css/ (article sites) alike. The article sites
 *    cache SVGs for 6 months, so bump an image's ?v= whenever it changes.
 * 3. Motion - transform/opacity only, and none at all under
 *    prefers-reduced-motion.
 */

/* ===================================================================
   1. Palettes. Contrast-checked: 400 >= 6.8:1 on neutral-950 (text),
      600 >= 4.9:1 under white text (PlayerCountPill fill).
   =================================================================== */

html[data-season="halloween"], [data-season="halloween"] {
    --brand-400: 181 123 255;        /* #B57BFF */
    --brand-500: 155 77 255;         /* #9B4DFF */
    --brand-600: 122 46 224;         /* #7A2EE0 */
    --brand-secondary: 255 122 0;    /* pumpkin */
    --hero-glow-primary: rgb(155 77 255 / 0.22);
    --blob-1-rgb: 255 122 0;
    --blob-3-rgb: 155 77 255;
}

html[data-season="christmas"], [data-season="christmas"] {
    --brand-400: 248 113 113;        /* #F87171 */
    --brand-500: 220 38 38;          /* #DC2626 */
    --brand-600: 185 28 28;          /* #B91C1C */
    --brand-secondary: 22 163 74;    /* pine #16A34A */
    --hero-glow-primary: rgb(220 38 38 / 0.20);
    --blob-1-rgb: 22 163 74;
    --blob-3-rgb: 245 197 66;        /* gold #F5C542 */
}

html[data-season="newyear"], [data-season="newyear"] {
    --brand-400: 255 216 102;        /* #FFD866 */
    --brand-500: 245 183 0;          /* #F5B700 */
    --brand-600: 161 98 7;           /* #A16207 */
    --brand-secondary: 139 92 246;   /* midnight violet #8B5CF6 */
    --hero-glow-primary: rgb(245 183 0 / 0.18);
    --blob-1-rgb: 139 92 246;
    --blob-3-rgb: 245 183 0;
}

html[data-season="winter"], [data-season="winter"] {
    --brand-400: 125 211 252;        /* #7DD3FC */
    --brand-500: 56 189 248;         /* #38BDF8 */
    --brand-600: 3 105 161;          /* #0369A1 */
    --brand-secondary: 224 242 254;  /* frost #E0F2FE */
    --hero-glow-primary: rgb(56 189 248 / 0.18);
    --blob-1-rgb: 224 242 254;
    --blob-3-rgb: 56 189 248;
}

/* Spring green - the grass in the Easter artwork. The painted-egg hues
   (yellow, pink, lilac) are only mixed into the promo banner designs
   (promo-banner.css, section 9). */
html[data-season="easter"], [data-season="easter"] {
    --brand-400: 74 222 128;         /* #4ADE80 */
    --brand-500: 34 197 94;          /* #22C55E */
    --brand-600: 21 128 61;          /* #15803D */
    --brand-secondary: 253 224 71;   /* spring yellow #FDE047 */
    --hero-glow-primary: rgb(34 197 94 / 0.18);
    --blob-1-rgb: 253 224 71;
    --blob-3-rgb: 110 231 183;       /* mint #6EE7B7 */
}

/* Cherry blossom, with fresh leaf green in the first glow. */
html[data-season="spring"], [data-season="spring"] {
    --brand-400: 249 168 212;        /* #F9A8D4 */
    --brand-500: 244 114 182;        /* #F472B6 */
    --brand-600: 190 24 93;          /* #BE185D */
    --brand-secondary: 134 239 172;  /* fresh leaf #86EFAC */
    --hero-glow-primary: rgb(244 114 182 / 0.16);
    --blob-1-rgb: 134 239 172;
    --blob-3-rgb: 244 114 182;
}

/* Sea turquoise under a sun-yellow glow. */
html[data-season="summer"], [data-season="summer"] {
    --brand-400: 45 212 191;         /* #2DD4BF */
    --brand-500: 20 184 166;         /* #14B8A6 */
    --brand-600: 15 118 110;         /* #0F766E */
    --brand-secondary: 253 224 71;   /* sun #FDE047 */
    --hero-glow-primary: rgb(20 184 166 / 0.18);
    --blob-1-rgb: 253 224 71;
    --blob-3-rgb: 20 184 166;
}

/* Golden leaves on rust: gold text (400), burnt-orange accents (500/600) -
   two hues, so it stays apart from Standard's orange and New Year's gold. */
html[data-season="autumn"], [data-season="autumn"] {
    --brand-400: 251 191 36;         /* #FBBF24 */
    --brand-500: 234 88 12;          /* #EA580C */
    --brand-600: 194 65 12;          /* #C2410C */
    --brand-secondary: 220 38 38;    /* maple red #DC2626 */
    --hero-glow-primary: rgb(234 88 12 / 0.18);
    --blob-1-rgb: 245 158 11;        /* amber #F59E0B */
    --blob-3-rgb: 234 88 12;
}

/* A single box showing the standard look inside a seasonal page (admin
   swatches). Never <html>: there the :root / html[data-theme] values stand. */
:not(html)[data-season="standard"] {
    --brand-400: 255 150 51;         /* #FF9633 */
    --brand-500: 255 122 0;          /* #FF7A00 */
    --brand-600: 229 106 0;          /* #E56A00 */
}

/* ===================================================================
   2. Hook geometry. Every hook is empty until a season below paints it.
   =================================================================== */

.wz-season-ambient {
    position: absolute;
    inset: 0;
}

.wz-season-ambient > span {
    position: absolute;
    display: block;
}

.wz-season-ambient::before,
.wz-season-ambient::after,
.wz-season-ambient > span::before,
.wz-season-ambient > span::after,
.wz-season-edge::before,
.wz-season-edge::after {
    position: absolute;
    pointer-events: none;
}

/* Hangs from the bottom edge of the sticky header, so it follows on scroll. */
.wz-season-edge {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    pointer-events: none;
}

/* The header keeps the garland's height free below it, so the promo banner -
   or the page itself - starts under the garland instead of behind it. Once the
   page scrolls, the garland rides over the content with the sticky header. */
.wz-season-header {
    margin-bottom: var(--wz-season-edge-h, 0px);
}

/* A top hero with a glow (.wz-season-hero on its <section>, which has no padding
   of its own) that sits right under the header - no promo banner between them,
   or one dismissed on this page - moves up into that free space and takes it as
   top padding instead: the glow starts at the navbar, the text under the garland. */
.wz-season-header + main > .wz-season-hero,
.wz-season-header + [data-wz-promo][hidden] ~ main > .wz-season-hero {
    margin-top: calc(-1 * var(--wz-season-edge-h, 0px));
    padding-top: var(--wz-season-edge-h, 0px);
}

/* With a promo banner between them, the hero reaches up behind the banner as well: --wz-promo-space is the
   space the banner takes under the navbar, garland gap included (promo-banner.js measures it, whatever the
   design or how the banner wraps), and the banner draws above the hero. So the glow always starts at the
   navbar and the text stays under the banner. Until the script has measured, the hero starts under the banner. */
.wz-season-header + [data-wz-promo]:not([hidden]) {
    z-index: 1;
}

.wz-season-header + [data-wz-promo]:not([hidden]) ~ main > .wz-season-hero {
    margin-top: calc(-1 * var(--wz-promo-space, 0px));
    padding-top: var(--wz-promo-space, 0px);
}

/* Garland heights, read by the garlands below and by .wz-season-header.
   Seasons without one (Halloween, Standard) leave the gap at 0. */
html[data-season="christmas"] { --wz-season-edge-h: 26px; }
html[data-season="newyear"] { --wz-season-edge-h: 18px; }
html[data-season="winter"] { --wz-season-edge-h: 28px; }
html[data-season="easter"] { --wz-season-edge-h: 24px; }
html[data-season="spring"] { --wz-season-edge-h: 22px; }
html[data-season="summer"] { --wz-season-edge-h: 16px; }
html[data-season="autumn"] { --wz-season-edge-h: 26px; }

/* Sits on the logo; z-index keeps it above the logo's hover rotation. */
.wz-season-logo {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    background: no-repeat center / contain;
    transform: rotate(var(--wz-hat-rot, 0deg)) scale(var(--wz-hat-scale, 1));
    transition: transform 0.25s ease-out;
}

a:hover > .wz-season-logo {
    transform: rotate(calc(var(--wz-hat-rot, 0deg) - 8deg)) translateY(-2px) scale(var(--wz-hat-scale, 1));
}

/* Regional forks show a text wordmark instead of the logo image: shrink the
   accessory toward its brim so it sits on the first letter. */
.wz-season-logo--text {
    --wz-hat-scale: 0.72;
    margin-top: -2px;
    transform-origin: 50% 100%;
}

/* Header height (h-16) - corner art starts below the sticky bar. */
:root {
    --wz-season-top: 64px;
}

/* ===================================================================
   3. Seasons
   =================================================================== */

/* ---------- Halloween: cobweb, dangling spider, bats over a moon, fog -- */

[data-season="halloween"] .wz-season-ambient > span:nth-child(1) {
    inset: 0;
}

[data-season="halloween"] .wz-season-ambient > span:nth-child(1)::before {
    content: "";
    top: var(--wz-season-top);
    left: 0;
    width: min(300px, 55vw);
    height: min(300px, 55vw);
    background: url("../img/seasons/cobweb.svg?v=1") no-repeat 0 0 / contain;
    opacity: 0.45;
}

/* The spider's thread runs up behind the header, so it never detaches. */
[data-season="halloween"] .wz-season-ambient > span:nth-child(1)::after {
    content: "";
    top: calc(var(--wz-season-top) - 48px);
    left: 23%;
    width: 44px;
    height: 120px;
    background: url("../img/seasons/spider.svg?v=1") no-repeat 0 0 / contain;
    opacity: 0.8;
    animation: wz-dangle 11s ease-in-out infinite;
}

[data-season="halloween"] .wz-season-ambient > span:nth-child(2) {
    top: calc(var(--wz-season-top) + 8px);
    right: 2%;
    width: min(440px, 70vw);
    aspect-ratio: 440 / 260;
    background: url("../img/seasons/bats.svg?v=1") no-repeat 0 0 / contain;
    opacity: 0.7;
    animation: wz-hover 6s ease-in-out infinite;
}

[data-season="halloween"] .wz-season-ambient::before {
    content: "";
    left: 0;
    right: 0;
    bottom: 0;
    height: 45vh;
    background: radial-gradient(ellipse 75% 100% at 50% 100%, rgb(155 77 255 / 0.14), transparent 70%);
    animation: wz-breathe 9s ease-in-out infinite alternate;
}

[data-season="halloween"] .wz-season-logo {
    --wz-hat-rot: -14deg;
    width: 32px;
    height: 27px;
    left: -12px;
    top: -17px;
    background-image: url("../img/seasons/hat-witch.svg?v=1");
}

/* ---------- Christmas: two-layer snowflake fall, string lights ------------ */

[data-season="christmas"] .wz-season-ambient > span:nth-child(1),
[data-season="winter"] .wz-season-ambient > span:nth-child(1) {
    top: -320px;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("../img/seasons/snowflakes-far.svg?v=1") repeat 0 0 / 640px 320px;
    opacity: 0.45;
    animation: wz-fall-320 28s linear infinite;
}

[data-season="christmas"] .wz-season-ambient > span:nth-child(2),
[data-season="winter"] .wz-season-ambient > span:nth-child(2) {
    top: -480px;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("../img/seasons/snowflakes-near.svg?v=1") repeat 0 0 / 960px 480px;
    opacity: 0.4;
    animation: wz-fall-480 18s linear infinite;
}

[data-season="christmas"] .wz-season-edge {
    height: var(--wz-season-edge-h);
    background: url("../img/seasons/lights.svg?v=1") repeat-x 0 0 / 140px 26px;
}

[data-season="christmas"] .wz-season-edge::before,
[data-season="christmas"] .wz-season-edge::after {
    content: "";
    inset: 0;
    background: url("../img/seasons/lights-glow-a.svg?v=1") repeat-x 0 0 / 140px 26px;
    animation: wz-twinkle 1.6s ease-in-out infinite alternate;
}

[data-season="christmas"] .wz-season-edge::after {
    background-image: url("../img/seasons/lights-glow-b.svg?v=1");
    animation-delay: -1.6s;
}

[data-season="christmas"] .wz-season-logo {
    --wz-hat-rot: -18deg;
    width: 30px;
    height: 25px;
    left: -11px;
    top: -13px;
    background-image: url("../img/seasons/hat-santa.svg?v=1");
}

/* ---------- New Year: confetti, firework bursts, sparkle line ----------- */

[data-season="newyear"] .wz-season-ambient > span:nth-child(1) {
    top: -480px;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("../img/seasons/confetti.svg?v=1") repeat 0 0 / 960px 480px;
    opacity: 0.55;
    animation: wz-fall-480 34s linear infinite;
}

[data-season="newyear"] .wz-season-ambient > span:nth-child(2) {
    inset: 0;
}

[data-season="newyear"] .wz-season-ambient > span:nth-child(2)::before,
[data-season="newyear"] .wz-season-ambient > span:nth-child(2)::after {
    content: "";
    background: url("../img/seasons/firework-gold.svg?v=1") no-repeat center / contain;
    opacity: 0.45;
    animation: wz-burst 6.5s ease-out infinite;
}

[data-season="newyear"] .wz-season-ambient > span:nth-child(2)::before {
    top: calc(var(--wz-season-top) + 2%);
    left: 1%;
    width: min(210px, 40vw);
    aspect-ratio: 1;
}

[data-season="newyear"] .wz-season-ambient > span:nth-child(2)::after {
    top: 42%;
    right: 6%;
    width: min(200px, 40vw);
    aspect-ratio: 1;
    background-image: url("../img/seasons/firework-violet.svg?v=1");
    animation-delay: -3.25s;
}

[data-season="newyear"] .wz-season-edge {
    height: var(--wz-season-edge-h);
}

[data-season="newyear"] .wz-season-edge::before,
[data-season="newyear"] .wz-season-edge::after {
    content: "";
    inset: 0;
    background: url("../img/seasons/sparkles-a.svg?v=1") repeat-x 0 0 / 180px 18px;
    animation: wz-twinkle 2.2s ease-in-out infinite alternate;
}

[data-season="newyear"] .wz-season-edge::after {
    background-image: url("../img/seasons/sparkles-b.svg?v=1");
    animation-delay: -2.2s;
}

[data-season="newyear"] .wz-season-logo {
    --wz-hat-rot: -16deg;
    width: 20px;
    height: 22px;
    left: -6px;
    top: -17px;
    background-image: url("../img/seasons/hat-party.svg?v=1");
}

/* ---------- Winter: Christmas's snowflake fall, frosted corners, icicles - */

[data-season="winter"] .wz-season-ambient::before,
[data-season="winter"] .wz-season-ambient::after {
    content: "";
    width: min(340px, 60vw);
    aspect-ratio: 1;
    background: url("../img/seasons/frost-corner.svg?v=1") no-repeat 0 0 / contain;
    opacity: 0.85;
}

[data-season="winter"] .wz-season-ambient::before {
    top: var(--wz-season-top);
    left: 0;
}

[data-season="winter"] .wz-season-ambient::after {
    right: 0;
    bottom: 0;
    transform: rotate(180deg);
}

[data-season="winter"] .wz-season-edge {
    height: var(--wz-season-edge-h);
    background: url("../img/seasons/icicles.svg?v=1") repeat-x 0 0 / 160px 28px;
}

[data-season="winter"] .wz-season-logo {
    width: 38px;
    height: 17px;
    left: -3px;
    top: -7px;
    background-image: url("../img/seasons/snow-cap.svg?v=1");
}

/* ---------- Easter: flower meadow, painted eggs, bunting ----------------- */

[data-season="easter"] .wz-season-ambient > span:nth-child(1) {
    left: 0;
    right: 0;
    bottom: 0;
    height: 56px;
    background: url("../img/seasons/flowers.svg?v=1") repeat-x 0 100% / 240px 56px;
    opacity: 0.45;
}

[data-season="easter"] .wz-season-ambient > span:nth-child(2) {
    left: 2%;
    bottom: 0;
    width: min(300px, 50vw);
    aspect-ratio: 300 / 190;
    background: url("../img/seasons/eggs.svg?v=1") no-repeat 0 100% / contain;
    opacity: 0.75;
}

[data-season="easter"] .wz-season-edge {
    height: var(--wz-season-edge-h);
    background: url("../img/seasons/bunting.svg?v=1") repeat-x 0 0 / 112px 24px;
}

[data-season="easter"] .wz-season-logo {
    width: 24px;
    height: 24px;
    left: 4px;
    top: -17px;
    background-image: url("../img/seasons/bunny-ears.svg?v=1");
}

/* ---------- Spring: wind-blown blossom petals, a cherry branch, blossom garland */

[data-season="spring"] .wz-season-ambient::before {
    content: "";
    top: var(--wz-season-top);
    left: 0;
    width: min(360px, 60vw);
    aspect-ratio: 360 / 240;
    background: url("../img/seasons/blossom-branch.svg?v=1") no-repeat 0 0 / contain;
    opacity: 0.6;
}

/* Each layer drifts one tile left and one tile down per loop (see wz-drift-*),
   so it extends a tile past the right and top edges. */
[data-season="spring"] .wz-season-ambient > span:nth-child(1) {
    top: -640px;
    left: 0;
    right: -320px;
    bottom: 0;
    background: url("../img/seasons/petals-far.svg?v=1") repeat 0 0 / 320px 640px;
    opacity: 0.6;
    animation: wz-drift-320x640 40s linear infinite;
}

[data-season="spring"] .wz-season-ambient > span:nth-child(2) {
    top: -800px;
    left: 0;
    right: -400px;
    bottom: 0;
    background: url("../img/seasons/petals-near.svg?v=1") repeat 0 0 / 400px 800px;
    opacity: 0.55;
    animation: wz-drift-400x800 30s linear infinite;
}

[data-season="spring"] .wz-season-edge {
    height: var(--wz-season-edge-h);
    background: url("../img/seasons/blossom-garland.svg?v=1") repeat-x 0 0 / 120px 22px;
}

[data-season="spring"] .wz-season-logo {
    --wz-hat-rot: -12deg;
    width: 20px;
    height: 20px;
    left: -8px;
    top: -9px;
    background-image: url("../img/seasons/blossom.svg?v=1");
}

/* ---------- Summer: the sun in the corner, gulls, rolling waves, beach awning */

[data-season="summer"] .wz-season-ambient > span:nth-child(1) {
    inset: 0;
}

/* Sits under the first glow blob (sun yellow); its rays turn slowly. */
[data-season="summer"] .wz-season-ambient > span:nth-child(1)::before {
    content: "";
    top: calc(var(--wz-season-top) - 150px);
    left: -130px;
    width: 380px;
    height: 380px;
    background: url("../img/seasons/sun.svg?v=1") no-repeat center / contain;
    opacity: 0.75;
    animation: wz-spin 140s linear infinite;
}

[data-season="summer"] .wz-season-ambient > span:nth-child(1)::after {
    content: "";
    top: calc(var(--wz-season-top) + 28px);
    right: 4%;
    width: min(240px, 50vw);
    aspect-ratio: 240 / 120;
    background: url("../img/seasons/gulls.svg?v=1") no-repeat 0 0 / contain;
    opacity: 0.55;
    animation: wz-hover 7s ease-in-out infinite;
}

/* One tile wider than the screen on the left, rolling right a tile per loop. */
[data-season="summer"] .wz-season-ambient > span:nth-child(2) {
    left: -240px;
    right: 0;
    bottom: 0;
    height: 56px;
    background: url("../img/seasons/waves.svg?v=1") repeat-x 0 100% / 240px 56px;
    opacity: 0.55;
    animation: wz-roll-240 16s linear infinite;
}

[data-season="summer"] .wz-season-edge {
    height: var(--wz-season-edge-h);
    background: url("../img/seasons/awning.svg?v=1") repeat-x 0 0 / 48px 16px;
}

[data-season="summer"] .wz-season-logo {
    --wz-hat-rot: -14deg;
    width: 32px;
    height: 27px;
    left: -12px;
    top: -15px;
    background-image: url("../img/seasons/hat-straw.svg?v=1");
}

/* ---------- Autumn: falling leaves, leaf piles, a leaf garland --------------- */

[data-season="autumn"] .wz-season-ambient::before,
[data-season="autumn"] .wz-season-ambient::after {
    content: "";
    bottom: 0;
    aspect-ratio: 320 / 120;
    background: url("../img/seasons/leaf-pile.svg?v=1") no-repeat 0 100% / contain;
    opacity: 0.7;
}

[data-season="autumn"] .wz-season-ambient::before {
    left: 1%;
    width: min(320px, 50vw);
}

[data-season="autumn"] .wz-season-ambient::after {
    right: 2%;
    width: min(220px, 36vw);
    transform: scaleX(-1);
}

[data-season="autumn"] .wz-season-ambient > span:nth-child(1) {
    top: -720px;
    left: 0;
    right: -360px;
    bottom: 0;
    background: url("../img/seasons/leaves-far.svg?v=1") repeat 0 0 / 360px 720px;
    opacity: 0.6;
    animation: wz-drift-360x720 44s linear infinite;
}

[data-season="autumn"] .wz-season-ambient > span:nth-child(2) {
    top: -880px;
    left: 0;
    right: -440px;
    bottom: 0;
    background: url("../img/seasons/leaves-near.svg?v=1") repeat 0 0 / 440px 880px;
    opacity: 0.55;
    animation: wz-drift-440x880 32s linear infinite;
}

[data-season="autumn"] .wz-season-edge {
    height: var(--wz-season-edge-h);
    background: url("../img/seasons/leaf-garland.svg?v=1") repeat-x 0 0 / 140px 26px;
}

[data-season="autumn"] .wz-season-logo {
    --wz-hat-rot: -18deg;
    width: 20px;
    height: 20px;
    left: -8px;
    top: -9px;
    background-image: url("../img/seasons/maple-leaf.svg?v=1");
}

/* ===================================================================
   4. Motion
   =================================================================== */

/* Each fall distance equals the tile height, so the loop is seamless. */
@keyframes wz-fall-320 { to { transform: translate3d(0, 320px, 0); } }
@keyframes wz-fall-480 { to { transform: translate3d(0, 480px, 0); } }

/* Wind-blown fall: one tile left and one tile down, seamless too. */
@keyframes wz-drift-320x640 { to { transform: translate3d(-320px, 640px, 0); } }
@keyframes wz-drift-400x800 { to { transform: translate3d(-400px, 800px, 0); } }
@keyframes wz-drift-360x720 { to { transform: translate3d(-360px, 720px, 0); } }
@keyframes wz-drift-440x880 { to { transform: translate3d(-440px, 880px, 0); } }

/* Waves roll one tile to the right. */
@keyframes wz-roll-240 { to { transform: translate3d(240px, 0, 0); } }

@keyframes wz-spin { to { transform: rotate(1turn); } }

@keyframes wz-twinkle {
    from { opacity: 0.15; }
    to   { opacity: 0.95; }
}

@keyframes wz-hover {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

@keyframes wz-dangle {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(48px); }
}

@keyframes wz-breathe {
    from { opacity: 0.55; }
    to   { opacity: 1; }
}

@keyframes wz-burst {
    0%   { opacity: 0;    transform: scale(0.25); }
    8%   { opacity: 0.75; }
    35%  { opacity: 0.6;  transform: scale(1); }
    60%  { opacity: 0;    transform: scale(1.06); }
    100% { opacity: 0;    transform: scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
    .wz-season-ambient::before,
    .wz-season-ambient::after,
    .wz-season-ambient > span,
    .wz-season-ambient > span::before,
    .wz-season-ambient > span::after,
    .wz-season-edge::before,
    .wz-season-edge::after {
        animation: none !important;
    }

    .wz-season-logo {
        transition: none;
    }
}

@media print {
    .wz-season-ambient,
    .wz-season-edge,
    .wz-season-logo {
        display: none !important;
    }
}
