/*
  Winter 2026 (Lukas, 07.11.2026: "Completely redesign and transform EVERYTHING
  to match a beautiful, premium WINTER theme").

  Same contract as halloween.css (themes/README.md): everything sits under
  html.theme-winter. tokens.css and frame.css stay untouched, so the classic
  look comes back the moment the class goes (frame.js SEASON_THEME).

  What changes:
    - grounds: blue-black becomes a moonlit midnight navy, text greys turn
      frosty blue-silver
    - the purple accent (buttons, active tabs, links, every game's primary
      button) becomes ice blue; green and the coin gold stay, they mean money
    - font: Outfit (loaded in index.html with Rubik), Rubik stays the fallback
    - behind the page: a night sky with a moon and a faint aurora over snowy
      mountains and pines (pure CSS/SVG, no image download)
    - frosted glass for the header, chat, menus, modals and the bottom bar;
      icy rims and soft glows on cards and buttons
    - falling snow on a canvas behind the content (parts/snowfall.js), icicles
      under the header, a snowman by the logo, snowflakes in the headings
  Nothing decorative takes the pointer, nothing covers a control, phones get
  less of it and prefers-reduced-motion stops every movement.
*/
html.theme-winter {
  --g900: #07111f;
  --g800: #0b1829;
  --g700: #0f2035;
  --g600: #13273f;
  --g500: #172e49;
  --g400: #1c3653;
  --g300: #223e5e;
  --g200: #294768;
  --g100: #315173;
  --g50: #3a5b7e;

  --t1: #e6f1fc;
  --t2: #b3c8de;
  --t3: #93aac4;
  --t4: #8ba2bc;
  --t5: #8399b3;
  --t6: #8197b0;
  --t7: #7b91aa;

  /* The site's primary accent, purple, becomes ice blue. White text still
     reads on -700 and -600 (the colours buttons sit on). */
  --purple: #3aa6ef;
  --purple-600: #2490dc;
  --purple-700: #1b7cc5;
  --purple-300: #a8dcff;
  --teal: #7dd3fc;

  /* winter's own */
  --ice: #d7efff;
  --ice-2: #a8dcff;
  --snow: #f5faff;
  --frost: rgba(196, 228, 255, .07);
  --frost-2: rgba(196, 228, 255, .12);
  --rim: rgba(178, 222, 255, .16);
  --rim-2: rgba(178, 222, 255, .3);
  --glow: rgba(110, 196, 255, .45);
  --navy: #06203a;

  --font: "Outfit", "Rubik", Roboto, system-ui, sans-serif;
  --font-pixel: "Silkscreen", "Outfit", monospace;

  scrollbar-color: #2c5378 transparent;
  /* The sky: a deep navy that lightens towards the horizon, the moon's halo
     top right and a faint aurora top left. Fixed, so it stays while the page
     scrolls over it. */
  --ww-land: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 420' preserveAspectRatio='xMidYMax slice'%3E%3Cdefs%3E%3ClinearGradient id='s' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%2399c4ec'/%3E%3Cstop offset='1' stop-color='%23385f88'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 270 120 196 210 236 330 140 450 226 560 172 700 246 820 118 960 236 1080 162 1200 226 1330 128 1460 214 1600 170V420H0Z' fill='%23142c4a'/%3E%3Cg fill='%23cfe6ff' opacity='.5'%3E%3Cpath d='M95 211 120 196 144 210 132 206 121 214 108 205Z'/%3E%3Cpath d='M300 164 330 140 362 168 346 161 332 172 318 160Z'/%3E%3Cpath d='M535 188 560 172 585 190 572 186 561 193 548 185Z'/%3E%3Cpath d='M786 145 820 118 856 149 838 142 822 154 806 141Z'/%3E%3Cpath d='M1055 179 1080 162 1106 181 1093 177 1081 184 1068 176Z'/%3E%3Cpath d='M1298 153 1330 128 1364 156 1347 149 1331 160 1315 148Z'/%3E%3C/g%3E%3Cpath d='M0 312Q200 262 400 300T800 290 1200 300 1600 280V420H0Z' fill='%230e2240'/%3E%3Cg fill='%230a1a30'%3E%3Cpath d='M90 268l-14 30h8l-12 26h36l-12-26h8z'/%3E%3Cpath d='M128 280l-10 22h6l-9 19h26l-9-19h6z'/%3E%3Cpath d='M380 262l-16 34h9l-14 30h42l-14-30h9z'/%3E%3Cpath d='M424 276l-11 24h6l-10 21h30l-10-21h6z'/%3E%3Cpath d='M690 258l-15 32h9l-13 28h38l-13-28h9z'/%3E%3Cpath d='M1010 264l-16 34h9l-14 30h42l-14-30h9z'/%3E%3Cpath d='M1052 280l-10 22h6l-9 19h26l-9-19h6z'/%3E%3Cpath d='M1330 254l-15 32h9l-13 28h38l-13-28h9z'/%3E%3Cpath d='M1372 270l-11 24h6l-10 21h30l-10-21h6z'/%3E%3Cpath d='M1530 262l-14 30h8l-12 26h36l-12-26h8z'/%3E%3C/g%3E%3Cpath d='M0 352Q300 318 600 344T1200 338 1600 326V420H0Z' fill='url(%23s)' opacity='.34'/%3E%3Cpath d='M0 382Q400 350 800 376T1600 362V420H0Z' fill='url(%23s)' opacity='.22'/%3E%3C/svg%3E");
  background:
    var(--ww-land) center bottom / 100% auto no-repeat fixed,
    radial-gradient(circle at 87% 14%, rgba(244, 250, 255, .95) 0 22px, rgba(205, 230, 255, .28) 24px, rgba(160, 205, 255, .1) 70px, transparent 190px) fixed,
    radial-gradient(70% 38% at 12% 0%, rgba(94, 234, 212, .09), transparent 70%) fixed,
    radial-gradient(55% 32% at 42% 2%, rgba(129, 140, 248, .08), transparent 70%) fixed,
    linear-gradient(180deg, #050d19 0%, #081629 38%, #0d2341 78%, #12305a 100%) fixed;
  background-color: #07111f;
}
/* The sky lives on <html>: the body has to let it through (frame.css paints both). */
html.theme-winter body { background: transparent; }
html.theme-winter ::selection { background: rgba(120, 200, 255, .35); color: #fff; }
html.theme-winter :focus-visible { outline-color: var(--ice-2); }
html.theme-winter ::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #34608a, #24486d); }

/* ---------- falling snow (parts/snowfall.js) ---------- */
#v2-snow {
  position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%;
  pointer-events: none; display: block;
}
html:not(.theme-winter) #v2-snow { display: none; }

/* ---------- header: frosted glass with icicles ---------- */
html.theme-winter #v2-header {
  background:
    linear-gradient(90deg, rgba(120, 200, 255, .1) 0%, transparent 30%, transparent 70%, rgba(120, 200, 255, .06) 100%),
    rgba(8, 20, 38, .72);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--rim);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 10px 30px -14px rgba(90, 180, 255, .45);
}
/* Icicles along the lower edge. */
html.theme-winter #v2-header::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 20px; pointer-events: none;
  background: repeat-x 0 0 / 240px 20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 20'%3E%3Cdefs%3E%3ClinearGradient id='i' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23eaf5ff' stop-opacity='.85'/%3E%3Cstop offset='1' stop-color='%23a8dcff' stop-opacity='.05'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='240' height='2.5' fill='%23eaf5ff' opacity='.55'/%3E%3Cpath d='M24.8 0C24.8 4.5,26.08 9,28 9C29.92 9,31.2 4.5,31.2 0Z' fill='url(%23i)'/%3E%3Cpath d='M62 0C62 8,63.6 16,66 16C68.4 16,70 8,70 0Z' fill='url(%23i)'/%3E%3Cpath d='M109.2 0C109.2 3.5,110.32 7,112 7C113.68 7,114.8 3.5,114.8 0Z' fill='url(%23i)'/%3E%3Cpath d='M146.4 0C146.4 6,147.84 12,150 12C152.16 12,153.6 6,153.6 0Z' fill='url(%23i)'/%3E%3Cpath d='M191.8 0C191.8 9,193.48 18,196 18C198.52 18,200.2 9,200.2 0Z' fill='url(%23i)'/%3E%3Cpath d='M223 0C223 4,224.2 8,226 8C227.8 8,229 4,229 0Z' fill='url(%23i)'/%3E%3C/svg%3E");
}
html.theme-winter .hd-word b {
  background: linear-gradient(180deg, #ffffff 30%, #a8dcff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
html.theme-winter .hd-word span { color: var(--ice); }
/* A small snowman beside the diamond. */
html.theme-winter .hd-logo { position: relative; }
html.theme-winter .hd-logo::after {
  content: ""; position: absolute; left: 30px; top: 22px; width: 17px; height: 22px; pointer-events: none;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 26'%3E%3Ccircle cx='10' cy='18.5' r='6.5' fill='%23f5faff'/%3E%3Ccircle cx='10' cy='9.5' r='4.6' fill='%23ffffff'/%3E%3Cpath d='M5.6 5.6h8.8v1.2H5.6z' fill='%23122a48'/%3E%3Cpath d='M7 1.2h6v4.6H7z' fill='%23122a48'/%3E%3Cpath d='M7 4.2h6v1.1H7z' fill='%23d33a3a'/%3E%3Ccircle cx='8.4' cy='9' r='.7' fill='%23122a48'/%3E%3Ccircle cx='11.6' cy='9' r='.7' fill='%23122a48'/%3E%3Cpath d='M10 10.2l3 .9-3 .5z' fill='%23f59e0b'/%3E%3Cpath d='M5.8 13.4c2.6 1.3 5.8 1.3 8.4 0l.4 1.4c-1 .5-1.9.8-2.6 1l.6 2.8-1.6.2-.4-2.8c-1.8.2-3.6-.1-5.2-1.2z' fill='%23d33a3a'/%3E%3Ccircle cx='10' cy='17' r='.7' fill='%23122a48'/%3E%3Ccircle cx='10' cy='19.6' r='.7' fill='%23122a48'/%3E%3C/svg%3E");
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .5));
}
html.theme-winter .hd-logo img { filter: drop-shadow(0 0 8px rgba(125, 211, 252, .55)); }
/* With the chat docked open the icicles hang over the page only; the chat gets the lights. */
html.theme-winter body.v2-mode-dock.v2-chat-open #v2-header::after { left: var(--chat-w); }

