/* The seasonal ambiances (site 1.74.0; simplified in 1.82.0 at the owner's request) -- Halloween, Hiver, Bonne année. The calendar and the drawings are public/js/season.js and season_art.js; this file only dresses them.
   The bars of the header carry NOTHING but the hat on the M of the logo (2026-10-21, the owner: "retire tout ce qui se trouve dans les barres de menu en haut, juste laisse le style de l'icône M avec les bonnets dessus"): the cobwebs
   of Halloween in the two corners of the top bar, a little snow on the name in winter, the greeting of "Bonne année" are the only other things; the bars themselves keep the colours of the application.
   The rules that keep the application usable underneath:
   - nothing here changes the layout: the drawings live in a layer (.ssn-layer) that is positioned over the whole row, UNDER its content (z-index -1) and never catches a click or a touch;
   - everything that moves animates transform / opacity only (no layout, almost no paint) and stops for a visitor who asked for less motion;
   - what could hide a control is hidden on a narrow window (the greeting under 1000 px, the cobwebs shrink under 760 px, the scenes of the corners go under 1100 px);
   - the colours of the application (--accent...) are NOT changed. */

/* ---------- the layers ---------- */
html[data-season] .section-tabs { position: relative; z-index: 0; }   /* (z-index 0: the layer's -1 stays inside the row instead of sliding behind the whole page) */
.ssn-layer { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; user-select: none; -webkit-user-select: none; }
.ssn-layer * { pointer-events: none; }
.ssn-layer > div { position: absolute; }
.ssn-layer svg { display: block; }
.ssn-tabs { min-width: 100%; }

/* the hat on the logo: a child of the logo itself, so it follows it wherever it is */
html[data-season] .topbar .brand .logo { position: relative; overflow: visible; }
.ssn-hat { position: absolute; z-index: 2; pointer-events: none; }
.ssn-hat svg { display: block; width: 100%; height: 100%; }

/* the keyframes that are left (transform / opacity only) */
@keyframes ssn-pulse { 0%, 100% { transform: translate(-50%, -50%) scale(1); } 50% { transform: translate(-50%, -50%) scale(1.045); } }

