/* The site's background, on every page: linked by all three layouts, after their own stylesheet (Site.css, or
   Home.css on the sign-in pages). It stays put while the page scrolls over it.

   There are three, and each visitor picks: in the theme dropdown, under the themes (_ThemeSelector.cshtml). The
   pick is kept in their browser (localStorage "site-bg") and put on the page as <html data-site-bg="...">
   by a line of script beside this file's link in each layout, before anything is drawn.

     Panes (the one a visitor gets who hasn't picked; no attribute): four sheets of tinted glass, one in each
       corner of the window and turned a little, each with a lit edge and a soft shadow under it.
     Ridges (data-site-bg="ridges"): three ranges of hills along the foot of the window, one behind another and
       paler the further off, under a soft sun.
     Plain (data-site-bg="plain"): the site's first background - the theme's own ground colour with its soft
       wash of violet and blue over it (--body-background and --body-div-background, in the theme files).

   To add another: its pictures here, as below, and a button for it in _ThemeSelector.cshtml.

   Each has a picture for the light theme and one for the dark, and how they are laid out, all kept in variables -
   so the theme and the pick can change them without a stronger selector. The rule itself is kept as weak as a
   rule on .body-background can be, so that a page with a background of its own still wins: the games that ask
   for one (.custom-background, and Fruit Frenzy, which marks its with data-difficulty) are left out altogether,
   and Blast Crew sets its own on .body-background with a rule that counts for more than this one. */