/* A Santa hat on the signed-in player's head in the header. */
html.theme-winter .hd-user { position: relative; }
html.theme-winter .hd-user::before {
  content: ""; position: absolute; left: 0; top: -8px; z-index: 2; width: 48px; height: 20px; pointer-events: none;
  image-rendering: pixelated;
  background: no-repeat center / 100% 100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 5' shape-rendering='crispEdges'%3E%3Crect x='7' y='0' width='1' height='1' fill='%23e63946'/%3E%3Crect x='8' y='0' width='1' height='1' fill='%23e63946'/%3E%3Crect x='9' y='0' width='1' height='1' fill='%23a4161a'/%3E%3Crect x='10' y='0' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='11' y='0' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='5' y='1' width='1' height='1' fill='%23ff7b7b'/%3E%3Crect x='6' y='1' width='1' height='1' fill='%23e63946'/%3E%3Crect x='7' y='1' width='1' height='1' fill='%23e63946'/%3E%3Crect x='8' y='1' width='1' height='1' fill='%23e63946'/%3E%3Crect x='9' y='1' width='1' height='1' fill='%23a4161a'/%3E%3Crect x='10' y='1' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='11' y='1' width='1' height='1' fill='%23d9e5f1'/%3E%3Crect x='3' y='2' width='1' height='1' fill='%23ff7b7b'/%3E%3Crect x='4' y='2' width='1' height='1' fill='%23e63946'/%3E%3Crect x='5' y='2' width='1' height='1' fill='%23e63946'/%3E%3Crect x='6' y='2' width='1' height='1' fill='%23e63946'/%3E%3Crect x='7' y='2' width='1' height='1' fill='%23e63946'/%3E%3Crect x='8' y='2' width='1' height='1' fill='%23e63946'/%3E%3Crect x='9' y='2' width='1' height='1' fill='%23e63946'/%3E%3Crect x='10' y='2' width='1' height='1' fill='%23a4161a'/%3E%3Crect x='0' y='3' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='1' y='3' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='2' y='3' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='3' y='3' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='4' y='3' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='5' y='3' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='6' y='3' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='7' y='3' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='8' y='3' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='9' y='3' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='10' y='3' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='11' y='3' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='0' y='4' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='1' y='4' width='1' height='1' fill='%23d9e5f1'/%3E%3Crect x='2' y='4' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='3' y='4' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='4' y='4' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='5' y='4' width='1' height='1' fill='%23d9e5f1'/%3E%3Crect x='6' y='4' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='7' y='4' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='8' y='4' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='9' y='4' width='1' height='1' fill='%23d9e5f1'/%3E%3Crect x='10' y='4' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='11' y='4' width='1' height='1' fill='%23ffffff'/%3E%3C/svg%3E");
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .4));
}

