/* FieldGuide seasonal homepage themes (see seasonal.js for the dates). Nothing here applies unless <html> carries
   data-season, so outside the festive dates the homepage is exactly as normal. Decorations are CSS only: no extra
   requests, no layout shift, no overlays, and only opacity or transform animations, which stop entirely for
   visitors who prefer reduced motion. The logo, the photograph and the page text are never covered. */

/* ---------- greeting (hidden unless a season is active) ---------- */
.fg-season-greeting{display:none}
html[data-season] .fg-season-greeting{display:flex;align-items:center;gap:9px;width:fit-content;max-width:100%;margin:0 0 18px;padding:7px 15px 7px 9px;border:1px solid rgba(181,149,98,.55);border-radius:18px;background:#fffaf0;color:#153841;font-size:14px;line-height:1.35;letter-spacing:.01em}
.fg-season-greeting>span{display:none}
html[data-season=advent] .fg-season-greeting [data-season-text=advent],
html[data-season=christmas] .fg-season-greeting [data-season-text=christmas],
html[data-season=winter] .fg-season-greeting [data-season-text=winter],
html[data-season=hogmanay] .fg-season-greeting [data-season-text=hogmanay],
html[data-season=newyear] .fg-season-greeting [data-season-text=newyear]{display:inline;min-width:0}
html[data-season] .fg-season-greeting::before{content:"";flex:0 0 22px;width:22px;height:22px;background:center/contain no-repeat}
html[data-season] .fg-season-greeting .fg-season-art{display:none}

/* ---------- shared: the notice bar can carry a decoration along its lower edge ---------- */
html[data-season] .notice{position:relative;z-index:21}
html[data-season] .notice::before,html[data-season] .notice::after{content:"";position:absolute;left:0;right:0;pointer-events:none}

/* ---------- Advent: evergreen sprig, warm fairy lights that twinkle softly ---------- */
html[data-season=advent] .fg-season-greeting{border-color:rgba(46,94,72,.42)}
html[data-season=advent] .fg-season-greeting::before,
html[data-season=christmas] .fg-season-greeting::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%232e5e48' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M12 22V3'/%3E%3Cpath d='M12 7l-4-2.5M12 7l4-2.5M12 11l-5.5-3M12 11l5.5-3M12 15l-6.5-3.2M12 15l6.5-3.2M12 19l-7-3M12 19l7-3'/%3E%3C/g%3E%3Ccircle cx='12' cy='3' r='1.7' fill='%23c9a35a'/%3E%3C/svg%3E")}
html[data-season=advent] .hero::before{background:radial-gradient(circle,rgba(201,163,90,.22),rgba(46,94,72,.08) 45%,rgba(231,220,201,0) 69%)}

/* Lights: a fine wire under the notice bar with two offset sets of warm bulbs. */
/* Garland: an evergreen swag with red berries hangs from the notice bar; warm bulbs are strung along it. */
html[data-season=advent] .notice::before,html[data-season=advent] .notice::after,
html[data-season=christmas] .notice::before,html[data-season=christmas] .notice::after{bottom:-13px;height:22px}
html[data-season=advent] .notice::before{background:radial-gradient(circle at 72px 12px,#fff3d6 0 3.4px,#f6cf7e 4.3px,rgba(246,207,126,.42) 6px,rgba(0,0,0,0) 10.5px) 0 0/96px 22px repeat-x,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='22' viewBox='0 0 96 22'%3E%3Cpath d='M0 3Q48 26 96 3' fill='none' stroke='%231d4334' stroke-width='8.5' stroke-dasharray='1 2.1' stroke-linecap='round' opacity='.6'/%3E%3Cpath d='M0 3Q48 26 96 3' fill='none' stroke='%233a7356' stroke-width='4.6' stroke-linecap='round'/%3E%3Cpath d='M0 3Q48 26 96 3' fill='none' stroke='%236aa283' stroke-width='1.2' stroke-dasharray='2 3' opacity='.7'/%3E%3Cg fill='%23b3312c'%3E%3Ccircle cx='45.4' cy='15.6' r='1.9'/%3E%3Ccircle cx='49.6' cy='16.2' r='1.9'/%3E%3Ccircle cx='47.6' cy='12.9' r='1.7'/%3E%3C/g%3E%3Cg fill='%23ffffff' opacity='.7'%3E%3Ccircle cx='44.8' cy='15' r='.5'/%3E%3Ccircle cx='49' cy='15.6' r='.5'/%3E%3C/g%3E%3Cg fill='%23d6ae5c'%3E%3Ccircle cx='0' cy='3' r='1.9'/%3E%3Ccircle cx='96' cy='3' r='1.9'/%3E%3C/g%3E%3C/svg%3E") 0 0/96px 22px repeat-x}
html[data-season=advent] .notice::after{background:radial-gradient(circle at 24px 12px,#ffe7b0 0 3.4px,#f0b450 4.3px,rgba(240,180,80,.42) 6px,rgba(0,0,0,0) 10.5px) 0 0/96px 22px repeat-x;animation:fg-twinkle 1.9s ease-in-out infinite}
@keyframes fg-twinkle{0%,100%{opacity:1}50%{opacity:.12}}
/* Christmas Day: the same garland with classic red and gold bulbs, glowing steadily. */
html[data-season=christmas] .notice::before{background:radial-gradient(circle at 72px 12px,#fff3d6 0 3.4px,#f2c664 4.3px,rgba(242,198,100,.45) 6px,rgba(0,0,0,0) 10.5px) 0 0/96px 22px repeat-x,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='22' viewBox='0 0 96 22'%3E%3Cpath d='M0 3Q48 26 96 3' fill='none' stroke='%231d4334' stroke-width='8.5' stroke-dasharray='1 2.1' stroke-linecap='round' opacity='.6'/%3E%3Cpath d='M0 3Q48 26 96 3' fill='none' stroke='%233a7356' stroke-width='4.6' stroke-linecap='round'/%3E%3Cpath d='M0 3Q48 26 96 3' fill='none' stroke='%236aa283' stroke-width='1.2' stroke-dasharray='2 3' opacity='.7'/%3E%3Cg fill='%23b3312c'%3E%3Ccircle cx='45.4' cy='15.6' r='1.9'/%3E%3Ccircle cx='49.6' cy='16.2' r='1.9'/%3E%3Ccircle cx='47.6' cy='12.9' r='1.7'/%3E%3C/g%3E%3Cg fill='%23ffffff' opacity='.7'%3E%3Ccircle cx='44.8' cy='15' r='.5'/%3E%3Ccircle cx='49' cy='15.6' r='.5'/%3E%3C/g%3E%3Cg fill='%23d6ae5c'%3E%3Ccircle cx='0' cy='3' r='1.9'/%3E%3Ccircle cx='96' cy='3' r='1.9'/%3E%3C/g%3E%3C/svg%3E") 0 0/96px 22px repeat-x}
html[data-season=christmas] .notice::after{background:radial-gradient(circle at 24px 12px,#ffd9d2 0 3.4px,#e2574c 4.3px,rgba(226,87,76,.42) 6px,rgba(0,0,0,0) 10.5px) 0 0/96px 22px repeat-x;animation:fg-twinkle 2.6s ease-in-out infinite}

/* ---------- Christmas Day: evergreen and gold greeting, a star, lights glowing steadily ---------- */
html[data-season=christmas] .fg-season-greeting{background:#1f4a3a;border-color:#c9a35a;color:#fff8ea;font-weight:600}
html[data-season=christmas] .fg-season-greeting::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.7 6 6.5.6-4.9 4.3 1.5 6.4L12 16.5l-5.8 3.3 1.5-6.4-4.9-4.3 6.5-.6z' fill='%23e3c27a' stroke='%23f6e3b4' stroke-width='.8' stroke-linejoin='round'/%3E%3C/svg%3E")}
html[data-season=christmas] .hero::before{background:radial-gradient(circle,rgba(201,163,90,.28),rgba(31,74,58,.07) 48%,rgba(231,220,201,0) 69%)}

/* ---------- Winter holidays (26 to 30 December): quiet frost, no motion ---------- */
html[data-season=winter] .fg-season-greeting{background:#f1f6f8;border-color:rgba(71,97,107,.35);color:#203f48}
html[data-season=winter] .fg-season-greeting::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%2347616b' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M12 2v20M3.3 7l17.4 10M3.3 17L20.7 7'/%3E%3Cpath d='M9.5 3.5L12 6l2.5-2.5M9.5 20.5L12 18l2.5 2.5M3.6 10.4l3.4-1-1-3.4M20.4 13.6l-3.4 1 1 3.4M6 17.4l1-3.4-3.4-1M18 6.6l-1 3.4 3.4 1'/%3E%3C/g%3E%3C/svg%3E")}
html[data-season=winter] .hero::before{background:radial-gradient(circle,rgba(176,203,214,.36),rgba(231,238,241,0) 69%)}
html[data-season=winter] .notice::after{top:0;bottom:0;opacity:.16;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='36' viewBox='0 0 60 36'%3E%3Cg fill='%23ffffff'%3E%3Ccircle cx='8' cy='9' r='1.3'/%3E%3Ccircle cx='31' cy='24' r='1'/%3E%3Ccircle cx='50' cy='12' r='1.5'/%3E%3Ccircle cx='20' cy='30' r='.9'/%3E%3C/g%3E%3C/svg%3E") 0 0/60px 36px repeat}

/* ---------- Hogmanay (31 December): Scottish night, a fine tartan line, restrained gold fireworks ---------- */
html[data-season=hogmanay] .notice{background:linear-gradient(90deg,#101d35,#1b2f52 52%,#101d35)}
html[data-season=hogmanay] .notice::after{bottom:-10px;height:10px;background:repeating-linear-gradient(180deg,rgba(47,107,79,.5) 0 3px,rgba(0,0,0,0) 3px 5px,rgba(178,58,72,.55) 5px 6.5px,rgba(0,0,0,0) 6.5px 10px),repeating-linear-gradient(90deg,#16284a 0 14px,#2f6b4f 14px 26px,#16284a 26px 32px,#b23a48 32px 35px,#16284a 35px 41px,#2f6b4f 41px 53px,#e3c27a 53px 55px,#16284a 55px 64px);box-shadow:0 1px 0 rgba(201,163,90,.7),0 -1px 0 rgba(201,163,90,.5)}
html[data-season=hogmanay] .fg-season-greeting{background:#13233f;border-color:#c9a35a;color:#f6e7c3;font-weight:600}
html[data-season=hogmanay] .fg-season-greeting::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke-linecap='round'%3E%3Cpath d='M12 22v-8' stroke='%238fbf9a' stroke-width='1.4'/%3E%3Cpath d='M12 18c-2.6-.4-4.6-2-5.6-4.2M12 18c2.6-.4 4.6-2 5.6-4.2' stroke='%238fbf9a' stroke-width='1.3'/%3E%3Cpath d='M12 7.2V2.4M10 7.4L8.4 3.2M14 7.4l1.6-4.2M8.4 8.4L5.3 5.2M15.6 8.4l3.1-3.2' stroke='%23d6b3f2' stroke-width='1.35'/%3E%3C/g%3E%3Cellipse cx='12' cy='11' rx='3.7' ry='3.3' fill='%238fbf9a'/%3E%3Cpath d='M9.3 9.6l5.4 2.8M14.7 9.6l-5.4 2.8M12 7.8v6.4' stroke='%233f6e52' stroke-width='.8'/%3E%3C/svg%3E")}
html[data-season=hogmanay]{--fg-burst:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg stroke='%23ecc873' stroke-width='1.3' stroke-linecap='round'%3E%3Cpath d='M16.20 12.00L22.40 12.00'/%3E%3Cpath d='M15.64 14.10L21.01 17.20'/%3E%3Cpath d='M14.10 15.64L17.20 21.01'/%3E%3Cpath d='M12.00 16.20L12.00 22.40'/%3E%3Cpath d='M9.90 15.64L6.80 21.01'/%3E%3Cpath d='M8.36 14.10L2.99 17.20'/%3E%3Cpath d='M7.80 12.00L1.60 12.00'/%3E%3Cpath d='M8.36 9.90L2.99 6.80'/%3E%3Cpath d='M9.90 8.36L6.80 2.99'/%3E%3Cpath d='M12.00 7.80L12.00 1.60'/%3E%3Cpath d='M14.10 8.36L17.20 2.99'/%3E%3Cpath d='M15.64 9.90L21.01 6.80'/%3E%3C/g%3E%3Cg fill='%23fbe7b0'%3E%3Ccircle cx='22.91' cy='14.92' r='.9'/%3E%3Ccircle cx='19.99' cy='19.99' r='.9'/%3E%3Ccircle cx='14.92' cy='22.91' r='.9'/%3E%3Ccircle cx='9.08' cy='22.91' r='.9'/%3E%3Ccircle cx='4.01' cy='19.99' r='.9'/%3E%3Ccircle cx='1.09' cy='14.92' r='.9'/%3E%3Ccircle cx='1.09' cy='9.08' r='.9'/%3E%3Ccircle cx='4.01' cy='4.01' r='.9'/%3E%3Ccircle cx='9.08' cy='1.09' r='.9'/%3E%3Ccircle cx='14.92' cy='1.09' r='.9'/%3E%3Ccircle cx='19.99' cy='4.01' r='.9'/%3E%3Ccircle cx='22.91' cy='9.08' r='.9'/%3E%3Ccircle cx='12' cy='12' r='1.8'/%3E%3C/g%3E%3C/svg%3E")}
html[data-season=hogmanay] .fg-season-greeting .fg-season-art{display:block;position:relative;flex:0 0 62px;width:62px;height:34px;margin-left:2px}
html[data-season=hogmanay] .fg-season-art::before,html[data-season=hogmanay] .fg-season-art::after{content:"";position:absolute;opacity:0;background:var(--fg-burst) center/contain no-repeat;animation:fg-pop 3.2s ease-out infinite}
html[data-season=hogmanay] .fg-season-art::before{left:0;top:1px;width:32px;height:32px}
html[data-season=hogmanay] .fg-season-art::after{right:0;top:7px;width:22px;height:22px;animation-delay:-1.6s}
/* Gold bursts at the far ends of the navy bar (wider screens only, kept clear of its text and behind it). */
@media(min-width:900px){html[data-season=hogmanay] .notice::before{top:0;bottom:0;z-index:-1;background:var(--fg-burst) 3% 50%/26px 26px no-repeat,var(--fg-burst) 10% 25%/16px 16px no-repeat,var(--fg-burst) 90% 30%/16px 16px no-repeat,var(--fg-burst) 97% 55%/26px 26px no-repeat;animation:fg-flash 3.2s ease-out -.8s infinite}}
@keyframes fg-pop{0%{opacity:0;transform:scale(.25)}14%{opacity:1;transform:scale(1)}48%{opacity:0;transform:scale(1.22)}100%{opacity:0;transform:scale(1.22)}}
@keyframes fg-flash{0%{opacity:0}12%{opacity:1}50%{opacity:0}100%{opacity:0}}
html[data-season=hogmanay] .hero::before{background:radial-gradient(circle,rgba(0,94,184,.16),rgba(201,163,90,.1) 48%,rgba(231,220,201,0) 69%)}

/* ---------- New Year (1 to 3 January): optimistic message, soft sunrise accents ---------- */
html[data-season=newyear] .notice::after{bottom:0;height:3px;background:linear-gradient(90deg,rgba(244,169,120,0),#f2b27c 25%,#f6d48f 50%,#f2b27c 75%,rgba(244,169,120,0))}
html[data-season=newyear] .fg-season-greeting{background:#fff6ec;border-color:rgba(226,150,96,.5)}
html[data-season=newyear] .fg-season-greeting::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 16a7 7 0 0 1 14 0z' fill='%23f2b27c'/%3E%3Cg stroke='%23e0915a' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M12 4.5v2.5M5.5 7.5l1.7 1.7M18.5 7.5l-1.7 1.7M2.5 13h2.2M19.3 13h2.2M3 19.5h18'/%3E%3C/g%3E%3C/svg%3E")}
html[data-season=newyear] .hero::before{background:radial-gradient(circle,rgba(246,196,140,.42),rgba(246,212,143,.12) 46%,rgba(255,240,225,0) 69%)}

/* ---------- Snowfall: Advent, Christmas Day and Winter Holidays only ----------
   A decorative layer inside the hero, BEHIND its text, buttons and photograph (z-index -1, like the existing glow),
   so flakes can never cover content or take a click. Two sparse tiles of small, semi-transparent flakes drift down
   slowly with a gentle sway. Only transform/translate animate (handled by the GPU, no repaint per frame); the
   animation pauses when the hero is off screen (seasonal.js) and is removed entirely for reduced motion. */
.fg-snow{display:none}
html[data-season=advent] .fg-snow,html[data-season=christmas] .fg-snow,html[data-season=winter] .fg-snow{display:block;position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none;contain:layout paint;-webkit-mask-image:linear-gradient(to bottom,transparent,#000 10%,#000 82%,transparent);mask-image:linear-gradient(to bottom,transparent,#000 10%,#000 82%,transparent)}
html[data-season] .fg-snow i{position:absolute;left:-22px;right:-22px;top:-420px;bottom:0;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420'%3E%3Cdefs%3E%3CradialGradient id='f'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='.6' stop-color='%23f3f8fa'/%3E%3Cstop offset='1' stop-color='%237f9fb0' stop-opacity='.35'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cg fill='url(%23f)' stroke='%237f9fb0' stroke-opacity='0.75' stroke-width='0.9'%3E%3Ccircle cx='40' cy='60' r='4.6' opacity='0.95'/%3E%3Ccircle cx='170' cy='25' r='3.8' opacity='0.85'/%3E%3Ccircle cx='300' cy='110' r='5' opacity='0.9'/%3E%3Ccircle cx='95' cy='230' r='4' opacity='0.8'/%3E%3Ccircle cx='240' cy='300' r='5.4' opacity='0.95'/%3E%3Ccircle cx='380' cy='250' r='3.8' opacity='0.8'/%3E%3Ccircle cx='330' cy='390' r='4.4' opacity='0.9'/%3E%3Ccircle cx='205' cy='170' r='3.4' opacity='0.75'/%3E%3Ccircle cx='20' cy='355' r='3.6' opacity='0.8'/%3E%3Ccircle cx='400' cy='40' r='3.2' opacity='0.75'/%3E%3C/g%3E%3C/svg%3E") 0 0/420px 420px repeat;will-change:transform;animation:fg-fall-near 22s linear infinite,fg-sway 6s ease-in-out infinite alternate}
html[data-season] .fg-snow i+i{top:-300px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cdefs%3E%3CradialGradient id='f'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='.6' stop-color='%23f3f8fa'/%3E%3Cstop offset='1' stop-color='%238eabba' stop-opacity='.35'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cg fill='url(%23f)' stroke='%238eabba' stroke-opacity='0.7' stroke-width='0.8'%3E%3Ccircle cx='30' cy='40' r='2.6' opacity='0.75'/%3E%3Ccircle cx='140' cy='90' r='2.2' opacity='0.65'/%3E%3Ccircle cx='250' cy='20' r='2.8' opacity='0.8'/%3E%3Ccircle cx='80' cy='180' r='2.4' opacity='0.7'/%3E%3Ccircle cx='200' cy='210' r='3' opacity='0.75'/%3E%3Ccircle cx='270' cy='140' r='2.2' opacity='0.65'/%3E%3Ccircle cx='120' cy='280' r='2.6' opacity='0.7'/%3E%3Ccircle cx='285' cy='265' r='2.4' opacity='0.7'/%3E%3Ccircle cx='175' cy='10' r='2' opacity='0.6'/%3E%3C/g%3E%3C/svg%3E") 130px 40px/300px 300px repeat;animation:fg-fall-far 32s linear infinite,fg-sway 8s ease-in-out -3s infinite alternate}
@keyframes fg-fall-near{from{transform:translate3d(0,0,0)}to{transform:translate3d(0,420px,0)}}
@keyframes fg-fall-far{from{transform:translate3d(0,0,0)}to{transform:translate3d(0,300px,0)}}
@keyframes fg-sway{from{translate:-18px 0}to{translate:18px 0}}
html[data-season=winter] .fg-snow i{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420'%3E%3Cdefs%3E%3CradialGradient id='f'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='.6' stop-color='%23f3f8fa'/%3E%3Cstop offset='1' stop-color='%236d90a2' stop-opacity='.35'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cg fill='url(%23f)' stroke='%236d90a2' stroke-opacity='0.9' stroke-width='1.1'%3E%3Ccircle cx='40' cy='60' r='4.6' opacity='0.95'/%3E%3Ccircle cx='170' cy='25' r='3.8' opacity='0.85'/%3E%3Ccircle cx='300' cy='110' r='5' opacity='0.9'/%3E%3Ccircle cx='95' cy='230' r='4' opacity='0.8'/%3E%3Ccircle cx='240' cy='300' r='5.4' opacity='0.95'/%3E%3Ccircle cx='380' cy='250' r='3.8' opacity='0.8'/%3E%3Ccircle cx='330' cy='390' r='4.4' opacity='0.9'/%3E%3Ccircle cx='205' cy='170' r='3.4' opacity='0.75'/%3E%3Ccircle cx='20' cy='355' r='3.6' opacity='0.8'/%3E%3Ccircle cx='400' cy='40' r='3.2' opacity='0.75'/%3E%3C/g%3E%3C/svg%3E")}
html[data-season=winter] .fg-snow i+i{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cdefs%3E%3CradialGradient id='f'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='.6' stop-color='%23f3f8fa'/%3E%3Cstop offset='1' stop-color='%237d9dad' stop-opacity='.35'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cg fill='url(%23f)' stroke='%237d9dad' stroke-opacity='0.85' stroke-width='0.9'%3E%3Ccircle cx='30' cy='40' r='2.6' opacity='0.75'/%3E%3Ccircle cx='140' cy='90' r='2.2' opacity='0.65'/%3E%3Ccircle cx='250' cy='20' r='2.8' opacity='0.8'/%3E%3Ccircle cx='80' cy='180' r='2.4' opacity='0.7'/%3E%3Ccircle cx='200' cy='210' r='3' opacity='0.75'/%3E%3Ccircle cx='270' cy='140' r='2.2' opacity='0.65'/%3E%3Ccircle cx='120' cy='280' r='2.6' opacity='0.7'/%3E%3Ccircle cx='285' cy='265' r='2.4' opacity='0.7'/%3E%3Ccircle cx='175' cy='10' r='2' opacity='0.6'/%3E%3C/g%3E%3C/svg%3E")}
html.fg-snow-paused .fg-snow i,html.fg-snow-paused .fg-snow i+i{animation-play-state:paused}

/* ---------- narrow phones: keep the greeting comfortable ---------- */
@media(max-width:560px){
  html[data-season] .fg-season-greeting{font-size:13px;padding:6px 12px 6px 8px;margin-bottom:14px;gap:8px}
  html[data-season] .fg-season-greeting::before{flex-basis:20px;width:20px;height:20px}
  html[data-season=hogmanay] .fg-season-greeting .fg-season-art{flex-basis:46px;width:46px;height:26px}
  html[data-season=hogmanay] .fg-season-art::before{width:24px;height:24px}
  html[data-season=hogmanay] .fg-season-art::after{width:17px;height:17px;top:5px}
  html[data-season] .fg-snow i+i{display:none}
  /* Winter Holidays is the snow theme: keep both light layers on phones so the snow is clearly visible. */
  html[data-season=winter] .fg-snow i+i{display:block}
}

/* ---------- motion, contrast and print ---------- */
@media(prefers-reduced-motion:reduce){
  html[data-season] .notice::before,html[data-season] .notice::after,html[data-season] .fg-season-greeting .fg-season-art,
  html[data-season] .fg-season-art::before,html[data-season] .fg-season-art::after{animation:none!important;opacity:1;transform:none}
  html[data-season=winter] .notice::after{opacity:.16}
  html[data-season] .fg-snow{display:none!important}
}
@media(forced-colors:active){
  html[data-season] .fg-season-greeting{border-color:CanvasText}
  html[data-season] .notice::before,html[data-season] .notice::after,html[data-season] .fg-snow{display:none}
}
@media print{
  html[data-season] .fg-snow,html[data-season] .fg-season-greeting,html[data-season] .notice::before,html[data-season] .notice::after{display:none}
}
