/* The SNOW skin (51-v11, night): its navy and lavender, the gradient title bars with a pale edge,
   warm window-light yellow for highlights. The wallpaper and the snow come from snow.js. --page is the wallpaper tile's own colour, so the page doesn't
   change brightness when the wallpaper lands. */
:root { --page: #1f2744; --panel: #1a1f48; --head: linear-gradient(90deg, #6a5bc0, #343c86 60%, #232a5e); --head-edge: 4px solid #b8a8f0;
        --title: #ffffff; --line: #4b4f8c; --dots: #343a78; --ink: #e9e8f8; --mute: #a3a5cc; --accent: #c8bcf4; --accent-ink: #141838;
        --track: #232a5e; --field: #0e1236; --btn: #343c86; --btn-line: #8f78d8; --tag: #f8d58c; --tag-ink: #141838;
        --heart: #f2a6bf; --heart-hi: #fff0f5; --good: #a8e6c0; --fair: #f8d58c; --poor: #f3a07e; --bad: #ec7085; --shadow: #0a0c22;
        --crop: center 88%; --flake: rgba(255, 255, 255, .95); --flake-rim: rgba(230, 228, 245, .3); }
.ph b { text-shadow: 1px 1px 0 #0a0c22; }
/* The picture before it has loaded: itself at 32 x 24, soft from being scaled up, in the same crop. The canvas
   (snow.js) is see-through until the real one is drawn on it. */
.banner { background: var(--panel) url("data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD//gAPTGF2YzYzLjEuMTAyAP/bAEMAEgwNEA0LEhAOEBQTEhUbLB0bGBgbNicpICxAOURDPzk+PUdQZldHS2FNPT5ZeVphaW1yc3JFVX2GfG+FZnBybv/bAEMBExQUGxcbNB0dNG5JPklubm5ubm5ubm5ubm5ubm5ubm5ubm5ubm5ubm5ubm5ubm5ubm5ubm5ubm5ubm5ubm5ubv/AABEIABgAIAMBIgACEQEDEQH/xAAaAAACAgMAAAAAAAAAAAAAAAAABAIDAQUG/8QAJBAAAgIBAwQCAwAAAAAAAAAAAQIDEQAEEiEFMVFhQXETMqH/xAAXAQADAQAAAAAAAAAAAAAAAAAAAQID/8QAFxEBAQEBAAAAAAAAAAAAAAAAAAESEf/aAAwDAQACEQMRAD8A6GRgw3OpI9HJbzEhkdG2WB+2LjWogSRomdFNkob235Ayk6hXjdPzB42oq5PP1muqyzDglQ8hLU++wyRMJ73d0PfvNe7RuC8O0eY+bB+aOYVnIVi9C+B3Jw1RmE4oWlmMcDMJR3CmjXzlidL1DyFAjBhyS3n7wwybVSHoujSxnduiLX2N1/Msl0OoDFlVGJHNHDDF0+P/2Q==") var(--crop) / cover no-repeat; }
/* Outlined lettering over the busy snowy picture, as the header images of the time did. */
.banner .name, .banner .clock { text-shadow: -1px -1px 0 #141838, 1px -1px 0 #141838, -1px 1px 0 #141838, 1px 1px 0 #141838, 2px 2px 0 #141838, 0 0 6px #c8c0ff; }

/* Soft round snow in three layers, behind the panels. */
.snow { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.snow i { position: absolute; top: 0; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%; opacity: var(--o);
          background: radial-gradient(circle closest-side, var(--flake) 0, var(--flake) var(--core), var(--flake-rim) 72%, transparent);
          animation: drift var(--d) linear var(--delay) infinite; }
@keyframes drift { from { transform: translate(0, -24px); } to { transform: translate(var(--sw), calc(100vh + 24px)); } }
/* Square, unblurred snow down the picture, like the snow scripts of the time. */
.fall { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.fall i { position: absolute; top: -6px; background: #fff; animation: fall linear infinite; }
@keyframes fall { to { top: 101%; transform: translateX(var(--sway)); } }
@media (prefers-reduced-motion: reduce) {
  .snow i { animation: none; transform: translate(0, var(--rest)); }
  .fall i { animation: none; top: var(--rest); }
}