/* A string of lights across the top of the chat column, half the bulbs twinkling. */
html.theme-winter #v2-chat::before,
html.theme-winter #v2-chat::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 18px; z-index: 2; pointer-events: none;
  background-repeat: repeat-x; background-size: 128px 18px; background-position: -6px 0;
}
html.theme-winter #v2-chat::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 128 18'%3E%3Cpath d='M0 2Q32 10 64 2Q96 10 128 2' stroke='%2346607f' stroke-width='1.1' fill='none'/%3E%3Ccircle cx='16' cy='10.5' r='6' fill='%23ffd27a' opacity='.3'/%3E%3Crect x='14.6' y='4.4' width='2.8' height='2.2' rx='.5' fill='%2336465c'/%3E%3Cellipse cx='16' cy='10' rx='2.5' ry='3.6' fill='%23ffd27a'/%3E%3Ccircle cx='80' cy='10.5' r='6' fill='%23ff6b6b' opacity='.3'/%3E%3Crect x='78.6' y='4.4' width='2.8' height='2.2' rx='.5' fill='%2336465c'/%3E%3Cellipse cx='80' cy='10' rx='2.5' ry='3.6' fill='%23ff6b6b'/%3E%3C/svg%3E");
}
html.theme-winter #v2-chat::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 128 18'%3E%3Ccircle cx='48' cy='10.5' r='6' fill='%237dd3fc' opacity='.32'/%3E%3Crect x='46.6' y='4.4' width='2.8' height='2.2' rx='.5' fill='%2336465c'/%3E%3Cellipse cx='48' cy='10' rx='2.5' ry='3.6' fill='%237dd3fc'/%3E%3Ccircle cx='112' cy='10.5' r='6' fill='%235eead4' opacity='.32'/%3E%3Crect x='110.6' y='4.4' width='2.8' height='2.2' rx='.5' fill='%2336465c'/%3E%3Cellipse cx='112' cy='10' rx='2.5' ry='3.6' fill='%235eead4'/%3E%3C/svg%3E");
  animation: ww-twinkle 2.6s ease-in-out infinite;
}
@keyframes ww-twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- snow resting on the cards (the DonutSurge look, Lukas 07.11.2026) ----------
   One repeating drift with a few drips, laid along the top edge of every card,
   tile and panel. On cards that clip (overflow: hidden) the part above the edge
   is cut and the drift reads as snow hanging over the rim; where nothing clips
   it sits on top. Never takes the pointer. */