/* ---------- the greeting of "Bonne année" (the row of the tabs) ---------- */
.ssn-greet {
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-size: 13.5px; font-weight: 800; letter-spacing: .03em; white-space: nowrap;
}
.ssn-year { font-size: 15.5px; letter-spacing: .05em; animation: ssn-pulse 3.4s ease-in-out infinite; }
html[data-season="bonneannee"] .ssn-greet { color: #ffd978; text-shadow: 0 0 12px rgba(255, 209, 102, .75), 0 0 22px rgba(143, 208, 255, .45), 0 1px 0 rgba(0, 0, 0, .5); }

/* ---------- Halloween: a cobweb in each corner of the top bar, the witch's hat on the logo ---------- */
.ssn-web-l, .ssn-web-r { top: 0; opacity: .85; }
.ssn-web-l svg, .ssn-web-r svg { width: 100%; height: 100%; }
.ssn-web-l { left: 0; width: 60px; height: 46px; }
.ssn-web-r { right: 0; width: 46px; height: 35px; transform: scaleX(-1); }   /* (small: the sign-out button is right under it) */
html[data-season="halloween"] .ssn-hat { left: -6px; top: -18px; width: 30px; height: 24px; transform: rotate(-8deg); transform-origin: 50% 100%; }

/* ---------- the winter and Bonne année: the Santa hat on the logo, a little snow on the name ---------- */
html[data-season="hiver"] .ssn-hat, html[data-season="bonneannee"] .ssn-hat { left: -7px; top: -19px; width: 34px; height: 27px; transform: rotate(-10deg); transform-origin: 50% 100%; }
/* the name MineFleet carries the caps of snow (season.js: paintNameSnow puts them on the first pixels of four letters); the name itself is not touched */
html[data-season="hiver"] .topbar .brand .brand-text, html[data-season="bonneannee"] .topbar .brand .brand-text { position: relative; }
.ssn-namesnow { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; }
.ssn-namesnow i { position: absolute; display: block; height: 3.6px; border-radius: 2.4px 2.4px 1px 1px; background: linear-gradient(180deg, #fff 0%, #dbe9fb 100%); box-shadow: 0 0 1.5px rgba(255, 255, 255, .55); }

/* ---------- the scenes in the free margins on both sides of the page (site 1.75.0; season.js places them, season_art.js draws them) ----------
   Fixed to the bottom of the window, outside the content (never over it), under every window of the application (the bars are 20, the notification panel 90, the chat 95, the windows 1000); drawn as inline SVG,
   animated with transform / opacity only. Under 1100 px there is no room for them. */
.ssn-side { position: fixed; bottom: 0; z-index: 8; pointer-events: none; user-select: none; -webkit-user-select: none; }
/* the corners: the left scene is fixed to the left edge of the window, the right one to the right edge of the VISIBLE page (a fixed box stops at the scrollbar) -- by the style sheet, not by a number the script works out, so that a
   scrollbar that comes or goes when a refresh makes the page taller or shorter never leaves the right scene a frame under it or a few pixels off */
.ssn-side-l { left: 0; }
.ssn-side-r { right: 0; }
.ssn-side[hidden] { display: none !important; }
.ssn-side * { pointer-events: none; }
.ssn-side svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ssn-sv { transform-box: fill-box; transform-origin: 50% 50%; }
.ssn-vb { transform-box: view-box; }   /* (a group that turns around a point of the picture -- a shoulder, a neck -- names it in the coordinates of the picture) */
@media (max-width: 1100px) { .ssn-side { display: none; } }

/* The snow of the whole page (the winter and Bonne année; site 1.77.0; flakes that fly since 1.83.0): ONE <canvas> over the whole window that sits BEHIND the content -- z-index -1 in the root stacking context is above the
   background of the page and under everything else, so no card and no text is ever under a flake. season.js draws it (sprites copied 30 times a second, the air and the flakes' physics are in the same file); this file only
   places it. It never catches a click, and it is not shown at all for a visitor who asked for less motion. */
.ssn-snow { position: fixed; left: 0; top: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; user-select: none; -webkit-user-select: none; }

/* The counters (site 1.83.0, the owner: "de la neige sur les compteurs, pas sur la liste des rigs ou des ASIC ... visible mais assez discret, juste jolie"): a drift of snow on the top edge of each tile of the two strips of
   counters (the farms page and the rigs of a farm: Workers, GPU, ASIC, Consommation, Hashrate) in the winter and for Bonne année -- NOT on the lists of rigs and ASICs, nor on the other tiles of the application. A picture in a
   pseudo-element, a different one for one tile in three (they are not copies): it sits on the border line (3 px above it, 6 px under it), clear of the text (a tile has 12-14 px of padding), takes no room, never catches a click
   and does not move. The tile only becomes the frame of its drift (position: relative). */
html[data-season="hiver"], html[data-season="bonneannee"] {
  --ssn-cap-a: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 15' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='0' y2='10.5'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='1' stop-color='%23dbe8f7'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='%237d9fcc' opacity='.45' transform='translate(0 1)' d='M0 4C5 1.9 11 0.7 24 0.3C60 -0.1 100 0.5 142 0.1C172 -0.2 193 1.6 200 4Q198 5.7 190 5.8A7.1 3.6 0 0 1 175.7 5.8A11.4 4.1 0 0 1 152.9 5.8A10.1 3.2 0 0 1 132.8 5.8A13.7 3 0 0 1 105.4 5.8A7.9 2.8 0 0 1 89.7 5.8A7.7 4.3 0 0 1 74.2 5.8A13.1 4.7 0 0 1 48.1 5.8A10 2.4 0 0 1 28.1 5.8A9 3 0 0 1 10 5.8Q2 5.7 0 4Z'/%3E%3Cpath fill='url(%23g)' d='M0 4C5 1.9 11 0.7 24 0.3C60 -0.1 100 0.5 142 0.1C172 -0.2 193 1.6 200 4Q198 5.7 190 5.8A7.1 3.6 0 0 1 175.7 5.8A11.4 4.1 0 0 1 152.9 5.8A10.1 3.2 0 0 1 132.8 5.8A13.7 3 0 0 1 105.4 5.8A7.9 2.8 0 0 1 89.7 5.8A7.7 4.3 0 0 1 74.2 5.8A13.1 4.7 0 0 1 48.1 5.8A10 2.4 0 0 1 28.1 5.8A9 3 0 0 1 10 5.8Q2 5.7 0 4Z'/%3E%3Cpath fill='url(%23g)' d='M47 5.2Q47 8.4 48.1 10.1Q49.2 8.4 49.2 5.2ZM104.3 5.2Q104.3 7.7 105.4 9Q106.5 7.7 106.5 5.2Z'/%3E%3C/svg%3E");
  --ssn-cap-b: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 15' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='0' y2='10.5'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='1' stop-color='%23dbe8f7'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='%237d9fcc' opacity='.45' transform='translate(0 1)' d='M0 4C5 1.9 11 0.7 24 0.6C60 0.2 100 -0.2 142 0.4C172 0.1 193 1.6 200 4Q198 5.7 190 5.8A3.3 2.3 0 0 1 183.5 5.8A9 4.1 0 0 1 165.6 5.8A9.2 2.9 0 0 1 147.2 5.8A7.7 4.5 0 0 1 131.8 5.8A9 3.6 0 0 1 113.9 5.8A8.8 4.8 0 0 1 96.3 5.8A9.2 4.3 0 0 1 77.9 5.8A13.1 4.6 0 0 1 51.8 5.8A11.8 3.7 0 0 1 28.2 5.8A9.1 3.3 0 0 1 10 5.8Q2 5.7 0 4Z'/%3E%3Cpath fill='url(%23g)' d='M0 4C5 1.9 11 0.7 24 0.6C60 0.2 100 -0.2 142 0.4C172 0.1 193 1.6 200 4Q198 5.7 190 5.8A3.3 2.3 0 0 1 183.5 5.8A9 4.1 0 0 1 165.6 5.8A9.2 2.9 0 0 1 147.2 5.8A7.7 4.5 0 0 1 131.8 5.8A9 3.6 0 0 1 113.9 5.8A8.8 4.8 0 0 1 96.3 5.8A9.2 4.3 0 0 1 77.9 5.8A13.1 4.6 0 0 1 51.8 5.8A11.8 3.7 0 0 1 28.2 5.8A9.1 3.3 0 0 1 10 5.8Q2 5.7 0 4Z'/%3E%3Cpath fill='url(%23g)' d='M27.1 5.2Q27.1 7.8 28.2 9.2Q29.3 7.8 29.3 5.2ZM95.2 5.2Q95.2 8.6 96.3 10.4Q97.4 8.6 97.4 5.2ZM130.7 5.2Q130.7 7.6 131.8 8.8Q132.9 7.6 132.9 5.2Z'/%3E%3C/svg%3E");
  --ssn-cap-c: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 15' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='0' y2='10.5'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='1' stop-color='%23dbe8f7'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='%237d9fcc' opacity='.45' transform='translate(0 1)' d='M0 4C5 1.9 11 0.7 24 0C60 0.5 100 0.1 142 -0.2C172 0.4 193 1.6 200 4Q198 5.7 190 5.8A9.6 4.7 0 0 1 170.7 5.8A10.9 4.4 0 0 1 149 5.8A13.4 2.5 0 0 1 122.1 5.8A12 2.4 0 0 1 98.2 5.8A9.8 4.3 0 0 1 78.6 5.8A9.5 3.8 0 0 1 59.6 5.8A7.4 3 0 0 1 44.9 5.8A8.3 2.3 0 0 1 28.3 5.8A9.1 4 0 0 1 10 5.8Q2 5.7 0 4Z'/%3E%3Cpath fill='url(%23g)' d='M0 4C5 1.9 11 0.7 24 0C60 0.5 100 0.1 142 -0.2C172 0.4 193 1.6 200 4Q198 5.7 190 5.8A9.6 4.7 0 0 1 170.7 5.8A10.9 4.4 0 0 1 149 5.8A13.4 2.5 0 0 1 122.1 5.8A12 2.4 0 0 1 98.2 5.8A9.8 4.3 0 0 1 78.6 5.8A9.5 3.8 0 0 1 59.6 5.8A7.4 3 0 0 1 44.9 5.8A8.3 2.3 0 0 1 28.3 5.8A9.1 4 0 0 1 10 5.8Q2 5.7 0 4Z'/%3E%3Cpath fill='url(%23g)' d='M58.5 5.2Q58.5 8.4 59.6 10.2Q60.7 8.4 60.7 5.2ZM121 5.2Q121 7.8 122.1 9.2Q123.2 7.8 123.2 5.2Z'/%3E%3C/svg%3E");
}
html[data-season="hiver"] #farms-stats-strip .stat-card,
html[data-season="hiver"] #rigs-stats-strip .stat-card,
html[data-season="bonneannee"] #farms-stats-strip .stat-card,
html[data-season="bonneannee"] #rigs-stats-strip .stat-card { position: relative; }
html[data-season="hiver"] #farms-stats-strip .stat-card::before,
html[data-season="hiver"] #rigs-stats-strip .stat-card::before,
html[data-season="bonneannee"] #farms-stats-strip .stat-card::before,
html[data-season="bonneannee"] #rigs-stats-strip .stat-card::before { content: ""; position: absolute; left: 12px; right: 12px; top: -4px; height: 15px; max-width: 260px; background: var(--ssn-cap-a) 0 0 / 100% 100% no-repeat; pointer-events: none; }
html[data-season="hiver"] #farms-stats-strip .stat-card:nth-child(3n + 2)::before,
html[data-season="hiver"] #rigs-stats-strip .stat-card:nth-child(3n + 2)::before,
html[data-season="bonneannee"] #farms-stats-strip .stat-card:nth-child(3n + 2)::before,
html[data-season="bonneannee"] #rigs-stats-strip .stat-card:nth-child(3n + 2)::before { background-image: var(--ssn-cap-b); }
html[data-season="hiver"] #farms-stats-strip .stat-card:nth-child(3n)::before,
html[data-season="hiver"] #rigs-stats-strip .stat-card:nth-child(3n)::before,
html[data-season="bonneannee"] #farms-stats-strip .stat-card:nth-child(3n)::before,
html[data-season="bonneannee"] #rigs-stats-strip .stat-card:nth-child(3n)::before { background-image: var(--ssn-cap-c); }

/* The GPU and CPU cards of a rig (site 1.84.0, the owner: "pour le mode hiver et nouvelle année il faudrait faire une légère couche de neige sur les GPU"): a light layer of snow lies on the top edge of each card of the page of a
   rig -- the cards of the graphics cards and the one of the processor -- in the winter and for Bonne année; NOT on the lists of rigs and ASICs, nor on the ASIC's own card, nor on anything else. Same idea as the drifts of the
   counters (a picture in a pseudo-element, three different ones, one card in three, takes no room, catches no click, does not move) but WIDE: 1040 x 15 units for a card of about 1040 px, so the mounds and the scallops keep the
   size they have on a counter. It sits on the border line (4 px above it, 11 px under it at the lowest -- a thin drip excepted), 14 px in from each side (clear of the rounded corners), above the title of the card. On a
   narrow window the picture keeps its own size and the card shows its left part instead of squeezing it. */
html[data-season="hiver"], html[data-season="bonneannee"] {
  --ssn-row-a: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1040 15' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='0' y2='10.5'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='1' stop-color='%23dbe8f7'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='%237d9fcc' opacity='.4' transform='translate(0 1)' d='M0 4C11 4 11 1.9 22 1.9C78 1.9 78 0.8 134 0.8C218 0.8 218 0.9 302 0.9C374.9 0.9 374.9 1.5 447.8 1.5C527.9 1.5 527.9 1.4 608.1 1.4C688.6 1.4 688.6 1 769.1 1C839 1 839 -0.2 909 -0.2C965 -0.2 965 1.8 1021.1 1.8C1019.6 1.8 1019.6 1.9 1018 1.9C1029 1.9 1029 4 1040 4Q1038 5.4 1030 5.6A5.4 3.9 0 0 1 1019.1 5.6A9.9 3.6 0 0 1 999.4 5.6A7.6 3.8 0 0 1 984.2 5.6A11.3 2 0 0 1 961.6 5.6A8.2 4 0 0 1 945.2 5.6A12.3 3.1 0 0 1 920.5 5.6A13.6 3.7 0 0 1 893.3 5.6A13.3 4.5 0 0 1 866.6 5.6A9.2 2.9 0 0 1 848.1 5.6A10.8 4.3 0 0 1 826.5 5.6A15.5 2 0 0 1 795.6 5.6A10.4 3.8 0 0 1 774.8 5.6A8 4.5 0 0 1 758.8 5.6A14.2 3.2 0 0 1 730.4 5.6A12.9 3.4 0 0 1 704.6 5.6A15 3.7 0 0 1 674.6 5.6A9.1 2.3 0 0 1 656.4 5.6A14.7 3.3 0 0 1 627 5.6A14.9 4.3 0 0 1 597.3 5.6A9.9 4.3 0 0 1 577.4 5.6A12.8 4.5 0 0 1 551.8 5.6A9.2 4 0 0 1 533.5 5.6A7.9 2.4 0 0 1 517.8 5.6A11.3 2.7 0 0 1 495.1 5.6A14.6 3.7 0 0 1 465.9 5.6A14.7 3.3 0 0 1 436.5 5.6A7.9 2.4 0 0 1 420.7 5.6A15.5 3 0 0 1 389.8 5.6A11.8 2 0 0 1 366.3 5.6A10.2 2.7 0 0 1 345.8 5.6A8.6 3 0 0 1 328.6 5.6A7.7 2.2 0 0 1 313.2 5.6A8 2.1 0 0 1 297.3 5.6A8.8 4.4 0 0 1 279.8 5.6A13.1 2.9 0 0 1 253.5 5.6A8 2.5 0 0 1 237.4 5.6A8.1 4.1 0 0 1 221.3 5.6A12.7 3.6 0 0 1 196 5.6A12.9 3.8 0 0 1 170.2 5.6A9.1 3.3 0 0 1 152 5.6A11.4 2.2 0 0 1 129.2 5.6A14.4 4.3 0 0 1 100.5 5.6A7.8 3.3 0 0 1 84.9 5.6A9.8 3 0 0 1 65.3 5.6A11.6 2.5 0 0 1 42.1 5.6A8.5 4.2 0 0 1 25.2 5.6A7.6 3.5 0 0 1 10 5.6Q2 5.4 0 4Z'/%3E%3Cpath fill='url(%23g)' d='M0 4C11 4 11 1.9 22 1.9C78 1.9 78 0.8 134 0.8C218 0.8 218 0.9 302 0.9C374.9 0.9 374.9 1.5 447.8 1.5C527.9 1.5 527.9 1.4 608.1 1.4C688.6 1.4 688.6 1 769.1 1C839 1 839 -0.2 909 -0.2C965 -0.2 965 1.8 1021.1 1.8C1019.6 1.8 1019.6 1.9 1018 1.9C1029 1.9 1029 4 1040 4Q1038 5.4 1030 5.6A5.4 3.9 0 0 1 1019.1 5.6A9.9 3.6 0 0 1 999.4 5.6A7.6 3.8 0 0 1 984.2 5.6A11.3 2 0 0 1 961.6 5.6A8.2 4 0 0 1 945.2 5.6A12.3 3.1 0 0 1 920.5 5.6A13.6 3.7 0 0 1 893.3 5.6A13.3 4.5 0 0 1 866.6 5.6A9.2 2.9 0 0 1 848.1 5.6A10.8 4.3 0 0 1 826.5 5.6A15.5 2 0 0 1 795.6 5.6A10.4 3.8 0 0 1 774.8 5.6A8 4.5 0 0 1 758.8 5.6A14.2 3.2 0 0 1 730.4 5.6A12.9 3.4 0 0 1 704.6 5.6A15 3.7 0 0 1 674.6 5.6A9.1 2.3 0 0 1 656.4 5.6A14.7 3.3 0 0 1 627 5.6A14.9 4.3 0 0 1 597.3 5.6A9.9 4.3 0 0 1 577.4 5.6A12.8 4.5 0 0 1 551.8 5.6A9.2 4 0 0 1 533.5 5.6A7.9 2.4 0 0 1 517.8 5.6A11.3 2.7 0 0 1 495.1 5.6A14.6 3.7 0 0 1 465.9 5.6A14.7 3.3 0 0 1 436.5 5.6A7.9 2.4 0 0 1 420.7 5.6A15.5 3 0 0 1 389.8 5.6A11.8 2 0 0 1 366.3 5.6A10.2 2.7 0 0 1 345.8 5.6A8.6 3 0 0 1 328.6 5.6A7.7 2.2 0 0 1 313.2 5.6A8 2.1 0 0 1 297.3 5.6A8.8 4.4 0 0 1 279.8 5.6A13.1 2.9 0 0 1 253.5 5.6A8 2.5 0 0 1 237.4 5.6A8.1 4.1 0 0 1 221.3 5.6A12.7 3.6 0 0 1 196 5.6A12.9 3.8 0 0 1 170.2 5.6A9.1 3.3 0 0 1 152 5.6A11.4 2.2 0 0 1 129.2 5.6A14.4 4.3 0 0 1 100.5 5.6A7.8 3.3 0 0 1 84.9 5.6A9.8 3 0 0 1 65.3 5.6A11.6 2.5 0 0 1 42.1 5.6A8.5 4.2 0 0 1 25.2 5.6A7.6 3.5 0 0 1 10 5.6Q2 5.4 0 4Z'/%3E%3Cpath fill='url(%23g)' d='M64.3 5Q64.3 7.9 65.3 9.4Q66.3 7.9 66.3 5ZM169.2 5Q169.2 7.8 170.2 9.2Q171.2 7.8 171.2 5ZM327.6 5Q327.6 7.6 328.6 8.9Q329.6 7.6 329.6 5ZM435.5 5Q435.5 7.7 436.5 9.1Q437.5 7.7 437.5 5ZM596.3 5Q596.3 7.7 597.3 9.1Q598.3 7.7 598.3 5ZM757.8 5Q757.8 8 758.8 9.6Q759.8 8 759.8 5ZM919.5 5Q919.5 7.5 920.5 8.8Q921.5 7.5 921.5 5Z'/%3E%3C/svg%3E");
  --ssn-row-b: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1040 15' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='0' y2='10.5'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='1' stop-color='%23dbe8f7'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='%237d9fcc' opacity='.4' transform='translate(0 1)' d='M0 4C11 4 11 1.9 22 1.9C79.6 1.9 79.6 0.5 137.2 0.5C214.8 0.5 214.8 1.6 292.4 1.6C364.5 1.6 364.5 1.1 436.5 1.1C515.3 1.1 515.3 0.6 594.1 0.6C670.2 0.6 670.2 1.5 746.2 1.5C827.4 1.5 827.4 0.3 908.5 0.3C990.1 0.3 990.1 1.8 1071.8 1.8C1044.9 1.8 1044.9 1.9 1018 1.9C1029 1.9 1029 4 1040 4Q1038 5.4 1030 5.6A7 4 0 0 1 1015.9 5.6A11.5 2 0 0 1 992.8 5.6A14.3 2.6 0 0 1 964.3 5.6A9.6 2.5 0 0 1 945 5.6A8.7 2.3 0 0 1 927.6 5.6A13.5 4.2 0 0 1 900.6 5.6A9.8 4.1 0 0 1 881 5.6A11.8 2.4 0 0 1 857.4 5.6A8.3 3.8 0 0 1 840.8 5.6A15.1 2.3 0 0 1 810.6 5.6A11.9 3.4 0 0 1 786.7 5.6A11.3 4.6 0 0 1 764.2 5.6A10.4 4.3 0 0 1 743.5 5.6A9.5 4.2 0 0 1 724.5 5.6A14.2 2.9 0 0 1 696.2 5.6A13.4 3.1 0 0 1 669.5 5.6A9 2.8 0 0 1 651.4 5.6A13.8 2.9 0 0 1 623.7 5.6A10.1 4.3 0 0 1 603.5 5.6A7.5 4.6 0 0 1 588.5 5.6A11.3 2.7 0 0 1 566 5.6A7.5 3.2 0 0 1 551 5.6A10 2.2 0 0 1 531.1 5.6A15.2 2.2 0 0 1 500.7 5.6A8.2 2.3 0 0 1 484.3 5.6A8.5 3.8 0 0 1 467.2 5.6A13.5 3 0 0 1 440.3 5.6A12.8 2.1 0 0 1 414.7 5.6A12.8 4.6 0 0 1 389.1 5.6A8.6 4.1 0 0 1 371.8 5.6A14.8 3.8 0 0 1 342.2 5.6A10.1 2.8 0 0 1 322 5.6A11.2 2.1 0 0 1 299.6 5.6A12.6 4.5 0 0 1 274.4 5.6A14.8 3.2 0 0 1 244.7 5.6A12.3 3.3 0 0 1 220.1 5.6A14.3 3.2 0 0 1 191.6 5.6A12.5 2.9 0 0 1 166.6 5.6A14.2 4.5 0 0 1 138.2 5.6A10.9 4.1 0 0 1 116.4 5.6A13.9 4.1 0 0 1 88.6 5.6A15.5 3.7 0 0 1 57.6 5.6A13.8 3 0 0 1 30.1 5.6A10 2.3 0 0 1 10 5.6Q2 5.4 0 4Z'/%3E%3Cpath fill='url(%23g)' d='M0 4C11 4 11 1.9 22 1.9C79.6 1.9 79.6 0.5 137.2 0.5C214.8 0.5 214.8 1.6 292.4 1.6C364.5 1.6 364.5 1.1 436.5 1.1C515.3 1.1 515.3 0.6 594.1 0.6C670.2 0.6 670.2 1.5 746.2 1.5C827.4 1.5 827.4 0.3 908.5 0.3C990.1 0.3 990.1 1.8 1071.8 1.8C1044.9 1.8 1044.9 1.9 1018 1.9C1029 1.9 1029 4 1040 4Q1038 5.4 1030 5.6A7 4 0 0 1 1015.9 5.6A11.5 2 0 0 1 992.8 5.6A14.3 2.6 0 0 1 964.3 5.6A9.6 2.5 0 0 1 945 5.6A8.7 2.3 0 0 1 927.6 5.6A13.5 4.2 0 0 1 900.6 5.6A9.8 4.1 0 0 1 881 5.6A11.8 2.4 0 0 1 857.4 5.6A8.3 3.8 0 0 1 840.8 5.6A15.1 2.3 0 0 1 810.6 5.6A11.9 3.4 0 0 1 786.7 5.6A11.3 4.6 0 0 1 764.2 5.6A10.4 4.3 0 0 1 743.5 5.6A9.5 4.2 0 0 1 724.5 5.6A14.2 2.9 0 0 1 696.2 5.6A13.4 3.1 0 0 1 669.5 5.6A9 2.8 0 0 1 651.4 5.6A13.8 2.9 0 0 1 623.7 5.6A10.1 4.3 0 0 1 603.5 5.6A7.5 4.6 0 0 1 588.5 5.6A11.3 2.7 0 0 1 566 5.6A7.5 3.2 0 0 1 551 5.6A10 2.2 0 0 1 531.1 5.6A15.2 2.2 0 0 1 500.7 5.6A8.2 2.3 0 0 1 484.3 5.6A8.5 3.8 0 0 1 467.2 5.6A13.5 3 0 0 1 440.3 5.6A12.8 2.1 0 0 1 414.7 5.6A12.8 4.6 0 0 1 389.1 5.6A8.6 4.1 0 0 1 371.8 5.6A14.8 3.8 0 0 1 342.2 5.6A10.1 2.8 0 0 1 322 5.6A11.2 2.1 0 0 1 299.6 5.6A12.6 4.5 0 0 1 274.4 5.6A14.8 3.2 0 0 1 244.7 5.6A12.3 3.3 0 0 1 220.1 5.6A14.3 3.2 0 0 1 191.6 5.6A12.5 2.9 0 0 1 166.6 5.6A14.2 4.5 0 0 1 138.2 5.6A10.9 4.1 0 0 1 116.4 5.6A13.9 4.1 0 0 1 88.6 5.6A15.5 3.7 0 0 1 57.6 5.6A13.8 3 0 0 1 30.1 5.6A10 2.3 0 0 1 10 5.6Q2 5.4 0 4Z'/%3E%3Cpath fill='url(%23g)' d='M87.6 5Q87.6 8.3 88.6 10.1Q89.6 8.3 89.6 5ZM273.4 5Q273.4 8.1 274.4 9.7Q275.4 8.1 275.4 5ZM439.3 5Q439.3 7.8 440.3 9.2Q441.3 7.8 441.3 5ZM602.5 5Q602.5 7.6 603.5 8.9Q604.5 7.6 604.5 5ZM742.5 5Q742.5 7.9 743.5 9.4Q744.5 7.9 744.5 5ZM880 5Q880 7.2 881 8.3Q882 7.2 882 5Z'/%3E%3C/svg%3E");
  --ssn-row-c: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1040 15' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='0' y2='10.5'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='1' stop-color='%23dbe8f7'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='%237d9fcc' opacity='.4' transform='translate(0 1)' d='M0 4C11 4 11 1.9 22 1.9C81.2 1.9 81.2 1.3 140.4 1.3C186.4 1.3 186.4 1.5 232.4 1.5C317 1.5 317 1.2 401.5 1.2C473.4 1.2 473.4 -0.4 545.3 -0.4C617.6 -0.4 617.6 1.1 690 1.1C738.6 1.1 738.6 -0.5 787.2 -0.5C852.6 -0.5 852.6 1.4 918 1.4C968 1.4 968 1.9 1018 1.9C1029 1.9 1029 4 1040 4Q1038 5.4 1030 5.6A10.7 3.9 0 0 1 1008.6 5.6A7.8 3.5 0 0 1 993 5.6A12.3 2.5 0 0 1 968.4 5.6A9.9 2.6 0 0 1 948.6 5.6A15.1 3.7 0 0 1 918.5 5.6A13.9 4.2 0 0 1 890.7 5.6A10.5 3.1 0 0 1 869.7 5.6A10.6 2.3 0 0 1 848.5 5.6A12.6 4 0 0 1 823.3 5.6A12.9 3.5 0 0 1 797.6 5.6A7.3 3.3 0 0 1 783 5.6A14.1 4 0 0 1 754.8 5.6A9.8 2.3 0 0 1 735.2 5.6A13.6 4.2 0 0 1 708 5.6A14.3 3.8 0 0 1 679.3 5.6A11.1 3.4 0 0 1 657 5.6A14.8 2 0 0 1 627.4 5.6A12.8 2.2 0 0 1 601.8 5.6A10.2 2.5 0 0 1 581.4 5.6A8 2.9 0 0 1 565.3 5.6A7.1 2.4 0 0 1 551 5.6A13.7 3 0 0 1 523.6 5.6A14.1 3.4 0 0 1 495.5 5.6A13.2 4.1 0 0 1 469.1 5.6A10.5 4.2 0 0 1 448.1 5.6A10.3 3.1 0 0 1 427.6 5.6A8.5 2.3 0 0 1 410.5 5.6A13.3 2.6 0 0 1 383.9 5.6A15.3 2.5 0 0 1 353.4 5.6A11.2 4.3 0 0 1 331.1 5.6A10.3 3.8 0 0 1 310.5 5.6A7.9 2.5 0 0 1 294.8 5.6A13.8 3.4 0 0 1 267.2 5.6A11.9 3.4 0 0 1 243.3 5.6A15.4 4.4 0 0 1 212.6 5.6A7.9 3.4 0 0 1 196.8 5.6A13.3 3.7 0 0 1 170.2 5.6A7.7 3.7 0 0 1 154.9 5.6A15.3 2.3 0 0 1 124.3 5.6A7.5 4.3 0 0 1 109.4 5.6A8.4 2.7 0 0 1 92.6 5.6A12.9 2.9 0 0 1 66.9 5.6A7.4 4.3 0 0 1 52.1 5.6A13.2 4.5 0 0 1 25.8 5.6A7.9 3.6 0 0 1 10 5.6Q2 5.4 0 4Z'/%3E%3Cpath fill='url(%23g)' d='M0 4C11 4 11 1.9 22 1.9C81.2 1.9 81.2 1.3 140.4 1.3C186.4 1.3 186.4 1.5 232.4 1.5C317 1.5 317 1.2 401.5 1.2C473.4 1.2 473.4 -0.4 545.3 -0.4C617.6 -0.4 617.6 1.1 690 1.1C738.6 1.1 738.6 -0.5 787.2 -0.5C852.6 -0.5 852.6 1.4 918 1.4C968 1.4 968 1.9 1018 1.9C1029 1.9 1029 4 1040 4Q1038 5.4 1030 5.6A10.7 3.9 0 0 1 1008.6 5.6A7.8 3.5 0 0 1 993 5.6A12.3 2.5 0 0 1 968.4 5.6A9.9 2.6 0 0 1 948.6 5.6A15.1 3.7 0 0 1 918.5 5.6A13.9 4.2 0 0 1 890.7 5.6A10.5 3.1 0 0 1 869.7 5.6A10.6 2.3 0 0 1 848.5 5.6A12.6 4 0 0 1 823.3 5.6A12.9 3.5 0 0 1 797.6 5.6A7.3 3.3 0 0 1 783 5.6A14.1 4 0 0 1 754.8 5.6A9.8 2.3 0 0 1 735.2 5.6A13.6 4.2 0 0 1 708 5.6A14.3 3.8 0 0 1 679.3 5.6A11.1 3.4 0 0 1 657 5.6A14.8 2 0 0 1 627.4 5.6A12.8 2.2 0 0 1 601.8 5.6A10.2 2.5 0 0 1 581.4 5.6A8 2.9 0 0 1 565.3 5.6A7.1 2.4 0 0 1 551 5.6A13.7 3 0 0 1 523.6 5.6A14.1 3.4 0 0 1 495.5 5.6A13.2 4.1 0 0 1 469.1 5.6A10.5 4.2 0 0 1 448.1 5.6A10.3 3.1 0 0 1 427.6 5.6A8.5 2.3 0 0 1 410.5 5.6A13.3 2.6 0 0 1 383.9 5.6A15.3 2.5 0 0 1 353.4 5.6A11.2 4.3 0 0 1 331.1 5.6A10.3 3.8 0 0 1 310.5 5.6A7.9 2.5 0 0 1 294.8 5.6A13.8 3.4 0 0 1 267.2 5.6A11.9 3.4 0 0 1 243.3 5.6A15.4 4.4 0 0 1 212.6 5.6A7.9 3.4 0 0 1 196.8 5.6A13.3 3.7 0 0 1 170.2 5.6A7.7 3.7 0 0 1 154.9 5.6A15.3 2.3 0 0 1 124.3 5.6A7.5 4.3 0 0 1 109.4 5.6A8.4 2.7 0 0 1 92.6 5.6A12.9 2.9 0 0 1 66.9 5.6A7.4 4.3 0 0 1 52.1 5.6A13.2 4.5 0 0 1 25.8 5.6A7.9 3.6 0 0 1 10 5.6Q2 5.4 0 4Z'/%3E%3Cpath fill='url(%23g)' d='M65.9 5Q65.9 8.2 66.9 10Q67.9 8.2 67.9 5ZM211.6 5Q211.6 7.3 212.6 8.4Q213.6 7.3 213.6 5ZM352.4 5Q352.4 7.9 353.4 9.4Q354.4 7.9 354.4 5ZM494.5 5Q494.5 8.1 495.5 9.8Q496.5 8.1 496.5 5ZM600.8 5Q600.8 8.1 601.8 9.8Q602.8 8.1 602.8 5ZM753.8 5Q753.8 8.3 754.8 10.1Q755.8 8.3 755.8 5ZM889.7 5Q889.7 8.2 890.7 9.9Q891.7 8.2 891.7 5Z'/%3E%3C/svg%3E");
}
html[data-season="hiver"] #rig-gpu-rows .gpu-row-card,
html[data-season="hiver"] #rig-cpu-row .gpu-row-card,
html[data-season="bonneannee"] #rig-gpu-rows .gpu-row-card,
html[data-season="bonneannee"] #rig-cpu-row .gpu-row-card { position: relative; }
html[data-season="hiver"] #rig-gpu-rows .gpu-row-card::before,
html[data-season="hiver"] #rig-cpu-row .gpu-row-card::before,
html[data-season="bonneannee"] #rig-gpu-rows .gpu-row-card::before,
html[data-season="bonneannee"] #rig-cpu-row .gpu-row-card::before { content: ""; position: absolute; left: 14px; right: 14px; top: -4px; height: 15px; background: var(--ssn-row-a) 0 0 / 100% 100% no-repeat; pointer-events: none; }
html[data-season="hiver"] #rig-gpu-rows .gpu-row-card:nth-child(3n + 2)::before,
html[data-season="hiver"] #rig-cpu-row .gpu-row-card:nth-child(3n + 2)::before,
html[data-season="bonneannee"] #rig-gpu-rows .gpu-row-card:nth-child(3n + 2)::before,
html[data-season="bonneannee"] #rig-cpu-row .gpu-row-card:nth-child(3n + 2)::before { background-image: var(--ssn-row-b); }
html[data-season="hiver"] #rig-gpu-rows .gpu-row-card:nth-child(3n)::before,
html[data-season="hiver"] #rig-cpu-row .gpu-row-card:nth-child(3n)::before,
html[data-season="bonneannee"] #rig-gpu-rows .gpu-row-card:nth-child(3n)::before,
html[data-season="bonneannee"] #rig-cpu-row .gpu-row-card:nth-child(3n)::before { background-image: var(--ssn-row-c); }
@media (max-width: 900px) {
  html[data-season="hiver"] #rig-gpu-rows .gpu-row-card::before,
  html[data-season="hiver"] #rig-cpu-row .gpu-row-card::before,
  html[data-season="bonneannee"] #rig-gpu-rows .gpu-row-card::before,
  html[data-season="bonneannee"] #rig-cpu-row .gpu-row-card::before { background-size: 1040px 100%; }
}
@media (max-width: 560px) {   /* (a phone: the pictures of the counters, made for a width like that, instead of a cut of the wide one) */
  html[data-season="hiver"] #rig-gpu-rows .gpu-row-card::before,
  html[data-season="hiver"] #rig-cpu-row .gpu-row-card::before,
  html[data-season="bonneannee"] #rig-gpu-rows .gpu-row-card::before,
  html[data-season="bonneannee"] #rig-cpu-row .gpu-row-card::before { background-image: var(--ssn-cap-a); background-size: 100% 100%; }
  html[data-season="hiver"] #rig-gpu-rows .gpu-row-card:nth-child(3n + 2)::before,
  html[data-season="hiver"] #rig-cpu-row .gpu-row-card:nth-child(3n + 2)::before,
  html[data-season="bonneannee"] #rig-gpu-rows .gpu-row-card:nth-child(3n + 2)::before,
  html[data-season="bonneannee"] #rig-cpu-row .gpu-row-card:nth-child(3n + 2)::before { background-image: var(--ssn-cap-b); }
  html[data-season="hiver"] #rig-gpu-rows .gpu-row-card:nth-child(3n)::before,
  html[data-season="hiver"] #rig-cpu-row .gpu-row-card:nth-child(3n)::before,
  html[data-season="bonneannee"] #rig-gpu-rows .gpu-row-card:nth-child(3n)::before,
  html[data-season="bonneannee"] #rig-cpu-row .gpu-row-card:nth-child(3n)::before { background-image: var(--ssn-cap-c); }
}

/* Halloween: the candle that burns inside each pumpkin, and the eyes that blink from time to time */
@keyframes ssn-blink { 0%, 91%, 100% { transform: scaleY(1); } 93.2% { transform: scaleY(.07); } 95.6% { transform: scaleY(1); } }
@keyframes ssn-flame { 0% { transform: scale(1, 1) skewX(0deg); } 22% { transform: scale(.93, 1.08) skewX(2.4deg); } 48% { transform: scale(1.05, .94) skewX(-2deg); } 74% { transform: scale(.96, 1.05) skewX(1.4deg); } 100% { transform: scale(1, 1) skewX(-1deg); } }
@keyframes ssn-glow { 0%, 100% { opacity: .92; } 28% { opacity: 1; } 55% { opacity: .78; } 82% { opacity: .97; } }
@keyframes ssn-ember { 0% { transform: translate(0, 0) scale(1); opacity: 0; } 14% { opacity: .95; } 100% { transform: translate(var(--dx, 6px), -96px) scale(.25); opacity: 0; } }
.ssn-eye { animation: ssn-blink 7.4s ease-in-out infinite; }
.ssn-flame { transform-origin: 50% 100%; animation: ssn-flame .52s ease-in-out infinite alternate; }
.ssn-flicker { animation: ssn-glow 2.3s ease-in-out infinite; }
.ssn-ember { opacity: 0; animation: ssn-ember 5.4s ease-out infinite; }

/* the star at the top of each fir tree twinkles (one animation per tree) */
@keyframes ssn-lights { 0%, 100% { opacity: .3; transform: scale(.78); } 50% { opacity: 1; transform: scale(1.12); } }
.ssn-twinkle { animation: ssn-lights 2s ease-in-out infinite; }
/* ... and so do the strings of coloured lights that decorate it (site 1.84.0): THREE groups per tree (the lights next to each other are in different groups), one animation per group, opacity only */
@keyframes ssn-bulbs { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
.ssn-bulbs { animation: ssn-bulbs 2s ease-in-out infinite; }

/* The melting of the snow (site 1.85.0, "Bonne année" only -- the owner, 2026-10-22: "comme c'est la fin des événements ... un style de goutte d'eau bleue qui tombe de la neige de temps en temps, là où il y a de la neige, pour montrer
   qu'elle fond"). season.js (MELT) makes a blue drop of water form under the snow that lies on a counter, on the card of a graphics card or of the processor, or on a letter of the name, swell, let go and fall a few pixels, every few
   seconds. The layer is fixed over the whole window, ABOVE the top bar (z-index 20, for the caps of the name) and UNDER the notifications, the chat and every window (90 and more); no click ever reaches it. A drop is one element, moved by
   one Web Animation of transform and opacity (made by the script); it grows from its top, which is where it hangs from the snow. The picture is a teardrop with a gradient of blues and a little highlight. */
html[data-season="bonneannee"] { --ssn-drop: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2010%2014'%3E%3Cdefs%3E%3ClinearGradient%20id%3D'b'%20x1%3D'0'%20y1%3D'0'%20x2%3D'.8'%20y2%3D'1'%3E%3Cstop%20offset%3D'0'%20stop-color%3D'%23a8dcff'%2F%3E%3Cstop%20offset%3D'.55'%20stop-color%3D'%233b9cf0'%2F%3E%3Cstop%20offset%3D'1'%20stop-color%3D'%231f6fd0'%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20d%3D'M5%20.4C5%20.4%209.4%205.6%209.4%209A4.4%204.4%200%200%201%20.6%209C.6%205.6%205%20.4%205%20.4Z'%20fill%3D'url(%23b)'%20stroke%3D'%23d6eeff'%20stroke-opacity%3D'.6'%20stroke-width%3D'.5'%2F%3E%3Cellipse%20cx%3D'3.3'%20cy%3D'8.7'%20rx%3D'1'%20ry%3D'1.9'%20fill%3D'%23fff'%20fill-opacity%3D'.7'%20transform%3D'rotate(14%203.3%208.7)'%2F%3E%3C%2Fsvg%3E"); }
.ssn-melt { position: fixed; inset: 0; z-index: 21; overflow: hidden; pointer-events: none; user-select: none; -webkit-user-select: none; }
.ssn-drop { position: absolute; display: block; transform-origin: 50% 0; opacity: 0; background: var(--ssn-drop) 0 0 / 100% 100% no-repeat; pointer-events: none; }

/* The little Santa of the winter (site 1.86.0, the owner: "un petit père noël avec une pioche ... une pièce de Bitcoin apparaît sur la neige du GPU ... il se déplacera vers la pièce et tapera dessus avec sa pioche 10 coups"). season_santa.js
   puts a layer NEXT TO the list of GPU cards (the cards are drawn again every 5 s, which would wipe anything put inside them; the layer is not, and it scrolls with the page by itself), one Santa per card, standing on the snow of its top
   edge. He comes in two sizes (the script decides, card by card): 23 px high -- what the gap between two cards (14 px) plus the bottom padding of the card above (10 px) leave him -- or 32 px when nothing is drawn in his way above his card (the script measures the letters, graphs and chips of the card above); in both he never covers a figure. Nothing in it catches a click. What moves is transform and opacity only.
   The Santa is drawn facing right (viewBox 40 x 40, feet at 20,34); one that goes left is the same picture turned over. The groups that move have their own pivot (in the units of the drawing): the arm about the shoulder, the pick about
   the hand, the legs about the hips. A waiting Santa is a still picture: carried on the shoulder, nothing runs. While he walks the legs, the back arm and the body are CSS animations (the step comes from --sa-step); the blows, the hop,
   the coin and the sparks are Web Animations made by the script. */
.ssn-santa-layer { position: absolute; z-index: 3; width: 0; height: 0; overflow: visible; pointer-events: none; user-select: none; -webkit-user-select: none; }
.ssn-santa { position: absolute; left: 0; top: 0; width: calc(40px * var(--sa-k, .94)); height: calc(40px * var(--sa-k, .94)); pointer-events: none; }
.ssn-santa svg { display: block; width: 100%; height: 100%; overflow: visible; }
.sa-flip { transform-origin: 20px 34px; }
.ssn-santa[data-dir="-1"] .sa-flip { transform: scaleX(-1); }
.sa-legb { transform-origin: 17.2px 26px; }
.sa-legf { transform-origin: 22.8px 26px; }
.sa-armb { transform-origin: 15.95px 21px; }
.sa-torso { transform-origin: 20px 28px; }
.sa-head { transform-origin: 20px 20.5px; }
.sa-arm { transform-origin: 23.6px 21px; transform: rotate(38deg); }
.sa-pick { transform-origin: 30.6px 21px; transform: rotate(-188deg); }
@keyframes sa-leg { from { transform: rotate(-26deg); } to { transform: rotate(26deg); } }
@keyframes sa-armsw { from { transform: rotate(22deg); } to { transform: rotate(-22deg); } }
@keyframes sa-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.1px); } }
.ssn-santa[data-st="walk"] .sa-legf { animation: sa-leg var(--sa-step, 320ms) ease-in-out infinite alternate; }
.ssn-santa[data-st="walk"] .sa-legb { animation: sa-leg var(--sa-step, 320ms) ease-in-out infinite alternate-reverse; }
.ssn-santa[data-st="walk"] .sa-armb { animation: sa-armsw var(--sa-step, 320ms) ease-in-out infinite alternate; }
.ssn-santa[data-st="walk"] .sa-torso { animation: sa-bob var(--sa-step, 320ms) ease-in-out infinite; }
.ssn-coin { position: absolute; left: 0; top: 0; width: var(--sa-coin, 14px); height: var(--sa-coin, 14px); pointer-events: none; }
.ssn-coin svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ssn-coin .sa-cracks path { opacity: 0; }
.ssn-coin[data-hits="3"] .sa-c1, .ssn-coin[data-hits="6"] .sa-c1, .ssn-coin[data-hits="6"] .sa-c2, .ssn-coin[data-hits="9"] .sa-c1, .ssn-coin[data-hits="9"] .sa-c2, .ssn-coin[data-hits="9"] .sa-c3 { opacity: 1; }
.ssn-spark, .ssn-shard, .ssn-flash { position: absolute; left: 0; top: 0; opacity: 0; pointer-events: none; }
.ssn-spark { width: 3px; height: 3px; border-radius: 50%; background: #ffd24a; box-shadow: 0 0 4px 1px rgba(255, 200, 60, .8); }
.ssn-shard { width: 5px; height: 5px; background: linear-gradient(135deg, #ffe08a, #e8a317); clip-path: polygon(50% 0, 100% 100%, 0 85%); }
.ssn-flash { width: 12px; height: 12px; background: #fff6c8; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }

/* ---------- the Ambiance menu (only the account that holds it has it, in every state): the switch "Activer pour tous les membres", the line that says what the members see, then the mode ---------- */
.ssn-btn {
  align-self: center; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255, 138, 61, .55); background: linear-gradient(135deg, rgba(255, 122, 24, .16), rgba(169, 112, 255, .12));
  color: #ffc48a; font-family: inherit; font-size: 12.5px; font-weight: 700; white-space: nowrap;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.ssn-btn:hover { background: linear-gradient(135deg, rgba(255, 122, 24, .28), rgba(169, 112, 255, .2)); border-color: rgba(255, 138, 61, .85); transform: translateY(-1px); }
.ssn-btn:active { transform: translateY(0); }
.ssn-btn:focus-visible { outline: 2px solid rgba(255, 138, 61, .6); outline-offset: 2px; }
.ssn-menu { min-width: 300px; }
.ssn-menu-head { padding: 6px 10px 8px; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--text-faint); }
.ssn-menu a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.ssn-menu a.on { background: rgba(245, 165, 36, .12); }
.ssn-menu a.on .ssn-it::before { content: "● "; color: var(--accent); }
.ssn-it { font-weight: 600; }
.ssn-sub { color: var(--text-dim); font-size: 11.5px; white-space: nowrap; }
.ssn-menu-sep { height: 1px; margin: 6px 0; background: var(--border); }
.ssn-menu a.ssn-switch { align-items: center; }
.ssn-knob { position: relative; flex: none; width: 34px; height: 18px; border-radius: 999px; background: var(--border); transition: background .15s ease; }
.ssn-knob::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .15s ease; }
.ssn-switch.on .ssn-knob { background: var(--green); }
.ssn-switch.on .ssn-knob::after { transform: translateX(16px); }
.ssn-note { padding: 2px 10px 6px; font-size: 11.5px; line-height: 1.4; color: var(--text-dim); }

/* ---------- narrow windows ---------- */
@media (max-width: 1000px) {
  .ssn-greet { display: none; }
}
@media (max-width: 760px) {
  .ssn-web-l { width: 44px; height: 34px; }
  .ssn-web-r { width: 34px; height: 26px; }
  .ssn-btn { padding: 6px 9px; }
  .ssn-btn-text { display: none; }
  html[data-season="halloween"] .ssn-hat { left: -5px; top: -15px; width: 26px; height: 21px; }
  html[data-season="hiver"] .ssn-hat, html[data-season="bonneannee"] .ssn-hat { left: -6px; top: -16px; width: 29px; height: 23px; }
}

/* ---------- less motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .ssn-layer *, .ssn-side *, .ssn-hat, .ssn-year, .ssn-btn, .ssn-knob, .ssn-knob::after { animation: none !important; transition: none !important; }
  .ssn-snow { display: none; }
  .ssn-melt { display: none; }
  .ssn-santa-layer { display: none; }
}
