/* Nex-XL site: the Christmas pieces every public page shares — the greeting bar, the hat on the logo, the string of
   lights under the header and the snowdrift on the footer.
   - It applies only while js/season.js has put the class xmas on <html>, and only on a screen: a printed page is
     today's page.
   - The base stylesheet hides .xmas-bar and .xmas-deco. Each Christmas stylesheet shows only the pieces it styles, so
     a stylesheet that does not arrive leaves none of its art on the page.
   - The pictures are our own SVG, held as data URIs: nothing is fetched. */
@media screen {
  html.xmas {
    /* The Christmas palette takes over the site's own colour tokens: a cream page, pine ink and Christmas-green accents. */
    --paper: #faf6ec; --ink: #0f241d; --teal: #1b6b4e; --muted: #50605a; --line: #e4dcc8; --mint: #e6f0e4;
    --xmas-red: #b3202c; --xmas-gold: #f6d98d; --xmas-cream: #fdf8ea; --xmas-soft: #d3e2d9; --xmas-pine: #0f3d31;
    /* How far the lights hang below the header, and the header's own colour for the fade behind them. */
    --xmas-hang: 26px; --xmas-header: 250, 246, 236;
    /* Faint snowflakes across the greeting bar: one 180 × 36 tile. */
    --xmas-bar-pattern: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20180%2036%22%20aria-hidden%3D%22true%22%20focusable%3D%22false%22%20width%3D%22180%22%20height%3D%2236%22%3E%3Cg%20transform%3D%22translate(14%209)%20scale(0.5)%20translate(-12%20-12)%22%20opacity%3D%22.2%22%3E%3Cg%20transform%3D%22translate(12%2012)%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%3E%3Cpath%20transform%3D%22rotate(0)%22%20d%3D%22M0%200V-10M0-6.200l-2.700-2.500M0-6.200l2.700-2.500%22%2F%3E%3Cpath%20transform%3D%22rotate(60)%22%20d%3D%22M0%200V-10M0-6.200l-2.700-2.500M0-6.200l2.700-2.500%22%2F%3E%3Cpath%20transform%3D%22rotate(120)%22%20d%3D%22M0%200V-10M0-6.200l-2.700-2.500M0-6.200l2.700-2.500%22%2F%3E%3Cpath%20transform%3D%22rotate(180)%22%20d%3D%22M0%200V-10M0-6.200l-2.700-2.500M0-6.200l2.700-2.500%22%2F%3E%3Cpath%20transform%3D%22rotate(240)%22%20d%3D%22M0%200V-10M0-6.200l-2.700-2.500M0-6.200l2.700-2.500%22%2F%3E%3Cpath%20transform%3D%22rotate(300)%22%20d%3D%22M0%200V-10M0-6.200l-2.700-2.500M0-6.200l2.700-2.500%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(58%2026)%20scale(0.38)%20translate(-12%20-12)%22%20opacity%3D%22.2%22%3E%3Cg%20transform%3D%22translate(12%2012)%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%3E%3Cpath%20transform%3D%22rotate(0)%22%20d%3D%22M0%200V-10M0-6.200l-2.700-2.500M0-6.200l2.700-2.500%22%2F%3E%3Cpath%20transform%3D%22rotate(60)%22%20d%3D%22M0%200V-10M0-6.200l-2.700-2.500M0-6.200l2.700-2.500%22%2F%3E%3Cpath%20transform%3D%22rotate(120)%22%20d%3D%22M0%200V-10M0-6.200l-2.700-2.500M0-6.200l2.700-2.500%22%2F%3E%3Cpath%20transform%3D%22rotate(180)%22%20d%3D%22M0%200V-10M0-6.200l-2.700-2.500M0-6.200l2.700-2.500%22%2F%3E%3Cpath%20transform%3D%22rotate(240)%22%20d%3D%22M0%200V-10M0-6.200l-2.700-2.500M0-6.200l2.700-2.500%22%2F%3E%3Cpath%20transform%3D%22rotate(300)%22%20d%3D%22M0%200V-10M0-6.200l-2.700-2.500M0-6.200l2.700-2.500%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(101%208)%20scale(0.42)%20translate(-12%20-12)%22%20opacity%3D%22.2%22%3E%3Cg%20transform%3D%22translate(12%2012)%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%3E%3Cpath%20transform%3D%22rotate(0)%22%20d%3D%22M0%200V-10M0-6.200l-2.700-2.500M0-6.200l2.700-2.500%22%2F%3E%3Cpath%20transform%3D%22rotate(60)%22%20d%3D%22M0%200V-10M0-6.200l-2.700-2.500M0-6.200l2.700-2.500%22%2F%3E%3Cpath%20transform%3D%22rotate(120)%22%20d%3D%22M0%200V-10M0-6.200l-2.700-2.500M0-6.200l2.700-2.500%22%2F%3E%3Cpath%20transform%3D%22rotate(180)%22%20d%3D%22M0%200V-10M0-6.200l-2.700-2.500M0-6.200l2.700-2.500%22%2F%3E%3Cpath%20transform%3D%22rotate(240)%22%20d%3D%22M0%200V-10M0-6.200l-2.700-2.500M0-6.200l2.700-2.500%22%2F%3E%3Cpath%20transform%3D%22rotate(300)%22%20d%3D%22M0%200V-10M0-6.200l-2.700-2.500M0-6.200l2.700-2.500%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(146%2024)%20scale(0.55)%20translate(-12%20-12)%22%20opacity%3D%22.2%22%3E%3Cg%20transform%3D%22translate(12%2012)%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%3E%3Cpath%20transform%3D%22rotate(0)%22%20d%3D%22M0%200V-10M0-6.200l-2.700-2.500M0-6.200l2.700-2.500%22%2F%3E%3Cpath%20transform%3D%22rotate(60)%22%20d%3D%22M0%200V-10M0-6.200l-2.700-2.500M0-6.200l2.700-2.500%22%2F%3E%3Cpath%20transform%3D%22rotate(120)%22%20d%3D%22M0%200V-10M0-6.200l-2.700-2.500M0-6.200l2.700-2.500%22%2F%3E%3Cpath%20transform%3D%22rotate(180)%22%20d%3D%22M0%200V-10M0-6.200l-2.700-2.500M0-6.200l2.700-2.500%22%2F%3E%3Cpath%20transform%3D%22rotate(240)%22%20d%3D%22M0%200V-10M0-6.200l-2.700-2.500M0-6.200l2.700-2.500%22%2F%3E%3Cpath%20transform%3D%22rotate(300)%22%20d%3D%22M0%200V-10M0-6.200l-2.700-2.500M0-6.200l2.700-2.500%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E");
    /* The string of lights: one 416 × 24 tile of four swags. The wire and its sockets, then the twelve bulbs in four sets. */
    --xmas-wire: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22416%22%20height%3D%2224%22%20viewBox%3D%220%200%20416%2024%22%3E%3Cpath%20d%3D%22M0%201.5Q52.0%2015.5%20104.0%201.5Q156.0%2015.5%20208.0%201.5Q260.0%2015.5%20312.0%201.5Q364.0%2015.5%20416.0%201.5%22%20fill%3D%22none%22%20stroke%3D%22%233b6157%22%20stroke-width%3D%221%22%20opacity%3D%22.75%22%2F%3E%3Cg%20transform%3D%22translate(17.3%205.4)%22%3E%3Crect%20x%3D%22-1.4%22%20y%3D%22-.4%22%20width%3D%222.8%22%20height%3D%222.6%22%20rx%3D%22.7%22%20fill%3D%22%2335564d%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(52.0%208.5)%22%3E%3Crect%20x%3D%22-1.4%22%20y%3D%22-.4%22%20width%3D%222.8%22%20height%3D%222.6%22%20rx%3D%22.7%22%20fill%3D%22%2335564d%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(86.7%205.4)%22%3E%3Crect%20x%3D%22-1.4%22%20y%3D%22-.4%22%20width%3D%222.8%22%20height%3D%222.6%22%20rx%3D%22.7%22%20fill%3D%22%2335564d%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(121.3%205.4)%22%3E%3Crect%20x%3D%22-1.4%22%20y%3D%22-.4%22%20width%3D%222.8%22%20height%3D%222.6%22%20rx%3D%22.7%22%20fill%3D%22%2335564d%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(156.0%208.5)%22%3E%3Crect%20x%3D%22-1.4%22%20y%3D%22-.4%22%20width%3D%222.8%22%20height%3D%222.6%22%20rx%3D%22.7%22%20fill%3D%22%2335564d%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(190.7%205.4)%22%3E%3Crect%20x%3D%22-1.4%22%20y%3D%22-.4%22%20width%3D%222.8%22%20height%3D%222.6%22%20rx%3D%22.7%22%20fill%3D%22%2335564d%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(225.3%205.4)%22%3E%3Crect%20x%3D%22-1.4%22%20y%3D%22-.4%22%20width%3D%222.8%22%20height%3D%222.6%22%20rx%3D%22.7%22%20fill%3D%22%2335564d%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(260.0%208.5)%22%3E%3Crect%20x%3D%22-1.4%22%20y%3D%22-.4%22%20width%3D%222.8%22%20height%3D%222.6%22%20rx%3D%22.7%22%20fill%3D%22%2335564d%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(294.7%205.4)%22%3E%3Crect%20x%3D%22-1.4%22%20y%3D%22-.4%22%20width%3D%222.8%22%20height%3D%222.6%22%20rx%3D%22.7%22%20fill%3D%22%2335564d%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(329.3%205.4)%22%3E%3Crect%20x%3D%22-1.4%22%20y%3D%22-.4%22%20width%3D%222.8%22%20height%3D%222.6%22%20rx%3D%22.7%22%20fill%3D%22%2335564d%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(364.0%208.5)%22%3E%3Crect%20x%3D%22-1.4%22%20y%3D%22-.4%22%20width%3D%222.8%22%20height%3D%222.6%22%20rx%3D%22.7%22%20fill%3D%22%2335564d%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(398.7%205.4)%22%3E%3Crect%20x%3D%22-1.4%22%20y%3D%22-.4%22%20width%3D%222.8%22%20height%3D%222.6%22%20rx%3D%22.7%22%20fill%3D%22%2335564d%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
    --xmas-bulbs-0: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22416%22%20height%3D%2224%22%20viewBox%3D%220%200%20416%2024%22%3E%3Cdefs%3E%3CradialGradient%20id%3D%22h0%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23e0464a%22%20stop-opacity%3D%22.62%22%2F%3E%3Cstop%20offset%3D%22.45%22%20stop-color%3D%22%23e0464a%22%20stop-opacity%3D%22.26%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23e0464a%22%20stop-opacity%3D%220%22%2F%3E%3C%2FradialGradient%3E%3CradialGradient%20id%3D%22h1%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23f5b53c%22%20stop-opacity%3D%22.62%22%2F%3E%3Cstop%20offset%3D%22.45%22%20stop-color%3D%22%23f5b53c%22%20stop-opacity%3D%22.26%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23f5b53c%22%20stop-opacity%3D%220%22%2F%3E%3C%2FradialGradient%3E%3CradialGradient%20id%3D%22h2%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%232f9a72%22%20stop-opacity%3D%22.62%22%2F%3E%3Cstop%20offset%3D%22.45%22%20stop-color%3D%22%232f9a72%22%20stop-opacity%3D%22.26%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%232f9a72%22%20stop-opacity%3D%220%22%2F%3E%3C%2FradialGradient%3E%3CradialGradient%20id%3D%22h3%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23ffd27a%22%20stop-opacity%3D%22.62%22%2F%3E%3Cstop%20offset%3D%22.45%22%20stop-color%3D%22%23ffd27a%22%20stop-opacity%3D%22.26%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23ffd27a%22%20stop-opacity%3D%220%22%2F%3E%3C%2FradialGradient%3E%3C%2Fdefs%3E%3Cg%20transform%3D%22translate(17.3%205.4)%22%3E%3Ccircle%20cy%3D%225.6%22%20r%3D%2210%22%20fill%3D%22url(%23h0)%22%2F%3E%3Cpath%20d%3D%22M0%202c2%200%202.8%201.8%202.8%203.5a2.8%202.8%200%200%201-5.6%200C-2.8%203.8-2%202%200%202z%22%20fill%3D%22%23e0464a%22%2F%3E%3Ccircle%20cx%3D%22-.9%22%20cy%3D%224.7%22%20r%3D%22.8%22%20fill%3D%22%23fff%22%20opacity%3D%22.75%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(190.7%205.4)%22%3E%3Ccircle%20cy%3D%225.6%22%20r%3D%2210%22%20fill%3D%22url(%23h1)%22%2F%3E%3Cpath%20d%3D%22M0%202c2%200%202.8%201.8%202.8%203.5a2.8%202.8%200%200%201-5.6%200C-2.8%203.8-2%202%200%202z%22%20fill%3D%22%23f5b53c%22%2F%3E%3Ccircle%20cx%3D%22-.9%22%20cy%3D%224.7%22%20r%3D%22.8%22%20fill%3D%22%23fff%22%20opacity%3D%22.75%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(225.3%205.4)%22%3E%3Ccircle%20cy%3D%225.6%22%20r%3D%2210%22%20fill%3D%22url(%23h2)%22%2F%3E%3Cpath%20d%3D%22M0%202c2%200%202.8%201.8%202.8%203.5a2.8%202.8%200%200%201-5.6%200C-2.8%203.8-2%202%200%202z%22%20fill%3D%22%232f9a72%22%2F%3E%3Ccircle%20cx%3D%22-.9%22%20cy%3D%224.7%22%20r%3D%22.8%22%20fill%3D%22%23fff%22%20opacity%3D%22.75%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(398.7%205.4)%22%3E%3Ccircle%20cy%3D%225.6%22%20r%3D%2210%22%20fill%3D%22url(%23h3)%22%2F%3E%3Cpath%20d%3D%22M0%202c2%200%202.8%201.8%202.8%203.5a2.8%202.8%200%200%201-5.6%200C-2.8%203.8-2%202%200%202z%22%20fill%3D%22%23ffd27a%22%2F%3E%3Ccircle%20cx%3D%22-.9%22%20cy%3D%224.7%22%20r%3D%22.8%22%20fill%3D%22%23fff%22%20opacity%3D%22.75%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
    --xmas-bulbs-1: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22416%22%20height%3D%2224%22%20viewBox%3D%220%200%20416%2024%22%3E%3Cdefs%3E%3CradialGradient%20id%3D%22h0%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23e0464a%22%20stop-opacity%3D%22.62%22%2F%3E%3Cstop%20offset%3D%22.45%22%20stop-color%3D%22%23e0464a%22%20stop-opacity%3D%22.26%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23e0464a%22%20stop-opacity%3D%220%22%2F%3E%3C%2FradialGradient%3E%3CradialGradient%20id%3D%22h2%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%232f9a72%22%20stop-opacity%3D%22.62%22%2F%3E%3Cstop%20offset%3D%22.45%22%20stop-color%3D%22%232f9a72%22%20stop-opacity%3D%22.26%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%232f9a72%22%20stop-opacity%3D%220%22%2F%3E%3C%2FradialGradient%3E%3C%2Fdefs%3E%3Cg%20transform%3D%22translate(156.0%208.5)%22%3E%3Ccircle%20cy%3D%225.6%22%20r%3D%2210%22%20fill%3D%22url(%23h0)%22%2F%3E%3Cpath%20d%3D%22M0%202c2%200%202.8%201.8%202.8%203.5a2.8%202.8%200%200%201-5.6%200C-2.8%203.8-2%202%200%202z%22%20fill%3D%22%23e0464a%22%2F%3E%3Ccircle%20cx%3D%22-.9%22%20cy%3D%224.7%22%20r%3D%22.8%22%20fill%3D%22%23fff%22%20opacity%3D%22.75%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(364.0%208.5)%22%3E%3Ccircle%20cy%3D%225.6%22%20r%3D%2210%22%20fill%3D%22url(%23h2)%22%2F%3E%3Cpath%20d%3D%22M0%202c2%200%202.8%201.8%202.8%203.5a2.8%202.8%200%200%201-5.6%200C-2.8%203.8-2%202%200%202z%22%20fill%3D%22%232f9a72%22%2F%3E%3Ccircle%20cx%3D%22-.9%22%20cy%3D%224.7%22%20r%3D%22.8%22%20fill%3D%22%23fff%22%20opacity%3D%22.75%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
    --xmas-bulbs-2: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22416%22%20height%3D%2224%22%20viewBox%3D%220%200%20416%2024%22%3E%3Cdefs%3E%3CradialGradient%20id%3D%22h0%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23e0464a%22%20stop-opacity%3D%22.62%22%2F%3E%3Cstop%20offset%3D%22.45%22%20stop-color%3D%22%23e0464a%22%20stop-opacity%3D%22.26%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23e0464a%22%20stop-opacity%3D%220%22%2F%3E%3C%2FradialGradient%3E%3CradialGradient%20id%3D%22h1%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23f5b53c%22%20stop-opacity%3D%22.62%22%2F%3E%3Cstop%20offset%3D%22.45%22%20stop-color%3D%22%23f5b53c%22%20stop-opacity%3D%22.26%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23f5b53c%22%20stop-opacity%3D%220%22%2F%3E%3C%2FradialGradient%3E%3CradialGradient%20id%3D%22h2%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%232f9a72%22%20stop-opacity%3D%22.62%22%2F%3E%3Cstop%20offset%3D%22.45%22%20stop-color%3D%22%232f9a72%22%20stop-opacity%3D%22.26%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%232f9a72%22%20stop-opacity%3D%220%22%2F%3E%3C%2FradialGradient%3E%3CradialGradient%20id%3D%22h3%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23ffd27a%22%20stop-opacity%3D%22.62%22%2F%3E%3Cstop%20offset%3D%22.45%22%20stop-color%3D%22%23ffd27a%22%20stop-opacity%3D%22.26%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23ffd27a%22%20stop-opacity%3D%220%22%2F%3E%3C%2FradialGradient%3E%3C%2Fdefs%3E%3Cg%20transform%3D%22translate(86.7%205.4)%22%3E%3Ccircle%20cy%3D%225.6%22%20r%3D%2210%22%20fill%3D%22url(%23h2)%22%2F%3E%3Cpath%20d%3D%22M0%202c2%200%202.8%201.8%202.8%203.5a2.8%202.8%200%200%201-5.6%200C-2.8%203.8-2%202%200%202z%22%20fill%3D%22%232f9a72%22%2F%3E%3Ccircle%20cx%3D%22-.9%22%20cy%3D%224.7%22%20r%3D%22.8%22%20fill%3D%22%23fff%22%20opacity%3D%22.75%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(121.3%205.4)%22%3E%3Ccircle%20cy%3D%225.6%22%20r%3D%2210%22%20fill%3D%22url(%23h3)%22%2F%3E%3Cpath%20d%3D%22M0%202c2%200%202.8%201.8%202.8%203.5a2.8%202.8%200%200%201-5.6%200C-2.8%203.8-2%202%200%202z%22%20fill%3D%22%23ffd27a%22%2F%3E%3Ccircle%20cx%3D%22-.9%22%20cy%3D%224.7%22%20r%3D%22.8%22%20fill%3D%22%23fff%22%20opacity%3D%22.75%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(294.7%205.4)%22%3E%3Ccircle%20cy%3D%225.6%22%20r%3D%2210%22%20fill%3D%22url(%23h0)%22%2F%3E%3Cpath%20d%3D%22M0%202c2%200%202.8%201.8%202.8%203.5a2.8%202.8%200%200%201-5.6%200C-2.8%203.8-2%202%200%202z%22%20fill%3D%22%23e0464a%22%2F%3E%3Ccircle%20cx%3D%22-.9%22%20cy%3D%224.7%22%20r%3D%22.8%22%20fill%3D%22%23fff%22%20opacity%3D%22.75%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(329.3%205.4)%22%3E%3Ccircle%20cy%3D%225.6%22%20r%3D%2210%22%20fill%3D%22url(%23h1)%22%2F%3E%3Cpath%20d%3D%22M0%202c2%200%202.8%201.8%202.8%203.5a2.8%202.8%200%200%201-5.6%200C-2.8%203.8-2%202%200%202z%22%20fill%3D%22%23f5b53c%22%2F%3E%3Ccircle%20cx%3D%22-.9%22%20cy%3D%224.7%22%20r%3D%22.8%22%20fill%3D%22%23fff%22%20opacity%3D%22.75%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
    --xmas-bulbs-3: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22416%22%20height%3D%2224%22%20viewBox%3D%220%200%20416%2024%22%3E%3Cdefs%3E%3CradialGradient%20id%3D%22h1%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23f5b53c%22%20stop-opacity%3D%22.62%22%2F%3E%3Cstop%20offset%3D%22.45%22%20stop-color%3D%22%23f5b53c%22%20stop-opacity%3D%22.26%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23f5b53c%22%20stop-opacity%3D%220%22%2F%3E%3C%2FradialGradient%3E%3CradialGradient%20id%3D%22h3%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23ffd27a%22%20stop-opacity%3D%22.62%22%2F%3E%3Cstop%20offset%3D%22.45%22%20stop-color%3D%22%23ffd27a%22%20stop-opacity%3D%22.26%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23ffd27a%22%20stop-opacity%3D%220%22%2F%3E%3C%2FradialGradient%3E%3C%2Fdefs%3E%3Cg%20transform%3D%22translate(52.0%208.5)%22%3E%3Ccircle%20cy%3D%225.6%22%20r%3D%2210%22%20fill%3D%22url(%23h1)%22%2F%3E%3Cpath%20d%3D%22M0%202c2%200%202.8%201.8%202.8%203.5a2.8%202.8%200%200%201-5.6%200C-2.8%203.8-2%202%200%202z%22%20fill%3D%22%23f5b53c%22%2F%3E%3Ccircle%20cx%3D%22-.9%22%20cy%3D%224.7%22%20r%3D%22.8%22%20fill%3D%22%23fff%22%20opacity%3D%22.75%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(260.0%208.5)%22%3E%3Ccircle%20cy%3D%225.6%22%20r%3D%2210%22%20fill%3D%22url(%23h3)%22%2F%3E%3Cpath%20d%3D%22M0%202c2%200%202.8%201.8%202.8%203.5a2.8%202.8%200%200%201-5.6%200C-2.8%203.8-2%202%200%202z%22%20fill%3D%22%23ffd27a%22%2F%3E%3Ccircle%20cx%3D%22-.9%22%20cy%3D%224.7%22%20r%3D%22.8%22%20fill%3D%22%23fff%22%20opacity%3D%22.75%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  }
  /* The homepage's dark theme at Christmas: midnight pine, gold for the accents, red for the buttons. This selector
     out-ranks theme.css's :root[data-theme="dark"]. */
  html.xmas[data-theme="dark"] {
    --paper: #081c16; --ink: #f3ecd8; --teal: #f6d98d; --muted: #b4c9bd; --line: #24493b; --mint: #14392d;
    --surface: #0e2a21; --soft: #12332a; --action: #b3202c; --xmas-header: 8, 28, 22;
  }
  /* The homepage's chat panel is not part of the look, so the palette is undone here, in the stylesheet that sets it:
     inside the panel the tokens are today's again (landing.css :root, and theme.css in the dark theme). */
  html.xmas .website-chat { --paper: #f7f8f5; --ink: #08192b; --teal: #1f7a8c; --muted: #526369; --line: #dce3df; --mint: #e4eee7; }
  html.xmas[data-theme="dark"] .website-chat { --paper: #0e1722; --ink: #e5edf5; --teal: #7ddbc6; --muted: #adbdcc; --line: #344757; --mint: #193b39; --surface: #172330; --soft: #1e2e3e; --action: #216c68; }

  /* The pieces this stylesheet styles, and no others, come out of hiding. */
  html.xmas .xmas-bar { display: flex; }
  html.xmas :is(.xmas-bar-mark, .xmas-hat-logo, .xmas-lights, .xmas-drift) { display: block; }
  /* A decoration never takes a click or a text selection. */
  html.xmas .xmas-deco { pointer-events: none; -webkit-user-select: none; user-select: none; }
  html.xmas .xmas-deco svg { display: block; }

  /* The greeting bar scrolls away with the page; the header still sticks below it. On the narrowest phones a long
     greeting takes two even lines. */
  html.xmas .xmas-bar { align-items: center; justify-content: center; gap: 12px; min-height: 38px; margin: 0; padding: 7px 16px; border-bottom: 1px solid #e2ae45; background: var(--xmas-bar-pattern) center / 180px 36px, linear-gradient(90deg, #8d1721, var(--xmas-red) 28%, var(--xmas-red) 72%, #8d1721); background-color: var(--xmas-red); color: #fff8e8; font: 500 13px/1.45 var(--body); letter-spacing: .05em; text-align: center; text-wrap: balance; }
  html.xmas .xmas-bar-mark { flex: none; width: 11px; fill: var(--xmas-gold); }
  html.xmas .xmas-bar-mark:first-child { transform: rotate(8deg); }

  /* The Santa hat sits on the logo's N. */
  html.xmas .header .brand { position: relative; }
  html.xmas .xmas-hat { position: absolute; }
  html.xmas .xmas-hat svg { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 1px 1px rgba(8, 25, 43, .2)); }
  html.xmas .xmas-hat-logo { left: 4.2%; top: -11%; width: 15.5%; transform: rotate(-17deg); transform-origin: 48% 80%; }

  /* The string of lights hangs from the header's bottom edge, over a short fade of the header's colour. Each layer
     repeats its tile from the middle outward, so no box is wider than the header. */
  html.xmas .xmas-lights { position: absolute; top: 100%; left: 0; right: 0; height: var(--xmas-hang); background: linear-gradient(rgba(var(--xmas-header), .96), rgba(var(--xmas-header), .8) 40%, rgba(var(--xmas-header), 0) 88%); }
  html.xmas .xmas-lights > i { position: absolute; inset: 0; background: var(--xmas-wire) center top / 416px 24px repeat-x; }
  html.xmas .xmas-lights > .xmas-t0 { background-image: var(--xmas-bulbs-0); }
  html.xmas .xmas-lights > .xmas-t1 { background-image: var(--xmas-bulbs-1); }
  html.xmas .xmas-lights > .xmas-t2 { background-image: var(--xmas-bulbs-2); }
  html.xmas .xmas-lights > .xmas-t3 { background-image: var(--xmas-bulbs-3); }
  /* The open phone menu drops from the same edge. */
  html.xmas .header:has(.nav.is-open) .xmas-lights { display: none; }

  /* Twinkling: a few layers change opacity slowly, each at its own pace. */
  html.xmas .xmas-twinkle { animation: xmas-twinkle 3.6s ease-in-out infinite; }
  html.xmas .xmas-t1 { animation-duration: 4.4s; animation-delay: -1.1s; }
  html.xmas .xmas-t2 { animation-duration: 3.1s; animation-delay: -2s; }
  html.xmas .xmas-t3 { animation-duration: 5s; animation-delay: -3.2s; }
  @keyframes xmas-twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .42; } }

  /* Snow settles along the footer's top edge. The front drift and the footer are one colour, so there is no seam;
     the footer's colour runs to both edges of the page. In the dark theme both come from the theme's own tokens. */
  html.xmas .xmas-drift { height: 64px; margin-top: 8px; }
  html.xmas .xmas-drift svg { width: 100%; height: 100%; }
  html.xmas .xmas-drift-back { fill: #e9e2cf; }
  html.xmas[data-theme="dark"] .xmas-drift-back { fill: var(--soft); }
  html.xmas .xmas-drift-front { fill: var(--surface, #fff); }
  html.xmas .footer { padding-top: 20px; background: var(--surface, #fff); box-shadow: 0 0 0 100vmax var(--surface, #fff); clip-path: inset(-1px -100vmax 0); }
  @media (max-width: 650px) {
    html.xmas .xmas-drift { height: 40px; }
  }

  @media (prefers-reduced-motion: reduce) {
    html.xmas .xmas-twinkle { animation: none; }
  }
}