html.theme-winter {
  --ww-cap: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 30'%3E%3Cdefs%3E%3ClinearGradient id='s' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='.55' stop-color='%23ffffff'/%3E%3Cstop offset='1' stop-color='%23e2eefb'/%3E%3C/linearGradient%3E%3ClinearGradient id='d' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='1' stop-color='%23d6e6f7'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M70.4 8C70.4 14.95,71.6 21,74 21C76.4 21,77.6 14.95,77.6 8Z' fill='url(%23d)'/%3E%3Cpath d='M172.4 8C172.4 17.65,173.6 27,176 27C178.4 27,179.6 17.65,179.6 8Z' fill='url(%23d)'/%3E%3Cpath d='M210.4 8C210.4 13.15,211.6 17,214 17C216.4 17,217.6 13.15,217.6 8Z' fill='url(%23d)'/%3E%3Cpath d='M0 0H240V10C234 16.3,222 16.3,216 10C209 14.9,195 14.9,188 10C183 13.5,173 13.5,168 10C159.5 16.3,142.5 16.3,134 10C128 14.9,116 14.9,110 10C102.5 13.5,87.5 13.5,80 10C74.5 16.3,63.5 16.3,58 10C50 14.9,34 14.9,26 10C19.5 13.5,6.5 13.5,0 10Z' fill='url(%23s)'/%3E%3Cpath d='M0 0H240V10C234 16.3,222 16.3,216 10C209 14.9,195 14.9,188 10C183 13.5,173 13.5,168 10C159.5 16.3,142.5 16.3,134 10C128 14.9,116 14.9,110 10C102.5 13.5,87.5 13.5,80 10C74.5 16.3,63.5 16.3,58 10C50 14.9,34 14.9,26 10C19.5 13.5,6.5 13.5,0 10Z' fill='none' stroke='%23c9ddf1' stroke-width='1' opacity='.55' transform='translate(0 .6)'/%3E%3C/svg%3E");
}
html.theme-winter :is(.pg-home .h-og, .pg-home .h-slot, .pg-home .h-top-tile, .pg-home .h-top-main, .pg-home .h-about, .ch-rain, .gs-panel, .gs-stage:not(.is-bare), .v2-game-panel:not(.gs-panel)) { position: relative; }
html.theme-winter :is(.pg-home .h-og, .pg-home .h-slot, .pg-home .h-top-tile, .pg-home .h-top-main, .pg-home .h-about, .ch-rain, .gs-panel, .gs-stage:not(.is-bare), .v2-game-panel:not(.gs-panel))::after {
  content: ""; position: absolute; left: -2px; right: -2px; top: -8px; height: 30px; z-index: 4; pointer-events: none;
  background: var(--ww-cap) 0 0 / 240px 30px repeat-x;
  filter: drop-shadow(0 2px 2px rgba(0, 14, 32, .5));
}
/* The covers and slots clip their corners (overflow: hidden), which would cut the
   drift at the rim. With the theme on they stop clipping; the picture rounds its
   own corners instead and gives up the hover zoom (it would spill). */
html.theme-winter .pg-home :is(.h-og, .h-slot), html.theme-winter .ch-rain { overflow: visible; }
html.theme-winter .pg-home .h-og-cover { clip-path: inset(0 round var(--r-lg)); }
html.theme-winter .pg-home .h-og--cover:hover .h-og-cover { transform: none; }
html.theme-winter .pg-home .h-og-text { border-radius: 0 0 var(--r-lg) var(--r-lg); }
html.theme-winter .pg-home .h-slot img { border-radius: var(--r-lg); }
/* the same drift on every card would read as a pattern: each card starts it elsewhere */
html.theme-winter :is(.pg-home .h-og, .pg-home .h-slot, .pg-home .h-top-tile):nth-child(3n+2)::after { background-position: -90px 0; }
html.theme-winter :is(.pg-home .h-og, .pg-home .h-slot, .pg-home .h-top-tile):nth-child(3n)::after { background-position: -165px 0; }
/* On the welcome card and the three promo tiles the figures rise over the top
   edge (z-index 1): the drift goes under them (Lukas, 08.11.2026: "die symbole
   sollen vor dem schnee sein"), still above the card ground. */
html.theme-winter :is(.pg-home .h-top-tile, .pg-home .h-top-main)::after { z-index: 0; }
/* the big welcome card and the game frames: a deeper drift */
html.theme-winter :is(.pg-home .h-top-main, .gs-panel, .gs-stage:not(.is-bare))::after { top: -9px; height: 34px; background-size: 272px 34px; }
/* the rain box is small: a lighter dusting */
html.theme-winter .ch-rain::after { top: -6px; height: 22px; background-size: 176px 22px; }