:root {
    --site-bg-ground: #F4F5FB;
    --site-bg-layers: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%201600%201000%27%20preserveAspectRatio%3D%27xMidYMid%20slice%27%3E%3Cdefs%3E%3Cfilter%20id%3D%27s%27%20x%3D%27-20%25%27%20y%3D%27-20%25%27%20width%3D%27140%25%27%20height%3D%27140%25%27%3E%3CfeGaussianBlur%20stdDeviation%3D%2726%27%2F%3E%3C%2Ffilter%3E%3ClinearGradient%20id%3D%27g1%27%20x1%3D%270%27%20y1%3D%270%27%20x2%3D%271%27%20y2%3D%271%27%3E%3Cstop%20offset%3D%270%27%20stop-color%3D%27%23C9C2FF%27%2F%3E%3Cstop%20offset%3D%271%27%20stop-color%3D%27%23DDEBFF%27%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%27g2%27%20x1%3D%270%27%20y1%3D%270%27%20x2%3D%271%27%20y2%3D%271%27%3E%3Cstop%20offset%3D%270%27%20stop-color%3D%27%23BFE6FF%27%2F%3E%3Cstop%20offset%3D%271%27%20stop-color%3D%27%23E6E0FF%27%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%27g3%27%20x1%3D%270%27%20y1%3D%270%27%20x2%3D%271%27%20y2%3D%271%27%3E%3Cstop%20offset%3D%270%27%20stop-color%3D%27%23FFD3C8%27%2F%3E%3Cstop%20offset%3D%271%27%20stop-color%3D%27%23E9E2FF%27%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cg%20transform%3D%27rotate(14%201360%20120)%27%3E%3Crect%20x%3D%27994%27%20y%3D%27-138%27%20width%3D%27760%27%20height%3D%27560%27%20rx%3D%2744%27%20fill%3D%27rgba(60%2C64%2C140%2C.16)%27%20filter%3D%27url(%23s)%27%2F%3E%3Crect%20x%3D%27980%27%20y%3D%27-160%27%20width%3D%27760%27%20height%3D%27560%27%20rx%3D%2744%27%20fill%3D%27url(%23g2)%27%20fill-opacity%3D%270.55%27%2F%3E%3Crect%20x%3D%27980%27%20y%3D%27-160%27%20width%3D%27760%27%20height%3D%27560%27%20rx%3D%2744%27%20fill%3D%27none%27%20stroke%3D%27rgba(255%2C255%2C255%2C.9)%27%20stroke-width%3D%272%27%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%27rotate(-12%20190%20830)%27%3E%3Crect%20x%3D%27-206%27%20y%3D%27542%27%20width%3D%27820%27%20height%3D%27620%27%20rx%3D%2744%27%20fill%3D%27rgba(60%2C64%2C140%2C.16)%27%20filter%3D%27url(%23s)%27%2F%3E%3Crect%20x%3D%27-220%27%20y%3D%27520%27%20width%3D%27820%27%20height%3D%27620%27%20rx%3D%2744%27%20fill%3D%27url(%23g3)%27%20fill-opacity%3D%270.5%27%2F%3E%3Crect%20x%3D%27-220%27%20y%3D%27520%27%20width%3D%27820%27%20height%3D%27620%27%20rx%3D%2744%27%20fill%3D%27none%27%20stroke%3D%27rgba(255%2C255%2C255%2C.9)%27%20stroke-width%3D%272%27%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%27rotate(-18%20190%2040)%27%3E%3Crect%20x%3D%27-146%27%20y%3D%27-198%27%20width%3D%27700%27%20height%3D%27520%27%20rx%3D%2744%27%20fill%3D%27rgba(60%2C64%2C140%2C.16)%27%20filter%3D%27url(%23s)%27%2F%3E%3Crect%20x%3D%27-160%27%20y%3D%27-220%27%20width%3D%27700%27%20height%3D%27520%27%20rx%3D%2744%27%20fill%3D%27url(%23g1)%27%20fill-opacity%3D%270.7%27%2F%3E%3Crect%20x%3D%27-160%27%20y%3D%27-220%27%20width%3D%27700%27%20height%3D%27520%27%20rx%3D%2744%27%20fill%3D%27none%27%20stroke%3D%27rgba(255%2C255%2C255%2C.9)%27%20stroke-width%3D%272%27%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%27rotate(20%201410%20880)%27%3E%3Crect%20x%3D%271074%27%20y%3D%27622%27%20width%3D%27700%27%20height%3D%27560%27%20rx%3D%2744%27%20fill%3D%27rgba(60%2C64%2C140%2C.16)%27%20filter%3D%27url(%23s)%27%2F%3E%3Crect%20x%3D%271060%27%20y%3D%27600%27%20width%3D%27700%27%20height%3D%27560%27%20rx%3D%2744%27%20fill%3D%27url(%23g1)%27%20fill-opacity%3D%270.65%27%2F%3E%3Crect%20x%3D%271060%27%20y%3D%27600%27%20width%3D%27700%27%20height%3D%27560%27%20rx%3D%2744%27%20fill%3D%27none%27%20stroke%3D%27rgba(255%2C255%2C255%2C.9)%27%20stroke-width%3D%272%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
    --site-bg-size: cover;
    --site-bg-place: 50% 50%;
}
body[data-theme="Dark"] {
    --site-bg-ground: #0A0C18;
    --site-bg-layers: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%201600%201000%27%20preserveAspectRatio%3D%27xMidYMid%20slice%27%3E%3Cdefs%3E%3Cfilter%20id%3D%27s%27%20x%3D%27-20%25%27%20y%3D%27-20%25%27%20width%3D%27140%25%27%20height%3D%27140%25%27%3E%3CfeGaussianBlur%20stdDeviation%3D%2726%27%2F%3E%3C%2Ffilter%3E%3ClinearGradient%20id%3D%27g1%27%20x1%3D%270%27%20y1%3D%270%27%20x2%3D%271%27%20y2%3D%271%27%3E%3Cstop%20offset%3D%270%27%20stop-color%3D%27%233B2F9A%27%2F%3E%3Cstop%20offset%3D%271%27%20stop-color%3D%27%2312224A%27%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%27g2%27%20x1%3D%270%27%20y1%3D%270%27%20x2%3D%271%27%20y2%3D%271%27%3E%3Cstop%20offset%3D%270%27%20stop-color%3D%27%230E4C68%27%2F%3E%3Cstop%20offset%3D%271%27%20stop-color%3D%27%23221A5A%27%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%27g3%27%20x1%3D%270%27%20y1%3D%270%27%20x2%3D%271%27%20y2%3D%271%27%3E%3Cstop%20offset%3D%270%27%20stop-color%3D%27%235A1E4E%27%2F%3E%3Cstop%20offset%3D%271%27%20stop-color%3D%27%231A1648%27%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cg%20transform%3D%27rotate(14%201360%20120)%27%3E%3Crect%20x%3D%27994%27%20y%3D%27-138%27%20width%3D%27760%27%20height%3D%27560%27%20rx%3D%2744%27%20fill%3D%27rgba(0%2C0%2C0%2C.5)%27%20filter%3D%27url(%23s)%27%2F%3E%3Crect%20x%3D%27980%27%20y%3D%27-160%27%20width%3D%27760%27%20height%3D%27560%27%20rx%3D%2744%27%20fill%3D%27url(%23g2)%27%20fill-opacity%3D%270.7%27%2F%3E%3Crect%20x%3D%27980%27%20y%3D%27-160%27%20width%3D%27760%27%20height%3D%27560%27%20rx%3D%2744%27%20fill%3D%27none%27%20stroke%3D%27rgba(170%2C178%2C255%2C.34)%27%20stroke-width%3D%272%27%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%27rotate(-12%20190%20830)%27%3E%3Crect%20x%3D%27-206%27%20y%3D%27542%27%20width%3D%27820%27%20height%3D%27620%27%20rx%3D%2744%27%20fill%3D%27rgba(0%2C0%2C0%2C.5)%27%20filter%3D%27url(%23s)%27%2F%3E%3Crect%20x%3D%27-220%27%20y%3D%27520%27%20width%3D%27820%27%20height%3D%27620%27%20rx%3D%2744%27%20fill%3D%27url(%23g3)%27%20fill-opacity%3D%270.65%27%2F%3E%3Crect%20x%3D%27-220%27%20y%3D%27520%27%20width%3D%27820%27%20height%3D%27620%27%20rx%3D%2744%27%20fill%3D%27none%27%20stroke%3D%27rgba(170%2C178%2C255%2C.34)%27%20stroke-width%3D%272%27%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%27rotate(-18%20190%2040)%27%3E%3Crect%20x%3D%27-146%27%20y%3D%27-198%27%20width%3D%27700%27%20height%3D%27520%27%20rx%3D%2744%27%20fill%3D%27rgba(0%2C0%2C0%2C.5)%27%20filter%3D%27url(%23s)%27%2F%3E%3Crect%20x%3D%27-160%27%20y%3D%27-220%27%20width%3D%27700%27%20height%3D%27520%27%20rx%3D%2744%27%20fill%3D%27url(%23g1)%27%20fill-opacity%3D%270.85%27%2F%3E%3Crect%20x%3D%27-160%27%20y%3D%27-220%27%20width%3D%27700%27%20height%3D%27520%27%20rx%3D%2744%27%20fill%3D%27none%27%20stroke%3D%27rgba(170%2C178%2C255%2C.34)%27%20stroke-width%3D%272%27%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%27rotate(20%201410%20880)%27%3E%3Crect%20x%3D%271074%27%20y%3D%27622%27%20width%3D%27700%27%20height%3D%27560%27%20rx%3D%2744%27%20fill%3D%27rgba(0%2C0%2C0%2C.5)%27%20filter%3D%27url(%23s)%27%2F%3E%3Crect%20x%3D%271060%27%20y%3D%27600%27%20width%3D%27700%27%20height%3D%27560%27%20rx%3D%2744%27%20fill%3D%27url(%23g1)%27%20fill-opacity%3D%270.8%27%2F%3E%3Crect%20x%3D%271060%27%20y%3D%27600%27%20width%3D%27700%27%20height%3D%27560%27%20rx%3D%2744%27%20fill%3D%27none%27%20stroke%3D%27rgba(170%2C178%2C255%2C.34)%27%20stroke-width%3D%272%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
}
:root[data-site-bg="ridges"] {
    --site-bg-layers: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%201440%20400%27%20preserveAspectRatio%3D%27none%27%3E%3Cpath%20d%3D%27M0%20110c220-80%20370%200%20570-30s300-50%20450%200%20270%2030%20420-40V400H0z%27%20fill%3D%27rgba(96%2C104%2C220%2C.36)%27%2F%3E%3C%2Fsvg%3E"),url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%201440%20400%27%20preserveAspectRatio%3D%27none%27%3E%3Cpath%20d%3D%27M0%2060c170%2070%20330-30%20510%2010s270%2070%20450%2020%20310-60%20480%2010V400H0z%27%20fill%3D%27rgba(112%2C132%2C236%2C.28)%27%2F%3E%3C%2Fsvg%3E"),url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%201440%20400%27%20preserveAspectRatio%3D%27none%27%3E%3Cpath%20d%3D%27M0%20120C200%2040%20360%20100%20540%2070S860%2010%201040%2060s260%2050%20400-20V400H0z%27%20fill%3D%27rgba(148%2C150%2C236%2C.22)%27%2F%3E%3C%2Fsvg%3E"),radial-gradient(42vw 42vh at 72% 34%,rgba(255,196,150,.50),rgba(255,160,150,.18) 40%,transparent 70%),linear-gradient(180deg,#E6ECFB 0,#F4F5FB 55%);
    --site-bg-size: 100% 16vh,100% 27vh,100% 38vh,auto,auto;
    --site-bg-place: 50% 100%,50% 100%,50% 100%,0 0,0 0;
}
:root[data-site-bg="ridges"] body[data-theme="Dark"] {
    --site-bg-layers: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%201440%20400%27%20preserveAspectRatio%3D%27none%27%3E%3Cpath%20d%3D%27M0%20110c220-80%20370%200%20570-30s300-50%20450%200%20270%2030%20420-40V400H0z%27%20fill%3D%27rgba(36%2C40%2C118%2C.56)%27%2F%3E%3C%2Fsvg%3E"),url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%201440%20400%27%20preserveAspectRatio%3D%27none%27%3E%3Cpath%20d%3D%27M0%2060c170%2070%20330-30%20510%2010s270%2070%20450%2020%20310-60%20480%2010V400H0z%27%20fill%3D%27rgba(70%2C76%2C180%2C.36)%27%2F%3E%3C%2Fsvg%3E"),url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%201440%20400%27%20preserveAspectRatio%3D%27none%27%3E%3Cpath%20d%3D%27M0%20120C200%2040%20360%20100%20540%2070S860%2010%201040%2060s260%2050%20400-20V400H0z%27%20fill%3D%27rgba(112%2C108%2C224%2C.24)%27%2F%3E%3C%2Fsvg%3E"),radial-gradient(42vw 42vh at 72% 34%,rgba(236,110,160,.24),rgba(124,108,255,.12) 42%,transparent 70%),linear-gradient(180deg,#0B0F26 0,#0A0C18 55%);
}
/* (Said for the dark theme as well, or its Panes - set on body, above - would be nearer than this and win.) */
:root[data-site-bg="plain"], :root[data-site-bg="plain"] body[data-theme="Dark"] {
    --site-bg-ground: var(--body-background);
    --site-bg-layers: var(--body-div-background);
    --site-bg-size: cover;
    --site-bg-place: 0 0;
}
.body-background:where(:not(.custom-background):not([data-difficulty])) {
    background-color: var(--site-bg-ground);
    background-image: var(--site-bg-layers);
    background-size: var(--site-bg-size);
    background-repeat: no-repeat;
    background-position: var(--site-bg-place);
    background-attachment: fixed;
}
