/* ================================================================ Christmas event
   Everything below only applies while the admin panel has the Christmas event on (header.php adds "ev-christmas" to <html> and loads this file).
   The site keeps its own look; this adds a festive background, lights, ornaments and small touches. Snow and lights are a few large layers moved with transform / opacity only. */
html.ev-christmas { scrollbar-color: #c9444a rgba(255, 255, 255, .06); }
html.ev-christmas ::selection { background: #e5484d; color: #fff; }

/* --- the animated background of the site, in Christmas colours */
html.ev-christmas .site-background { background: radial-gradient(120% 90% at 50% 0%, #0c1522 0%, #07101a 55%, #04080d 100%); }
html.ev-christmas .rd-bg-aurora-a { background: radial-gradient(closest-side, rgba(229, 72, 77, .24), rgba(229, 72, 77, 0)); }
html.ev-christmas .rd-bg-aurora-b { background: radial-gradient(closest-side, rgba(47, 179, 109, .2), rgba(47, 179, 109, 0)); }
html.ev-christmas .rd-bg-aurora-c { background: radial-gradient(closest-side, rgba(246, 196, 83, .13), rgba(246, 196, 83, 0)); }
html.ev-christmas .rd-bg-grid { background-image: linear-gradient(rgba(255, 235, 220, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 235, 220, .06) 1px, transparent 1px); }
html.ev-christmas .rd-bg-rings { stroke: rgba(255, 220, 190, .08); }
html.ev-christmas .rd-bg-rings-b { stroke: rgba(150, 235, 190, .07); }
html.ev-christmas .rd-bg-beam { background: linear-gradient(90deg, transparent, rgba(255, 205, 160, .11), transparent); }
html.ev-christmas .rd-bg-beam-b { background: linear-gradient(90deg, transparent, rgba(130, 235, 180, .09), transparent); }

/* --- the layer with the decorations */
#ev-xmas { position: fixed; z-index: 60; inset: 0; overflow: hidden; pointer-events: none; --ev-left: var(--rail-w, 76px); --ev-top: 0px; }
#ev-xmas > * { pointer-events: none; }

/* snow: three layers of different size and speed, falling and swaying */
.ev-snow { position: absolute; left: -60px; top: calc(var(--sz) * -1); width: calc(100% + 120px); height: calc(100% + var(--sz)); background-repeat: repeat; will-change: transform; backface-visibility: hidden; }
.ev-s1 { --sz: 420px; background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22420%22%20height%3D%22420%22%20viewBox%3D%220%200%20420%20420%22%3E%3Cg%3E%3Ccircle%20cx%3D%22117.8%22%20cy%3D%22148.7%22%20r%3D%220.98%22%20fill%3D%22%23fff%22%20opacity%3D%220.58%22%2F%3E%3Ccircle%20cx%3D%22352.6%22%20cy%3D%2239.4%22%20r%3D%221.37%22%20fill%3D%22%23fff%22%20opacity%3D%220.87%22%2F%3E%3Ccircle%20cx%3D%2292.0%22%20cy%3D%22328.6%22%20r%3D%220.92%22%20fill%3D%22%23fff%22%20opacity%3D%220.67%22%2F%3E%3Ccircle%20cx%3D%22150.3%22%20cy%3D%22217.6%22%20r%3D%221.06%22%20fill%3D%22%23fff%22%20opacity%3D%220.84%22%2F%3E%3Ccircle%20cx%3D%22201.3%22%20cy%3D%22279.4%22%20r%3D%221.08%22%20fill%3D%22%23fff%22%20opacity%3D%220.73%22%2F%3E%3Ccircle%20cx%3D%22306.0%22%20cy%3D%22322.5%22%20r%3D%220.93%22%20fill%3D%22%23fff%22%20opacity%3D%220.57%22%2F%3E%3Ccircle%20cx%3D%2255.7%22%20cy%3D%22241.4%22%20r%3D%221.02%22%20fill%3D%22%23fff%22%20opacity%3D%220.57%22%2F%3E%3Ccircle%20cx%3D%22384.7%22%20cy%3D%22336.3%22%20r%3D%221.06%22%20fill%3D%22%23fff%22%20opacity%3D%220.88%22%2F%3E%3Ccircle%20cx%3D%2224.0%22%20cy%3D%22153.5%22%20r%3D%221.66%22%20fill%3D%22%23fff%22%20opacity%3D%220.90%22%2F%3E%3Ccircle%20cx%3D%2292.3%22%20cy%3D%22358.2%22%20r%3D%220.90%22%20fill%3D%22%23fff%22%20opacity%3D%220.63%22%2F%3E%3Ccircle%20cx%3D%22363.0%22%20cy%3D%22313.3%22%20r%3D%221.01%22%20fill%3D%22%23fff%22%20opacity%3D%220.97%22%2F%3E%3Ccircle%20cx%3D%2268.0%22%20cy%3D%22194.4%22%20r%3D%221.38%22%20fill%3D%22%23fff%22%20opacity%3D%220.82%22%2F%3E%3Ccircle%20cx%3D%22174.1%22%20cy%3D%22108.7%22%20r%3D%221.23%22%20fill%3D%22%23fff%22%20opacity%3D%220.83%22%2F%3E%3Ccircle%20cx%3D%2223.6%22%20cy%3D%22316.6%22%20r%3D%221.13%22%20fill%3D%22%23fff%22%20opacity%3D%220.61%22%2F%3E%3Ccircle%20cx%3D%22289.2%22%20cy%3D%22169.0%22%20r%3D%220.90%22%20fill%3D%22%23fff%22%20opacity%3D%220.81%22%2F%3E%3Ccircle%20cx%3D%22413.9%22%20cy%3D%2262.9%22%20r%3D%221.00%22%20fill%3D%22%23fff%22%20opacity%3D%220.62%22%2F%3E%3Ccircle%20cx%3D%22216.5%22%20cy%3D%22118.5%22%20r%3D%220.90%22%20fill%3D%22%23fff%22%20opacity%3D%220.70%22%2F%3E%3Ccircle%20cx%3D%22214.9%22%20cy%3D%2287.6%22%20r%3D%221.39%22%20fill%3D%22%23fff%22%20opacity%3D%220.79%22%2F%3E%3Ccircle%20cx%3D%22258.8%22%20cy%3D%22162.6%22%20r%3D%220.96%22%20fill%3D%22%23fff%22%20opacity%3D%220.62%22%2F%3E%3Ccircle%20cx%3D%22291.7%22%20cy%3D%22408.4%22%20r%3D%220.91%22%20fill%3D%22%23fff%22%20opacity%3D%220.56%22%2F%3E%3Ccircle%20cx%3D%22155.7%22%20cy%3D%22332.4%22%20r%3D%220.99%22%20fill%3D%22%23fff%22%20opacity%3D%220.70%22%2F%3E%3Ccircle%20cx%3D%22405.9%22%20cy%3D%22231.1%22%20r%3D%221.03%22%20fill%3D%22%23fff%22%20opacity%3D%220.87%22%2F%3E%3Ccircle%20cx%3D%2218.3%22%20cy%3D%22270.2%22%20r%3D%221.51%22%20fill%3D%22%23fff%22%20opacity%3D%220.72%22%2F%3E%3Ccircle%20cx%3D%22163.1%22%20cy%3D%22373.1%22%20r%3D%220.94%22%20fill%3D%22%23fff%22%20opacity%3D%220.77%22%2F%3E%3Ccircle%20cx%3D%22257.2%22%20cy%3D%22379.1%22%20r%3D%221.65%22%20fill%3D%22%23fff%22%20opacity%3D%220.65%22%2F%3E%3Ccircle%20cx%3D%22191.5%22%20cy%3D%2249.0%22%20r%3D%221.26%22%20fill%3D%22%23fff%22%20opacity%3D%220.86%22%2F%3E%3Ccircle%20cx%3D%22101.2%22%20cy%3D%22219.4%22%20r%3D%221.03%22%20fill%3D%22%23fff%22%20opacity%3D%220.85%22%2F%3E%3Ccircle%20cx%3D%22256.0%22%20cy%3D%22376.0%22%20r%3D%221.15%22%20fill%3D%22%23fff%22%20opacity%3D%220.83%22%2F%3E%3Ccircle%20cx%3D%2244.6%22%20cy%3D%22323.3%22%20r%3D%221.21%22%20fill%3D%22%23fff%22%20opacity%3D%220.87%22%2F%3E%3Ccircle%20cx%3D%2278.0%22%20cy%3D%22182.7%22%20r%3D%221.39%22%20fill%3D%22%23fff%22%20opacity%3D%220.71%22%2F%3E%3Ccircle%20cx%3D%224.2%22%20cy%3D%2228.8%22%20r%3D%220.91%22%20fill%3D%22%23fff%22%20opacity%3D%220.59%22%2F%3E%3Ccircle%20cx%3D%22382.8%22%20cy%3D%22181.7%22%20r%3D%221.24%22%20fill%3D%22%23fff%22%20opacity%3D%220.72%22%2F%3E%3Ccircle%20cx%3D%22176.3%22%20cy%3D%22376.3%22%20r%3D%221.61%22%20fill%3D%22%23fff%22%20opacity%3D%220.89%22%2F%3E%3Ccircle%20cx%3D%2266.0%22%20cy%3D%22272.3%22%20r%3D%221.08%22%20fill%3D%22%23fff%22%20opacity%3D%220.77%22%2F%3E%3Ccircle%20cx%3D%2263.4%22%20cy%3D%22138.0%22%20r%3D%221.07%22%20fill%3D%22%23fff%22%20opacity%3D%220.78%22%2F%3E%3Ccircle%20cx%3D%22173.8%22%20cy%3D%22264.3%22%20r%3D%221.17%22%20fill%3D%22%23fff%22%20opacity%3D%220.82%22%2F%3E%3Ccircle%20cx%3D%22208.6%22%20cy%3D%22207.5%22%20r%3D%220.99%22%20fill%3D%22%23fff%22%20opacity%3D%220.84%22%2F%3E%3Ccircle%20cx%3D%22296.1%22%20cy%3D%22320.1%22%20r%3D%221.32%22%20fill%3D%22%23fff%22%20opacity%3D%220.89%22%2F%3E%3Ccircle%20cx%3D%2238.8%22%20cy%3D%22299.4%22%20r%3D%220.99%22%20fill%3D%22%23fff%22%20opacity%3D%220.83%22%2F%3E%3Ccircle%20cx%3D%22130.8%22%20cy%3D%22289.5%22%20r%3D%221.21%22%20fill%3D%22%23fff%22%20opacity%3D%220.58%22%2F%3E%3Ccircle%20cx%3D%2261.7%22%20cy%3D%22302.9%22%20r%3D%221.51%22%20fill%3D%22%23fff%22%20opacity%3D%220.98%22%2F%3E%3Ccircle%20cx%3D%2243.6%22%20cy%3D%22407.7%22%20r%3D%221.47%22%20fill%3D%22%23fff%22%20opacity%3D%220.93%22%2F%3E%3Ccircle%20cx%3D%22170.9%22%20cy%3D%22119.7%22%20r%3D%220.97%22%20fill%3D%22%23fff%22%20opacity%3D%221.00%22%2F%3E%3Ccircle%20cx%3D%22212.7%22%20cy%3D%2266.3%22%20r%3D%220.93%22%20fill%3D%22%23fff%22%20opacity%3D%220.84%22%2F%3E%3Ccircle%20cx%3D%22250.1%22%20cy%3D%2240.0%22%20r%3D%221.57%22%20fill%3D%22%23fff%22%20opacity%3D%220.90%22%2F%3E%3Ccircle%20cx%3D%227.7%22%20cy%3D%22413.6%22%20r%3D%220.91%22%20fill%3D%22%23fff%22%20opacity%3D%220.79%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E"); background-size: 420px 420px; opacity: .5; animation: ev-fall-1 38s linear infinite, ev-sway 11s ease-in-out infinite alternate; }
.ev-s2 { --sz: 560px; background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22560%22%20height%3D%22560%22%20viewBox%3D%220%200%20560%20560%22%3E%3Cg%3E%3Ccircle%20cx%3D%22205.5%22%20cy%3D%22317.4%22%20r%3D%221.53%22%20fill%3D%22%23fff%22%20opacity%3D%220.78%22%2F%3E%3Ccircle%20cx%3D%22455.5%22%20cy%3D%22146.7%22%20r%3D%222.10%22%20fill%3D%22%23fff%22%20opacity%3D%220.87%22%2F%3E%3Ccircle%20cx%3D%22502.1%22%20cy%3D%22132.6%22%20r%3D%221.50%22%20fill%3D%22%23fff%22%20opacity%3D%220.77%22%2F%3E%3Ccircle%20cx%3D%22432.6%22%20cy%3D%22146.8%22%20r%3D%221.42%22%20fill%3D%22%23fff%22%20opacity%3D%220.66%22%2F%3E%3Ccircle%20cx%3D%22368.9%22%20cy%3D%22143.1%22%20r%3D%221.51%22%20fill%3D%22%23fff%22%20opacity%3D%220.57%22%2F%3E%3Ccircle%20cx%3D%22272.7%22%20cy%3D%22453.8%22%20r%3D%221.70%22%20fill%3D%22%23fff%22%20opacity%3D%220.95%22%2F%3E%3Ccircle%20cx%3D%22239.9%22%20cy%3D%22427.4%22%20r%3D%222.10%22%20fill%3D%22%23fff%22%20opacity%3D%220.66%22%2F%3E%3Ccircle%20cx%3D%22187.3%22%20cy%3D%22477.3%22%20r%3D%221.42%22%20fill%3D%22%23fff%22%20opacity%3D%220.82%22%2F%3E%3Ccircle%20cx%3D%22183.1%22%20cy%3D%2276.8%22%20r%3D%221.83%22%20fill%3D%22%23fff%22%20opacity%3D%220.93%22%2F%3E%3Ccircle%20cx%3D%2247.8%22%20cy%3D%22357.6%22%20r%3D%221.58%22%20fill%3D%22%23fff%22%20opacity%3D%220.97%22%2F%3E%3Ccircle%20cx%3D%22305.8%22%20cy%3D%22261.2%22%20r%3D%221.42%22%20fill%3D%22%23fff%22%20opacity%3D%220.83%22%2F%3E%3Ccircle%20cx%3D%2284.6%22%20cy%3D%22129.6%22%20r%3D%222.55%22%20fill%3D%22%23fff%22%20opacity%3D%220.77%22%2F%3E%3Ccircle%20cx%3D%22369.1%22%20cy%3D%22314.0%22%20r%3D%221.45%22%20fill%3D%22%23fff%22%20opacity%3D%220.97%22%2F%3E%3Ccircle%20cx%3D%22239.7%22%20cy%3D%22154.3%22%20r%3D%221.41%22%20fill%3D%22%23fff%22%20opacity%3D%220.58%22%2F%3E%3Ccircle%20cx%3D%22261.6%22%20cy%3D%2241.6%22%20r%3D%221.96%22%20fill%3D%22%23fff%22%20opacity%3D%220.70%22%2F%3E%3Ccircle%20cx%3D%22389.8%22%20cy%3D%2280.3%22%20r%3D%221.41%22%20fill%3D%22%23fff%22%20opacity%3D%220.56%22%2F%3E%3Ccircle%20cx%3D%22233.2%22%20cy%3D%22553.7%22%20r%3D%222.48%22%20fill%3D%22%23fff%22%20opacity%3D%220.58%22%2F%3E%3Ccircle%20cx%3D%22313.9%22%20cy%3D%22169.2%22%20r%3D%221.40%22%20fill%3D%22%23fff%22%20opacity%3D%220.88%22%2F%3E%3Ccircle%20cx%3D%22336.4%22%20cy%3D%22316.7%22%20r%3D%221.70%22%20fill%3D%22%23fff%22%20opacity%3D%220.97%22%2F%3E%3Ccircle%20cx%3D%22533.4%22%20cy%3D%2247.1%22%20r%3D%222.00%22%20fill%3D%22%23fff%22%20opacity%3D%220.98%22%2F%3E%3Ccircle%20cx%3D%22178.7%22%20cy%3D%22173.6%22%20r%3D%221.68%22%20fill%3D%22%23fff%22%20opacity%3D%220.95%22%2F%3E%3Ccircle%20cx%3D%22153.8%22%20cy%3D%22377.2%22%20r%3D%222.59%22%20fill%3D%22%23fff%22%20opacity%3D%220.79%22%2F%3E%3Ccircle%20cx%3D%2284.3%22%20cy%3D%22295.9%22%20r%3D%221.44%22%20fill%3D%22%23fff%22%20opacity%3D%220.96%22%2F%3E%3Ccircle%20cx%3D%22518.0%22%20cy%3D%22305.7%22%20r%3D%221.41%22%20fill%3D%22%23fff%22%20opacity%3D%220.93%22%2F%3E%3Ccircle%20cx%3D%22364.9%22%20cy%3D%2246.5%22%20r%3D%221.82%22%20fill%3D%22%23fff%22%20opacity%3D%220.96%22%2F%3E%3Ccircle%20cx%3D%22369.3%22%20cy%3D%2225.0%22%20r%3D%221.44%22%20fill%3D%22%23fff%22%20opacity%3D%220.77%22%2F%3E%3Ccircle%20cx%3D%22346.9%22%20cy%3D%22223.2%22%20r%3D%222.12%22%20fill%3D%22%23fff%22%20opacity%3D%220.82%22%2F%3E%3Ccircle%20cx%3D%22124.8%22%20cy%3D%22216.6%22%20r%3D%221.46%22%20fill%3D%22%23fff%22%20opacity%3D%220.57%22%2F%3E%3Ccircle%20cx%3D%22465.0%22%20cy%3D%22517.1%22%20r%3D%221.82%22%20fill%3D%22%23fff%22%20opacity%3D%220.83%22%2F%3E%3Ccircle%20cx%3D%22406.7%22%20cy%3D%225.3%22%20r%3D%221.98%22%20fill%3D%22%23fff%22%20opacity%3D%220.93%22%2F%3E%3Ccircle%20cx%3D%22257.7%22%20cy%3D%22448.2%22%20r%3D%221.71%22%20fill%3D%22%23fff%22%20opacity%3D%220.74%22%2F%3E%3Ccircle%20cx%3D%22330.3%22%20cy%3D%2245.5%22%20r%3D%221.75%22%20fill%3D%22%23fff%22%20opacity%3D%220.92%22%2F%3E%3Ccircle%20cx%3D%22527.1%22%20cy%3D%22470.0%22%20r%3D%222.18%22%20fill%3D%22%23fff%22%20opacity%3D%220.80%22%2F%3E%3Ccircle%20cx%3D%22507.9%22%20cy%3D%22274.1%22%20r%3D%222.01%22%20fill%3D%22%23fff%22%20opacity%3D%220.72%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E"); background-size: 560px 560px; opacity: .65; animation: ev-fall-2 24s linear infinite, ev-sway 8s ease-in-out -3s infinite alternate; }
.ev-s3 { --sz: 760px; background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22760%22%20height%3D%22760%22%20viewBox%3D%220%200%20760%20760%22%3E%3Cfilter%20id%3D%22b%22%20x%3D%22-20%25%22%20y%3D%22-20%25%22%20width%3D%22140%25%22%20height%3D%22140%25%22%3E%3CfeGaussianBlur%20stdDeviation%3D%220.7%22%2F%3E%3C%2Ffilter%3E%3Cg%20filter%3D%22url(%23b)%22%3E%3Cg%20transform%3D%22translate(480.7%20120.9)%20rotate(17)%22%20stroke%3D%22%23fff%22%20stroke-width%3D%220.79%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.57%22%3E%3Cpath%20d%3D%22M-4.227308093245969%200H4.227308093245969M-2.1%20-3.7L2.1%203.7M-2.1%203.7L2.1%20-3.7%22%2F%3E%3C%2Fg%3E%3Ccircle%20cx%3D%22408.2%22%20cy%3D%22253.0%22%20r%3D%222.88%22%20fill%3D%22%23fff%22%20opacity%3D%220.87%22%2F%3E%3Ccircle%20cx%3D%22572.9%22%20cy%3D%2282.3%22%20r%3D%222.63%22%20fill%3D%22%23fff%22%20opacity%3D%220.75%22%2F%3E%3Cg%20transform%3D%22translate(659.8%20328.9)%20rotate(22)%22%20stroke%3D%22%23fff%22%20stroke-width%3D%220.84%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.76%22%3E%3Cpath%20d%3D%22M-4.523060886439468%200H4.523060886439468M-2.3%20-3.9L2.3%203.9M-2.3%203.9L2.3%20-3.9%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(679.7%20272.3)%20rotate(60)%22%20stroke%3D%22%23fff%22%20stroke-width%3D%220.77%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.83%22%3E%3Cpath%20d%3D%22M-4.126471631533986%200H4.126471631533986M-2.1%20-3.6L2.1%203.6M-2.1%203.6L2.1%20-3.6%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(734.6%2069.2)%20rotate(49)%22%20stroke%3D%22%23fff%22%20stroke-width%3D%220.87%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.89%22%3E%3Cpath%20d%3D%22M-4.642049878321525%200H4.642049878321525M-2.3%20-4.0L2.3%204.0M-2.3%204.0L2.3%20-4.0%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(579.3%20232.8)%20rotate(59)%22%20stroke%3D%22%23fff%22%20stroke-width%3D%221.04%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.81%22%3E%3Cpath%20d%3D%22M-5.572417243507295%200H5.572417243507295M-2.8%20-4.8L2.8%204.8M-2.8%204.8L2.8%20-4.8%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(7.1%20230.4)%20rotate(8)%22%20stroke%3D%22%23fff%22%20stroke-width%3D%220.82%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.73%22%3E%3Cpath%20d%3D%22M-4.4035633863532375%200H4.4035633863532375M-2.2%20-3.8L2.2%203.8M-2.2%203.8L2.2%20-3.8%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(666.5%20242.2)%20rotate(58)%22%20stroke%3D%22%23fff%22%20stroke-width%3D%221.11%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.83%22%3E%3Cpath%20d%3D%22M-5.931728264560628%200H5.931728264560628M-3.0%20-5.1L3.0%205.1M-3.0%205.1L3.0%20-5.1%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(282.8%20283.2)%20rotate(22)%22%20stroke%3D%22%23fff%22%20stroke-width%3D%221.09%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.92%22%3E%3Cpath%20d%3D%22M-5.861967258051239%200H5.861967258051239M-2.9%20-5.1L2.9%205.1M-2.9%205.1L2.9%20-5.1%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(272.7%2082.0)%20rotate(12)%22%20stroke%3D%22%23fff%22%20stroke-width%3D%220.83%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.78%22%3E%3Cpath%20d%3D%22M-4.443430963884635%200H4.443430963884635M-2.2%20-3.8L2.2%203.8M-2.2%203.8L2.2%20-3.8%22%2F%3E%3C%2Fg%3E%3Ccircle%20cx%3D%22477.4%22%20cy%3D%22135.0%22%20r%3D%223.22%22%20fill%3D%22%23fff%22%20opacity%3D%220.68%22%2F%3E%3Ccircle%20cx%3D%22562.6%22%20cy%3D%22703.3%22%20r%3D%224.45%22%20fill%3D%22%23fff%22%20opacity%3D%220.71%22%2F%3E%3Cg%20transform%3D%22translate(654.9%20128.9)%20rotate(33)%22%20stroke%3D%22%23fff%22%20stroke-width%3D%220.80%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.97%22%3E%3Cpath%20d%3D%22M-4.28785268469897%200H4.28785268469897M-2.1%20-3.7L2.1%203.7M-2.1%203.7L2.1%20-3.7%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(321.6%2056.6)%20rotate(27)%22%20stroke%3D%22%23fff%22%20stroke-width%3D%220.74%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.86%22%3E%3Cpath%20d%3D%22M-3.9439474553845697%200H3.9439474553845697M-2.0%20-3.4L2.0%203.4M-2.0%203.4L2.0%20-3.4%22%2F%3E%3C%2Fg%3E%3Ccircle%20cx%3D%22646.7%22%20cy%3D%22468.4%22%20r%3D%222.93%22%20fill%3D%22%23fff%22%20opacity%3D%220.82%22%2F%3E%3Cg%20transform%3D%22translate(54.6%2057.3)%20rotate(20)%22%20stroke%3D%22%23fff%22%20stroke-width%3D%220.93%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.69%22%3E%3Cpath%20d%3D%22M-4.975925652377466%200H4.975925652377466M-2.5%20-4.3L2.5%204.3M-2.5%204.3L2.5%20-4.3%22%2F%3E%3C%2Fg%3E%3Ccircle%20cx%3D%22703.4%22%20cy%3D%22396.7%22%20r%3D%224.19%22%20fill%3D%22%23fff%22%20opacity%3D%220.73%22%2F%3E%3Ccircle%20cx%3D%22564.7%22%20cy%3D%22651.5%22%20r%3D%223.96%22%20fill%3D%22%23fff%22%20opacity%3D%220.66%22%2F%3E%3Ccircle%20cx%3D%22220.4%22%20cy%3D%22449.6%22%20r%3D%222.61%22%20fill%3D%22%23fff%22%20opacity%3D%220.98%22%2F%3E%3Ccircle%20cx%3D%22153.7%22%20cy%3D%22713.0%22%20r%3D%223.23%22%20fill%3D%22%23fff%22%20opacity%3D%221.00%22%2F%3E%3Cg%20transform%3D%22translate(252.0%20697.9)%20rotate(10)%22%20stroke%3D%22%23fff%22%20stroke-width%3D%220.84%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.86%22%3E%3Cpath%20d%3D%22M-4.521298321280054%200H4.521298321280054M-2.3%20-3.9L2.3%203.9M-2.3%203.9L2.3%20-3.9%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E"); background-size: 760px 760px; opacity: .8; animation: ev-fall-3 15s linear infinite, ev-sway 6.5s ease-in-out -2s infinite alternate; }
@keyframes ev-fall-1 { to { transform: translateY(420px); } }
@keyframes ev-fall-2 { to { transform: translateY(560px); } }
@keyframes ev-fall-3 { to { transform: translateY(760px); } }
@keyframes ev-sway { from { translate: -22px 0; } to { translate: 22px 0; } }

/* a string of lights along the top (it starts after the left bar on a computer, under the top bar on a phone) */
.ev-garland { position: absolute; top: var(--ev-top); left: var(--ev-left); right: 0; height: 40px; }
.ev-garland i { position: absolute; inset: 0; background-repeat: repeat-x; background-size: 160px 40px; }
.ev-wire { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22160%22%20height%3D%2240%22%20viewBox%3D%220%200%20160%2040%22%3E%3Cpath%20d%3D%22M-2%203Q40%2051%2080%203Q120%2051%20162%203%22%20fill%3D%22none%22%20stroke%3D%22%230b1812%22%20stroke-width%3D%222%22%2F%3E%3Cpath%20d%3D%22M-2%202.4Q40%2050.4%2080%202.4Q120%2050.4%20162%202.4%22%20fill%3D%22none%22%20stroke%3D%22rgba(255%2C255%2C255%2C.16)%22%20stroke-width%3D%22.7%22%2F%3E%3C%2Fsvg%3E"); }
.ev-bulbs-a { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22160%22%20height%3D%2240%22%20viewBox%3D%220%200%20160%2040%22%3E%3Cdefs%3E%3CradialGradient%20id%3D%22ga%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23ff4d57%22%20stop-opacity%3D%22.75%22%2F%3E%3Cstop%20offset%3D%22.45%22%20stop-color%3D%22%23ff4d57%22%20stop-opacity%3D%22.22%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23ff4d57%22%20stop-opacity%3D%220%22%2F%3E%3C%2FradialGradient%3E%3CradialGradient%20id%3D%22gb%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23ffc94a%22%20stop-opacity%3D%22.75%22%2F%3E%3Cstop%20offset%3D%22.45%22%20stop-color%3D%22%23ffc94a%22%20stop-opacity%3D%22.22%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23ffc94a%22%20stop-opacity%3D%220%22%2F%3E%3C%2FradialGradient%3E%3C%2Fdefs%3E%3Ccircle%20cx%3D%2220%22%20cy%3D%2220.0%22%20r%3D%2215%22%20fill%3D%22url(%23ga)%22%2F%3E%3Crect%20x%3D%2217.8%22%20y%3D%2211.5%22%20width%3D%224.4%22%20height%3D%224.2%22%20rx%3D%221%22%20fill%3D%22%2310201a%22%2F%3E%3Cpath%20d%3D%22M16.4%2015.4Q15.6%2023.0%2020%2025.4Q24.4%2023.0%2023.6%2015.4Z%22%20fill%3D%22%23ff4d57%22%2F%3E%3Cellipse%20cx%3D%2218.7%22%20cy%3D%2219.2%22%20rx%3D%22.9%22%20ry%3D%222%22%20fill%3D%22%23fff%22%20opacity%3D%22.7%22%2F%3E%3Ccircle%20cx%3D%22100%22%20cy%3D%2220.0%22%20r%3D%2215%22%20fill%3D%22url(%23gb)%22%2F%3E%3Crect%20x%3D%2297.8%22%20y%3D%2211.5%22%20width%3D%224.4%22%20height%3D%224.2%22%20rx%3D%221%22%20fill%3D%22%2310201a%22%2F%3E%3Cpath%20d%3D%22M96.4%2015.4Q95.6%2023.0%20100%2025.4Q104.4%2023.0%20103.6%2015.4Z%22%20fill%3D%22%23ffc94a%22%2F%3E%3Cellipse%20cx%3D%2298.7%22%20cy%3D%2219.2%22%20rx%3D%22.9%22%20ry%3D%222%22%20fill%3D%22%23fff%22%20opacity%3D%22.7%22%2F%3E%3C%2Fsvg%3E"); animation: ev-twinkle 1.7s ease-in-out infinite alternate; }
.ev-bulbs-b { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22160%22%20height%3D%2240%22%20viewBox%3D%220%200%20160%2040%22%3E%3Cdefs%3E%3CradialGradient%20id%3D%22gc%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%233ddc84%22%20stop-opacity%3D%22.75%22%2F%3E%3Cstop%20offset%3D%22.45%22%20stop-color%3D%22%233ddc84%22%20stop-opacity%3D%22.22%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%233ddc84%22%20stop-opacity%3D%220%22%2F%3E%3C%2FradialGradient%3E%3CradialGradient%20id%3D%22gd%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%235bb8ff%22%20stop-opacity%3D%22.75%22%2F%3E%3Cstop%20offset%3D%22.45%22%20stop-color%3D%22%235bb8ff%22%20stop-opacity%3D%22.22%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%235bb8ff%22%20stop-opacity%3D%220%22%2F%3E%3C%2FradialGradient%3E%3C%2Fdefs%3E%3Ccircle%20cx%3D%2260%22%20cy%3D%2220.0%22%20r%3D%2215%22%20fill%3D%22url(%23gc)%22%2F%3E%3Crect%20x%3D%2257.8%22%20y%3D%2211.5%22%20width%3D%224.4%22%20height%3D%224.2%22%20rx%3D%221%22%20fill%3D%22%2310201a%22%2F%3E%3Cpath%20d%3D%22M56.4%2015.4Q55.6%2023.0%2060%2025.4Q64.4%2023.0%2063.6%2015.4Z%22%20fill%3D%22%233ddc84%22%2F%3E%3Cellipse%20cx%3D%2258.7%22%20cy%3D%2219.2%22%20rx%3D%22.9%22%20ry%3D%222%22%20fill%3D%22%23fff%22%20opacity%3D%22.7%22%2F%3E%3Ccircle%20cx%3D%22140%22%20cy%3D%2220.0%22%20r%3D%2215%22%20fill%3D%22url(%23gd)%22%2F%3E%3Crect%20x%3D%22137.8%22%20y%3D%2211.5%22%20width%3D%224.4%22%20height%3D%224.2%22%20rx%3D%221%22%20fill%3D%22%2310201a%22%2F%3E%3Cpath%20d%3D%22M136.4%2015.4Q135.6%2023.0%20140%2025.4Q144.4%2023.0%20143.6%2015.4Z%22%20fill%3D%22%235bb8ff%22%2F%3E%3Cellipse%20cx%3D%22138.7%22%20cy%3D%2219.2%22%20rx%3D%22.9%22%20ry%3D%222%22%20fill%3D%22%23fff%22%20opacity%3D%22.7%22%2F%3E%3C%2Fsvg%3E"); animation: ev-twinkle 1.7s ease-in-out -.85s infinite alternate; }
@keyframes ev-twinkle { from { opacity: 1; } to { opacity: .3; } }

/* ornaments hanging from the string, swinging slowly */
.ev-ball { position: absolute; transform-origin: 50% 0; animation: ev-swing var(--sw, 5s) ease-in-out var(--dl, 0s) infinite alternate; }
.ev-ball::before { content: ""; display: block; width: 1px; height: var(--len, 18px); margin: 0 auto; background: rgba(255, 255, 255, .38); }
.ev-ball i { position: relative; display: block; width: var(--d, 22px); height: var(--d, 22px); margin-left: calc(var(--d, 22px) / -2 + .5px); border-radius: 50%; background: radial-gradient(circle at 34% 28%, rgba(255, 255, 255, .85) 0, rgba(255, 255, 255, 0) 24%), radial-gradient(circle at 50% 45%, var(--c1), var(--c2) 85%); box-shadow: 0 5px 10px rgba(0, 0, 0, .35), 0 0 16px color-mix(in srgb, var(--c1) 38%, transparent); }
.ev-ball i::before { content: ""; position: absolute; left: 50%; top: -3px; width: 7px; height: 4px; margin-left: -3.5px; border-radius: 1.5px; background: #e8c566; }
.ev-ball.is-stripe i { background: radial-gradient(circle at 34% 28%, rgba(255, 255, 255, .8) 0, rgba(255, 255, 255, 0) 22%), repeating-linear-gradient(45deg, var(--c1) 0 5px, rgba(255, 255, 255, .85) 5px 8px); }
@keyframes ev-swing { from { transform: rotate(-7deg); } to { transform: rotate(7deg); } }

/* a shooting star now and then */
.ev-star { position: absolute; left: 18%; top: 14%; width: 130px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, #fff); opacity: 0; transform: rotate(28deg); animation: ev-shoot 26s linear 6s infinite; }
@keyframes ev-shoot { 0%, 96% { opacity: 0; transform: rotate(28deg) translateX(0); } 96.6% { opacity: 1; } 100% { opacity: 0; transform: rotate(28deg) translateX(560px); } }

/* a spark of snowflakes where the page is clicked */
.ev-spark { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #fff; box-shadow: 0 0 6px #fff; opacity: 0; animation: ev-spark .8s ease-out forwards; }
@keyframes ev-spark { 0% { opacity: 1; transform: translate(0, 0) scale(1); } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.2); } }

/* a greeting once a day */
.ev-toast { position: absolute; left: 50%; bottom: 26px; display: flex; align-items: center; gap: 10px; max-width: calc(100% - 28px); padding: 11px 16px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 10px; background: rgba(8, 14, 24, .88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #f3f7ff; font-size: 14px; font-weight: 650; transform: translate(-50%, 24px); opacity: 0; transition: transform .45s cubic-bezier(.2, .9, .25, 1), opacity .45s ease; pointer-events: auto !important; cursor: pointer; }
.ev-toast.is-in { transform: translate(-50%, 0); opacity: 1; }
.ev-toast b { color: #ff7a80; font-weight: 800; }
.ev-toast svg { width: 18px; height: 18px; flex: 0 0 auto; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; }

/* --- touches on the site itself */
/* a Santa hat on the logo */
html.ev-christmas .logo-container .logo { position: relative; }
html.ev-christmas .logo-container .logo::before { content: ""; position: absolute; z-index: 2; left: 2px; top: -2px; width: 26px; height: 23px; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2028%22%3E%3Cpath%20d%3D%22M4%2023Q7%203%2024%204Q28%2012%2027%2023Z%22%20fill%3D%22%23dc3a40%22%2F%3E%3Cpath%20d%3D%22M4%2023Q7%203%2024%204Q18%208%2014%2023Z%22%20fill%3D%22%23b82c33%22%20opacity%3D%22.55%22%2F%3E%3Crect%20x%3D%222%22%20y%3D%2220%22%20width%3D%2227%22%20height%3D%226.4%22%20rx%3D%223.2%22%20fill%3D%22%23fff%22%2F%3E%3Ccircle%20cx%3D%2225.5%22%20cy%3D%224.2%22%20r%3D%223.7%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; transform: rotate(-17deg); pointer-events: none; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .4)); }
@media (min-width: 1041px) { html.ev-christmas .logo-container .logo::before { left: 5px; top: 0; } }
/* candy-cane stripe on the edge of the bar */
html.ev-christmas header.rail::after { content: ""; position: absolute; z-index: 3; top: 0; bottom: 0; right: 0; width: 3px; background: repeating-linear-gradient(135deg,#e5484d 0 6px,#fff 6px 12px); background-size: 100% 17px; opacity: .85; pointer-events: none; }
@media (max-width: 650px) { html.ev-christmas header.rail::after { top: auto; left: 0; right: 0; bottom: 0; width: auto; height: 3px; background-size: 17px 100%; } }
html.ev-christmas .rail-indicator i { background: #ff7a80; box-shadow: 0 0 14px 1px rgba(255, 98, 106, .9); }
/* the tooltip of the bar and focus rings in a festive tone */
html.ev-christmas .rail-link:focus-visible, html.ev-christmas .rail-action:focus-visible, html.ev-christmas .header-profile-link:focus-visible, html.ev-christmas .logo:focus-visible { outline-color: rgba(255, 190, 120, .9); }

@media (max-width: 650px) { .ev-s3 { display: none; } .ev-ball:nth-of-type(n + 3) { display: none; } }
@media (prefers-reduced-motion: reduce) { #ev-xmas *, html.ev-christmas .site-background * { animation: none !important; } .ev-star { display: none; } }
html.ev-lite #ev-xmas *:not(.ev-toast) { animation-play-state: paused !important; will-change: auto; }