html.theme-winter .hd-link { color: var(--t3); transition: color .2s, background-color .2s, box-shadow .2s; }
html.theme-winter .hd-link:hover { color: var(--snow); background: var(--frost); box-shadow: inset 0 0 0 1px var(--rim); }
html.theme-winter .hd-link.on { color: #fff; background: linear-gradient(180deg, rgba(168, 220, 255, .16), rgba(168, 220, 255, .05)); box-shadow: inset 0 0 0 1px var(--rim-2), 0 0 18px -6px var(--glow); }
html.theme-winter .hd-link[data-nav="games"].on .hd-ico { color: var(--ice-2); }
html.theme-winter .hd-chev { color: var(--t4); }
html.theme-winter .hd-race { background: linear-gradient(180deg, rgba(253, 176, 34, .14), rgba(253, 176, 34, .06)); box-shadow: inset 0 0 0 1px rgba(253, 200, 90, .22); }
html.theme-winter .hd-race:hover, html.theme-winter .hd-race.on { background: linear-gradient(180deg, rgba(253, 176, 34, .22), rgba(253, 176, 34, .1)); }
html.theme-winter .hd-btn-text { color: var(--t2); }
html.theme-winter .hd-btn-text:hover { color: #fff; }

/* ---------- buttons ---------- */
/* The main calls to action: snow-white faces with ice-blue depth and navy text. */
html.theme-winter :is(.hd-btn-primary, .si-submit:not(.si-submit--alt), .pg-home .h-top-btn--main, .pg-home .h-btn--purple) {
  background: linear-gradient(180deg, #ffffff 0%, #e3f3ff 46%, #a9dbff 100%);
  color: var(--navy);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .6);
  transition: filter .2s, box-shadow .2s, transform .2s;
}
html.theme-winter :is(.hd-btn-primary, .si-submit:not(.si-submit--alt), .pg-home .h-top-btn--main, .pg-home .h-btn--purple):hover:not(:disabled) {
  background: linear-gradient(180deg, #ffffff 0%, #eef8ff 40%, #bfe5ff 100%);
  filter: none;
}
html.theme-winter :is(.hd-btn-primary, .si-submit:not(.si-submit--alt), .pg-home .h-top-btn--main, .pg-home .h-btn--purple) {
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .9), inset 0 -3px 0 rgba(30, 110, 190, .45), 0 0 0 1px rgba(168, 220, 255, .5), 0 6px 22px -8px var(--glow) !important;
}
html.theme-winter :is(.hd-btn-primary, .si-submit:not(.si-submit--alt), .pg-home .h-top-btn--main, .pg-home .h-btn--purple):hover:not(:disabled) {
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .95), inset 0 -3px 0 rgba(30, 110, 190, .45), 0 0 0 1px rgba(200, 235, 255, .8), 0 0 26px -4px rgba(140, 210, 255, .75) !important;
}
html.theme-winter .si-submit:disabled { color: rgba(6, 32, 58, .6); }

/* Every other 3D key keeps its own colour (they carry state: cash out, stop,
   win) and gets a frost rim and an icy glow under the pointer. */
html.theme-winter :is(.hd-wallet, .h-btn, .cr-primary, .rr-primary, .mn-primary, .tw-primary, .hl-primary, .bj-primary, .hr-primary, .st-primary, .sn-primary, .lm-primary, .pk-primary, .kn-primary, .dc-primary, .rl-primary, .ml-primary, .db-primary, .cn-primary, .cf-primary, .uno-primary, .sn-play, .rw-btn, .af-btn, .lb-btn, .mw-btn, .ac-btn, .hw-btn, .hw-cta, .fp-btn, .bt-btn, .wd-btn, .dp-btn, .vp-btn--go, .uc-btn, .si-submit--alt, .tr-btn, .cm-btn) {
  transition: filter .2s, box-shadow .2s, background-color .2s, transform .2s;
}
html.theme-winter :is(.hd-wallet, .h-btn, .cr-primary, .rr-primary, .mn-primary, .tw-primary, .hl-primary, .bj-primary, .hr-primary, .st-primary, .sn-primary, .lm-primary, .pk-primary, .kn-primary, .dc-primary, .rl-primary, .ml-primary, .db-primary, .cn-primary, .cf-primary, .uno-primary, .sn-play, .rw-btn, .af-btn, .lb-btn, .mw-btn, .ac-btn, .hw-btn, .hw-cta, .fp-btn, .bt-btn, .wd-btn, .dp-btn, .vp-btn--go, .uc-btn, .si-submit--alt, .tr-btn, .cm-btn):hover:not(:disabled):not([aria-disabled="true"]) {
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .3), inset 0 -3px 0 rgba(0, 0, 0, .3), 0 0 0 1px rgba(190, 228, 255, .35), 0 0 22px -6px var(--glow) !important;
}
html.theme-winter .hd-wallet { background: linear-gradient(180deg, var(--purple), var(--purple-700)); }
html.theme-winter .v3-key:hover:not(:disabled) { filter: brightness(1.08); }

/* Inputs: a sunken sheet of ice, the rim lights up when focused. */
html.theme-winter :is(input[type="text"], input[type="number"], input[type="search"], input[type="email"], input[type="password"], textarea, select):focus {
  box-shadow: 0 0 0 1px rgba(168, 220, 255, .55), 0 0 14px -4px var(--glow);
}

