/* Per-theme "world" look for the site (hand-authored; themes.css is the generated game palette).
   --world       tint the grass tile is recoloured to (CSS blend mode "color": keeps the tile's pixel pattern and
                 lightness, takes the tint's hue/saturation)
   --veil        flat overlay on the grass: darkens dark themes, washes out the light one
   --ribbon-hue / --ribbon-sat   re-colour the red title ribbon (hue-rotate from its original red)
   The sprites themselves are never recoloured. */
:root, :root[data-theme="default"]      { --world: #6fba58; --veil: rgba(0, 0, 0, 0);       --ribbon-hue: 0deg;   --ribbon-sat: 1; }
:root[data-theme="forest"]              { --world: #4f9a3e; --veil: rgba(0, 20, 0, 0.30);   --ribbon-hue: 350deg; --ribbon-sat: 0.9; }
:root[data-theme="ocean"]               { --world: #3fa6b8; --veil: rgba(0, 10, 40, 0.22);  --ribbon-hue: 205deg; --ribbon-sat: 1; }
:root[data-theme="sunset"]              { --world: #e0806c; --veil: rgba(50, 0, 40, 0.22);  --ribbon-hue: 335deg; --ribbon-sat: 1.1; }
:root[data-theme="midnight"]            { --world: #5560b8; --veil: rgba(4, 4, 34, 0.58);   --ribbon-hue: 255deg; --ribbon-sat: 0.9; }
:root[data-theme="amethyst"]            { --world: #9a62c8; --veil: rgba(24, 0, 36, 0.28);  --ribbon-hue: 290deg; --ribbon-sat: 1; }
:root[data-theme="autumn"]              { --world: #c98a3a; --veil: rgba(34, 12, 0, 0.18);  --ribbon-hue: 18deg;  --ribbon-sat: 1.1; }
:root[data-theme="rose-quartz"]         { --world: #d98aa6; --veil: rgba(40, 10, 24, 0.08); --ribbon-hue: 342deg; --ribbon-sat: 0.9; }
:root[data-theme="volcanic"]            { --world: #9a3a28; --veil: rgba(10, 0, 0, 0.55);   --ribbon-hue: 16deg;  --ribbon-sat: 1.2; }
:root[data-theme="hc-dark"]             { --world: #000;    --veil: rgba(0, 0, 0, 0.82);    --ribbon-hue: 0deg;   --ribbon-sat: 1; }
:root[data-theme="hc-light"]            { --world: #fff;    --veil: rgba(255, 255, 255, 0.86); --ribbon-hue: 0deg; --ribbon-sat: 1; }
:root[data-theme="cb-red-green"]        { --world: #4a90c8; --veil: rgba(0, 0, 0, 0.10);    --ribbon-hue: 30deg;  --ribbon-sat: 1; }
:root[data-theme="cb-blue-yellow"]      { --world: #4fb6b6; --veil: rgba(0, 0, 0, 0.08);    --ribbon-hue: 335deg; --ribbon-sat: 1; }
:root[data-theme="cb-mono"]             { --world: #8a8a8a; --veil: rgba(0, 0, 0, 0.10);    --ribbon-hue: 0deg;   --ribbon-sat: 0; }