/* ---------- chat column: frosted glass ---------- */
html.theme-winter #v2-chat {
  background: linear-gradient(180deg, rgba(14, 32, 56, .82), rgba(8, 20, 38, .9));
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-right: 1px solid var(--rim);
}
html.theme-winter .ch-rain {
  border-color: var(--rim-2);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(168, 220, 255, .22), transparent 60%),
    linear-gradient(160deg, #18406a, #0f2a49 70%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 6px 20px -10px var(--glow);
}
/* the rain box's grid becomes drifting frost crystals */
html.theme-winter .ch-rain::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d7efff' stroke-width='1.3' stroke-linecap='round'%3E%3Cpath d='M12 2v20M3.3 7l17.4 10M3.3 17l17.4-10M12 5.5 9.8 3.3M12 5.5l2.2-2.2M12 18.5l-2.2 2.2M12 18.5l2.2 2.2'/%3E%3C/svg%3E");
  background-size: 22px 22px; background-position: 6px 4px;
  opacity: .16;
}
html.theme-winter .ch-input { background: rgba(6, 18, 34, .6); box-shadow: inset 0 0 0 1px var(--rim); }
html.theme-winter .ch-input:focus-within { box-shadow: inset 0 0 0 1px rgba(168, 220, 255, .5), 0 0 14px -6px var(--glow); }
html.theme-winter .ch-send { background: linear-gradient(180deg, var(--purple), var(--purple-700)); }
html.theme-winter .ch-dot { background: #5eead4; }
html.theme-winter .v2-fab {
  background: linear-gradient(180deg, rgba(22, 46, 76, .92), rgba(11, 26, 46, .96)); color: #b9e2ff;
  border-color: rgba(168, 220, 255, .28);
  box-shadow: 0 8px 24px -8px var(--glow);
}

/* ---------- menus, sheets, modals, toasts: glass ---------- */
html.theme-winter :is(.v2-menu, .v2-sheet-card) {
  background: linear-gradient(180deg, rgba(22, 46, 76, .9), rgba(11, 26, 46, .94));
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid var(--rim);
}
html.theme-winter .v2-menu { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 18px 40px -12px rgba(0, 0, 0, .7), 0 0 30px -12px var(--glow); }
html.theme-winter .v2-menu .v2-menu-item:not(.off), html.theme-winter .v2-menu-item--tile:not(.off) {
  background: rgba(150, 205, 255, .06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), inset 0 0 0 1px rgba(170, 220, 255, .06);
  transition: background-color .15s, box-shadow .15s;
}
html.theme-winter .v2-menu .v2-menu-item:not(.off):hover, html.theme-winter .v2-menu .v2-menu-item.on, html.theme-winter .v2-menu-item--tile:not(.off):hover {
  background: rgba(150, 205, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 0 0 1px rgba(170, 220, 255, .28), 0 0 16px -8px var(--glow);
}
html.theme-winter .v2-menu-sec-h { color: var(--ice-2); letter-spacing: .6px; }
html.theme-winter .v2-menu-sec-h::before {
  content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 6px; vertical-align: -1px; opacity: .8;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8dcff' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 2v20M3.3 7l17.4 10M3.3 17l17.4-10'/%3E%3C/svg%3E");
}
html.theme-winter .v2-modal-scrim, html.theme-winter .v2-sheet-scrim { background: rgba(4, 12, 24, .62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
html.theme-winter .v2-modal-card {
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(140, 205, 255, .1), transparent 70%),
    linear-gradient(180deg, #102440, #0a1a2e);
  border: 1px solid var(--rim-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 30px 60px -20px rgba(0, 0, 0, .8), 0 0 50px -20px var(--glow);
}
html.theme-winter .si-art { background: #0b2343 url("/design-v2/art/event/winter-signin.svg") center / cover no-repeat; }
html.theme-winter .si-input { background: rgba(5, 15, 30, .65); border-color: var(--rim); }
html.theme-winter .si-input:focus { border-color: rgba(168, 220, 255, .6); box-shadow: 0 0 14px -4px var(--glow); }
html.theme-winter .si-tabs button.on, html.theme-winter .wl-tabs button.on { background: rgba(168, 220, 255, .16); color: #fff; box-shadow: inset 0 0 0 1px var(--rim-2); }
html.theme-winter .v2-toast {
  background: linear-gradient(180deg, rgba(22, 46, 76, .94), rgba(12, 28, 50, .96));
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--rim);
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .7), 0 0 24px -12px var(--glow);
}

/* ---------- panels and cards everywhere ---------- */
/* The game frames (every game page uses parts/game-shell.css) and the bevel
   panels: a frosted face that lets the snow show through faintly, an icy rim
   and a cold highlight along the top edge. */
html.theme-winter :is(.gs-panel, .gs-stage:not(.is-bare), .v2-game-panel) {
  background-color: rgba(15, 32, 53, .9);
  background-image: linear-gradient(180deg, rgba(168, 220, 255, .06), rgba(168, 220, 255, 0) 120px);
  box-shadow: inset 0 1px 0 rgba(220, 240, 255, .1), inset 0 0 0 1px var(--rim), 0 12px 32px -18px rgba(0, 0, 0, .8);
}
html.theme-winter .v3-panel {
  box-shadow: inset 0 1px 0 rgba(220, 240, 255, .12), inset 0 0 0 1px rgba(178, 222, 255, .1), 0 2px 0 rgba(0, 0, 0, .45), 0 8px 22px -10px rgba(0, 0, 0, .55);
}
html.theme-winter .v3-tile { box-shadow: inset 0 1px 0 rgba(220, 240, 255, .14), 0 3px 0 rgba(2, 10, 22, .6), 0 0 0 1px rgba(150, 205, 255, .12); }
html.theme-winter .v3-tile:hover:not(:disabled) { box-shadow: inset 0 1px 0 rgba(220, 240, 255, .2), 0 3px 0 rgba(2, 10, 22, .6), 0 0 0 1px rgba(170, 220, 255, .35), 0 0 18px -6px var(--glow); }
html.theme-winter .gs-toolbar, html.theme-winter .gs-rail { border-color: var(--rim); }

/* ---------- game boards with their own greys: blocks of ice ---------- */
html.theme-winter .pg-mines .mn-board { --mn-face: #22466c; --mn-face-hover: #2c5884; --mn-lip: #122b47; }
html.theme-winter .pg-mines .mn-tile:not(.is-gem):not(.is-bomb) { background-image: linear-gradient(160deg, rgba(225, 242, 255, .16), rgba(225, 242, 255, 0) 55%); }
html.theme-winter .pg-keno .kn-board { background: linear-gradient(180deg, #10233b, #0b1a2d); box-shadow: inset 0 0 0 1px var(--rim); }
html.theme-winter .pg-keno .kn-cell:not(.is-marked):not(.is-drawn):not(.is-hit) {
  background: #1e3d60 linear-gradient(160deg, rgba(225, 242, 255, .12), rgba(225, 242, 255, 0) 55%);
  box-shadow: 0 var(--kn-lip) 0 #11284a; color: #d3e7fb;
}
html.theme-winter .pg-keno .kn-cell:not(.is-marked):not(.is-drawn):not(.is-hit):not(:disabled):hover { background-color: #275079; }
html.theme-winter .pg-keno .kn-cell.is-drawn { background: #11284a; }

/* ---------- home ---------- */
html.theme-winter .pg-home .h-top-main {
  border-color: var(--rim-2);
  background:
    radial-gradient(70% 130% at 88% 100%, rgba(58, 166, 239, .32), transparent 72%),
    radial-gradient(60% 80% at 0% 0%, rgba(168, 220, 255, .1), transparent 70%),
    linear-gradient(180deg, #12294a, #0b1b31);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 18px 40px -22px var(--glow);
}
html.theme-winter .pg-home .h-top-title {
  background: linear-gradient(180deg, #ffffff 40%, #bfe5ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
html.theme-winter .pg-home .h-top-legit { color: #7fe7c4; }
/* the three promo tiles: frosted faces, each keeps a faint glow of its own colour */
html.theme-winter .pg-home .h-top-tile {
  border-color: var(--rim);
  background:
    radial-gradient(110% 70% at 50% 100%, color-mix(in srgb, var(--ac) 24%, transparent), transparent 76%),
    linear-gradient(180deg, rgba(168, 220, 255, .08), rgba(168, 220, 255, 0) 60%),
    #0d1f37;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  transition: transform .25s ease, border-color .25s, box-shadow .25s;
}
html.theme-winter .pg-home .h-top-tile:hover { border-color: rgba(190, 228, 255, .45); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 14px 30px -14px var(--glow); }
html.theme-winter .pg-home .h-top-chip { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 2px 8px -2px rgba(0, 0, 0, .5); }
html.theme-winter .pg-home .h-mq-card { --tint: #3aa6ef; }
html.theme-winter .pg-home .h-mq-card, html.theme-winter .pg-home .h-slot, html.theme-winter .pg-home .h-pin { transition: transform .25s ease, box-shadow .25s ease, filter .25s ease; }
html.theme-winter .pg-home .h-mq-card:hover, html.theme-winter .pg-home .h-slot:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 0 0 1px rgba(190, 228, 255, .5), 0 14px 30px -12px rgba(110, 196, 255, .55);
}
/* The section headings: frosted lettering between two snowflakes. */
html.theme-winter .pg-home .h-sec-t {
  background: linear-gradient(180deg, #ffffff 35%, #a8dcff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 10px rgba(110, 196, 255, .35));
}
html.theme-winter .pg-home .h-sec-t::before, html.theme-winter .pg-home .h-sec-t::after {
  content: ""; display: inline-block; width: 26px; height: 26px; margin: 0 14px; vertical-align: 2px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cfeaff' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M12 2v20M3.3 7l17.4 10M3.3 17l17.4-10M12 5.5 9.8 3.3M12 5.5l2.2-2.2M12 18.5l-2.2 2.2M12 18.5l2.2 2.2M5.6 8.3l-3 .8M5.6 8.3l-.8-3M18.4 15.7l3-.8M18.4 15.7l.8 3M5.6 15.7l-3-.8M5.6 15.7l-.8 3M18.4 8.3l3 .8M18.4 8.3l.8-3'/%3E%3C/svg%3E");
  animation: ww-spin 18s linear infinite;
}
html.theme-winter .pg-home .h-sec-t::after { animation-direction: reverse; }
@keyframes ww-spin { to { transform: rotate(360deg); } }
html.theme-winter .pg-home .h-about { border-color: var(--rim); background: linear-gradient(180deg, rgba(18, 40, 68, .92), rgba(10, 24, 42, .94)); }
html.theme-winter .pg-home .h-lv-tabs { background: rgba(10, 26, 46, .85); box-shadow: inset 0 0 0 1px var(--rim); }
html.theme-winter .pg-home .h-lv-tab.is-on { background: linear-gradient(180deg, var(--purple), var(--purple-700)); box-shadow: 0 0 16px -6px var(--glow); }

/* ---------- the info pages' heroes (help, rewards, levels, legal ...) ----------
   Their violet wash and pixel floor become a cold glow over a field of snowflakes. */
html.theme-winter :is(.pg-help .hp-hero, .pg-rewards .rw-hero, .pg-levels .lv-hero, .pg-legal .lg-head, .pg-media .md-hero, .pg-provably-fair .pf-hero, .pg-how-it-works .hw-hero, .pg-affiliates .af-hero, .pg-affiliate-info .ai-hero, .pg-highroller .hr-hero, .pg-media-panel .mp-hero, .pg-partner .pa-hero, .pg-transcript .tr-head) {
  background:
    radial-gradient(60% 55% at 50% 100%, rgba(58, 166, 239, .3), rgba(58, 166, 239, 0) 100%),
    radial-gradient(40% 40% at 50% 0%, rgba(168, 220, 255, .08), transparent 100%);
}
html.theme-winter :is(.pg-help .hp-hero, .pg-rewards .rw-hero, .pg-levels .lv-hero, .pg-media .md-hero, .pg-provably-fair .pf-hero, .pg-how-it-works .hw-hero, .pg-affiliates .af-hero, .pg-affiliate-info .ai-hero)::after,
html.theme-winter .pg-legal .lg-head::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='none' stroke='%23bfe5ff' stroke-linecap='round'%3E%3Cg stroke-width='1.4' opacity='.55'%3E%3Cpath d='M30 14v28M17.9 21l24.2 14M17.9 35l24.2-14'/%3E%3C/g%3E%3Cg stroke-width='1.1' opacity='.35'%3E%3Cpath d='M92 64v20M83.3 69l17.4 10M83.3 79l17.4-10'/%3E%3C/g%3E%3Cg stroke-width='1' opacity='.25'%3E%3Cpath d='M60 98v14M53.9 101.5l12.2 7M53.9 108.5l12.2-7M104 18v10M99.7 20.5l8.6 5M99.7 25.5l8.6-5'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 120px 120px;
}
html.theme-winter .pg-help .hp-support { background: radial-gradient(80% 75% at 50% 50%, rgba(58, 166, 239, .08) 1%, transparent 100%); }

/* ---------- leftover violet in single pages ---------- */
html.theme-winter .pg-cases .cc-head-art { filter: drop-shadow(0 0 12px rgba(110, 196, 255, .4)); }
html.theme-winter .pg-cases .cc-card-art::before { background: radial-gradient(closest-side, rgba(110, 196, 255, .18), transparent); }
html.theme-winter .pg-cases .cd-inner { background: radial-gradient(60% 55% at 50% 100%, rgba(58, 166, 239, .16), transparent 70%), var(--g700); }
html.theme-winter .pg-cases .cd-inner::before { background: repeating-linear-gradient(90deg, transparent 0 39px, rgba(140, 205, 255, .06) 39px 40px); }
html.theme-winter .pg-cases .cd-idle-wrap::before { background: radial-gradient(closest-side, rgba(110, 196, 255, .45), rgba(110, 196, 255, .15) 55%, transparent); }
html.theme-winter .pg-cases .cd-mark { filter: drop-shadow(0 0 8px rgba(110, 196, 255, .7)); }
html.theme-winter .pg-cases .cd-marks.is-h::after { background: linear-gradient(180deg, var(--purple), rgba(58, 166, 239, .15) 30%, rgba(58, 166, 239, .15) 70%, var(--purple)); }
html.theme-winter .pg-cases .cm-tile.is-on { background: rgba(58, 166, 239, .14); }
html.theme-winter .pg-leaderboard .lb-you.is-ranked { background: rgba(58, 166, 239, .12); }
html.theme-winter .pg-rewards .t-epic { --tier-glow: rgba(58, 166, 239, .35); }
html.theme-winter .pg-coinflip .cf-step.is-next { outline-color: var(--purple); }
html.theme-winter .v2-cur-chk { color: var(--ice-2); }
/* the Highroller mark: gold on ice instead of gold on violet */
html.theme-winter { --hr-violet: #3aa6ef; }
html.theme-winter .hr-mark { background: linear-gradient(135deg, #1b4a7a, #0b1d36); }
html.theme-winter .ch-msg--hr::after {
  background:
    radial-gradient(90% 130% at 100% 0%, rgba(212, 162, 40, .18), transparent 65%),
    linear-gradient(115deg, rgba(58, 166, 239, .22), transparent 70%),
    var(--g800);
}

/* ---------- footer: a snowdrift along the top ---------- */
html.theme-winter #v2-footer {
  position: relative;
  border-top: 0;
  background: linear-gradient(180deg, rgba(10, 26, 46, .9), rgba(5, 13, 25, .97));
}
html.theme-winter #v2-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 20px; pointer-events: none;
  background: no-repeat center bottom / 100% 100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 20' preserveAspectRatio='none'%3E%3Cpath d='M0 14C120 4 240 6 360 11S600 2 760 8 1020 14 1200 6V20H0Z' fill='%23dcefff' opacity='.18'/%3E%3Cpath d='M0 17C160 11 320 13 480 16S800 10 960 14 1120 16 1200 13V20H0Z' fill='%230a1a2e' opacity='.9'/%3E%3C/svg%3E");
}
/* the purple city picture gives way to a snowy village at night (art/event/winter-scene.svg) */
html.theme-winter .ft-scene-box {
  background: #0b2140 url("/design-v2/art/event/winter-scene.svg") center / cover no-repeat;
  box-shadow: inset 0 0 0 1px var(--rim), 0 16px 40px -20px var(--glow);
}
html.theme-winter .ft-scene-box img { visibility: hidden; }
html.theme-winter .ft-col h4 { color: var(--ice-2); }
html.theme-winter .ft-col a:hover, html.theme-winter .ft-bottom a:hover { color: #fff; text-shadow: 0 0 10px var(--glow); }
html.theme-winter .ft-soc { background: var(--frost); box-shadow: inset 0 0 0 1px var(--rim); transition: background-color .2s, box-shadow .2s; }
html.theme-winter .ft-soc:hover { background: var(--frost-2); box-shadow: inset 0 0 0 1px var(--rim-2), 0 0 16px -6px var(--glow); }

/* ---------- phone bottom bar ---------- */
html.theme-winter #v2-bottom {
  background: rgba(8, 20, 38, .8);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  border-top: 1px solid var(--rim);
}
html.theme-winter .bn-btn.on, html.theme-winter .bn-btn.open { color: var(--ice-2); text-shadow: 0 0 12px var(--glow); }

/* ---------- motion and small screens ---------- */
@media (prefers-reduced-motion: reduce) {
  html.theme-winter .pg-home .h-sec-t::before, html.theme-winter .pg-home .h-sec-t::after { animation: none; }
  html.theme-winter .pg-home .h-mq-card:hover, html.theme-winter .pg-home .h-slot:hover { transform: none; }
}
@media (max-width: 760px) {
  /* A fixed background repaints on every scroll on phones: it scrolls with the
     page there, and the glass gets a lighter blur. */
  html.theme-winter {
    background:
      var(--ww-land) center bottom / 240% auto no-repeat,
      radial-gradient(circle at 82% 118px, rgba(244, 250, 255, .95) 0 16px, rgba(205, 230, 255, .26) 18px, rgba(160, 205, 255, .08) 54px, transparent 140px) no-repeat,
      radial-gradient(140% 520px at 10% 0, rgba(94, 234, 212, .08), transparent 70%) no-repeat,
      linear-gradient(180deg, #050d19 0, #081629 700px, #0d2341 100%);
    background-color: #07111f;
  }
  html.theme-winter :is(#v2-header, #v2-chat, #v2-bottom, .v2-menu, .v2-sheet-card) { -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  html.theme-winter .pg-home .h-sec-t::before, html.theme-winter .pg-home .h-sec-t::after { width: 18px; height: 18px; margin: 0 8px; }
  html.theme-winter .hd-logo::after { display: none; }
}
