/* The Martini — Thanksgiving holiday theme decoration (branch holidays-tg-xmas). Applies only while html[data-holiday="thanksgiving"]
   is set (the person said "Turn it on" in the two weeks before the holiday), plus the pop-up and its Settings row. Lightweight
   SVG (data URIs, made by scripts/make-holiday-art.py thanksgiving) + CSS. Every decoration is a background or a pointer-events:none
   layer behind the controls, so nothing covers a button or shrinks a tap target. prefers-reduced-motion = all still. */
:root {
  --tg-leaves-a: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 420'%3E%3Cg transform='translate(92 217) rotate(37) scale(0.27) translate(-50 -50)' opacity='0.8'%3E%3Cpath d='M50 4C58 10 54 18 60 20C70 18 70 28 64 32C74 34 74 44 66 46C74 50 72 60 62 60C68 68 62 76 54 72L52 96L48 96L46 72C38 76 32 68 38 60C28 60 26 50 34 46C26 44 26 34 36 32C30 28 30 18 40 20C46 18 42 10 50 4Z' fill='%239C2A1A'/%3E%3Cpath d='M50 96L50 20' stroke='rgba(0,0,0,.22)' stroke-width='2.4' fill='none'/%3E%3C/g%3E%3Cg transform='translate(202 313) rotate(259) scale(0.22) translate(-50 -50)' opacity='0.8'%3E%3Cpath d='M50 2L58 22L70 16L66 38L86 30L80 46L98 50L80 58L86 70L64 66L66 84L54 74L52 98L48 98L46 74L34 84L36 66L14 70L20 58L2 50L20 46L14 30L34 38L30 16L42 22Z' fill='%23B8321E'/%3E%3Cpath d='M50 98L50 24M50 60L24 44M50 60L76 44' stroke='rgba(0,0,0,.22)' stroke-width='2.4' fill='none'/%3E%3C/g%3E%3Cg transform='translate(59 237) rotate(123) scale(0.25) translate(-50 -50)' opacity='0.8'%3E%3Cpath d='M50 2L58 22L70 16L66 38L86 30L80 46L98 50L80 58L86 70L64 66L66 84L54 74L52 98L48 98L46 74L34 84L36 66L14 70L20 58L2 50L20 46L14 30L34 38L30 16L42 22Z' fill='%23D9541E'/%3E%3Cpath d='M50 98L50 24M50 60L24 44M50 60L76 44' stroke='rgba(0,0,0,.22)' stroke-width='2.4' fill='none'/%3E%3C/g%3E%3Cg transform='translate(45 304) rotate(114) scale(0.23) translate(-50 -50)' opacity='0.8'%3E%3Cpath d='M50 4C58 10 54 18 60 20C70 18 70 28 64 32C74 34 74 44 66 46C74 50 72 60 62 60C68 68 62 76 54 72L52 96L48 96L46 72C38 76 32 68 38 60C28 60 26 50 34 46C26 44 26 34 36 32C30 28 30 18 40 20C46 18 42 10 50 4Z' fill='%23D88A1A'/%3E%3Cpath d='M50 96L50 20' stroke='rgba(0,0,0,.22)' stroke-width='2.4' fill='none'/%3E%3C/g%3E%3Cg transform='translate(218 40) rotate(23) scale(0.3) translate(-50 -50)' opacity='0.8'%3E%3Cpath d='M50 2L58 22L70 16L66 38L86 30L80 46L98 50L80 58L86 70L64 66L66 84L54 74L52 98L48 98L46 74L34 84L36 66L14 70L20 58L2 50L20 46L14 30L34 38L30 16L42 22Z' fill='%239C2A1A'/%3E%3Cpath d='M50 98L50 24M50 60L24 44M50 60L76 44' stroke='rgba(0,0,0,.22)' stroke-width='2.4' fill='none'/%3E%3C/g%3E%3C/svg%3E");
  --tg-leaves-b: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 520'%3E%3Cg transform='translate(163 229) rotate(60) scale(0.15) translate(-50 -50)' opacity='0.55'%3E%3Cpath d='M50 2L58 22L70 16L66 38L86 30L80 46L98 50L80 58L86 70L64 66L66 84L54 74L52 98L48 98L46 74L34 84L36 66L14 70L20 58L2 50L20 46L14 30L34 38L30 16L42 22Z' fill='%239C2A1A'/%3E%3Cpath d='M50 98L50 24M50 60L24 44M50 60L76 44' stroke='rgba(0,0,0,.22)' stroke-width='2.4' fill='none'/%3E%3C/g%3E%3Cg transform='translate(301 432) rotate(52) scale(0.18) translate(-50 -50)' opacity='0.55'%3E%3Cpath d='M50 4C58 10 54 18 60 20C70 18 70 28 64 32C74 34 74 44 66 46C74 50 72 60 62 60C68 68 62 76 54 72L52 96L48 96L46 72C38 76 32 68 38 60C28 60 26 50 34 46C26 44 26 34 36 32C30 28 30 18 40 20C46 18 42 10 50 4Z' fill='%239C2A1A'/%3E%3Cpath d='M50 96L50 20' stroke='rgba(0,0,0,.22)' stroke-width='2.4' fill='none'/%3E%3C/g%3E%3Cg transform='translate(205 64) rotate(32) scale(0.17) translate(-50 -50)' opacity='0.55'%3E%3Cpath d='M50 2L58 22L70 16L66 38L86 30L80 46L98 50L80 58L86 70L64 66L66 84L54 74L52 98L48 98L46 74L34 84L36 66L14 70L20 58L2 50L20 46L14 30L34 38L30 16L42 22Z' fill='%239C2A1A'/%3E%3Cpath d='M50 98L50 24M50 60L24 44M50 60L76 44' stroke='rgba(0,0,0,.22)' stroke-width='2.4' fill='none'/%3E%3C/g%3E%3Cg transform='translate(331 120) rotate(272) scale(0.17) translate(-50 -50)' opacity='0.55'%3E%3Cpath d='M50 2L58 22L70 16L66 38L86 30L80 46L98 50L80 58L86 70L64 66L66 84L54 74L52 98L48 98L46 74L34 84L36 66L14 70L20 58L2 50L20 46L14 30L34 38L30 16L42 22Z' fill='%23C96A1A'/%3E%3Cpath d='M50 98L50 24M50 60L24 44M50 60L76 44' stroke='rgba(0,0,0,.22)' stroke-width='2.4' fill='none'/%3E%3C/g%3E%3C/svg%3E");
  --tg-border: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 32'%3E%3Cpath d='M10 30V8' stroke='%23C9962E' stroke-width='2'/%3E%3Cellipse cx='6.6' cy='12' rx='2.4' ry='4.6' transform='rotate(-28 6.6 12)' fill='%23C9962E'/%3E%3Cellipse cx='13.4' cy='15' rx='2.4' ry='4.6' transform='rotate(28 13.4 15)' fill='%23C9962E'/%3E%3Cellipse cx='6.6' cy='18' rx='2.4' ry='4.6' transform='rotate(-28 6.6 18)' fill='%23C9962E'/%3E%3Cellipse cx='13.4' cy='21' rx='2.4' ry='4.6' transform='rotate(28 13.4 21)' fill='%23C9962E'/%3E%3Cellipse cx='6.6' cy='24' rx='2.4' ry='4.6' transform='rotate(-28 6.6 24)' fill='%23C9962E'/%3E%3Cellipse cx='13.4' cy='27' rx='2.4' ry='4.6' transform='rotate(28 13.4 27)' fill='%23C9962E'/%3E%3Cellipse cx='6.6' cy='30' rx='2.4' ry='4.6' transform='rotate(-28 6.6 30)' fill='%23C9962E'/%3E%3Cellipse cx='13.4' cy='33' rx='2.4' ry='4.6' transform='rotate(28 13.4 33)' fill='%23C9962E'/%3E%3Cellipse cx='6.6' cy='36' rx='2.4' ry='4.6' transform='rotate(-28 6.6 36)' fill='%23C9962E'/%3E%3Cellipse cx='13.4' cy='39' rx='2.4' ry='4.6' transform='rotate(28 13.4 39)' fill='%23C9962E'/%3E%3Cellipse cx='6.6' cy='42' rx='2.4' ry='4.6' transform='rotate(-28 6.6 42)' fill='%23C9962E'/%3E%3Cellipse cx='13.4' cy='45' rx='2.4' ry='4.6' transform='rotate(28 13.4 45)' fill='%23C9962E'/%3E%3Cellipse cx='10' cy='7' rx='2.2' ry='4.6' fill='%23C9962E'/%3E%3Cpath d='M18 30V4' stroke='%23C9962E' stroke-width='2'/%3E%3Cellipse cx='14.6' cy='8' rx='2.4' ry='4.6' transform='rotate(-28 14.6 8)' fill='%23C9962E'/%3E%3Cellipse cx='21.4' cy='11' rx='2.4' ry='4.6' transform='rotate(28 21.4 11)' fill='%23C9962E'/%3E%3Cellipse cx='14.6' cy='14' rx='2.4' ry='4.6' transform='rotate(-28 14.6 14)' fill='%23C9962E'/%3E%3Cellipse cx='21.4' cy='17' rx='2.4' ry='4.6' transform='rotate(28 21.4 17)' fill='%23C9962E'/%3E%3Cellipse cx='14.6' cy='20' rx='2.4' ry='4.6' transform='rotate(-28 14.6 20)' fill='%23C9962E'/%3E%3Cellipse cx='21.4' cy='23' rx='2.4' ry='4.6' transform='rotate(28 21.4 23)' fill='%23C9962E'/%3E%3Cellipse cx='14.6' cy='26' rx='2.4' ry='4.6' transform='rotate(-28 14.6 26)' fill='%23C9962E'/%3E%3Cellipse cx='21.4' cy='29' rx='2.4' ry='4.6' transform='rotate(28 21.4 29)' fill='%23C9962E'/%3E%3Cellipse cx='14.6' cy='32' rx='2.4' ry='4.6' transform='rotate(-28 14.6 32)' fill='%23C9962E'/%3E%3Cellipse cx='21.4' cy='35' rx='2.4' ry='4.6' transform='rotate(28 21.4 35)' fill='%23C9962E'/%3E%3Cellipse cx='14.6' cy='38' rx='2.4' ry='4.6' transform='rotate(-28 14.6 38)' fill='%23C9962E'/%3E%3Cellipse cx='21.4' cy='41' rx='2.4' ry='4.6' transform='rotate(28 21.4 41)' fill='%23C9962E'/%3E%3Cellipse cx='18' cy='3' rx='2.2' ry='4.6' fill='%23C9962E'/%3E%3Cg transform='translate(40 20) scale(0.9)'%3E%3Cpath d='M0 -12q1 -6 6 -8' stroke='%235F6D22' stroke-width='2.6' fill='none' stroke-linecap='round'/%3E%3Cellipse cx='-6' cy='0' rx='8' ry='10' fill='%23E07A1F'/%3E%3Cellipse cx='6' cy='0' rx='8' ry='10' fill='%23E07A1F'/%3E%3Cellipse cx='0' cy='0' rx='8' ry='11' fill='%23E07A1F'/%3E%3Cpath d='M-6 -9q-3 9 0 18M6 -9q3 9 0 18' stroke='%23B85A10' stroke-width='1.2' fill='none'/%3E%3C/g%3E%3Cpath d='M62 30V6' stroke='%23C9962E' stroke-width='2'/%3E%3Cellipse cx='58.6' cy='10' rx='2.4' ry='4.6' transform='rotate(-28 58.6 10)' fill='%23C9962E'/%3E%3Cellipse cx='65.4' cy='13' rx='2.4' ry='4.6' transform='rotate(28 65.4 13)' fill='%23C9962E'/%3E%3Cellipse cx='58.6' cy='16' rx='2.4' ry='4.6' transform='rotate(-28 58.6 16)' fill='%23C9962E'/%3E%3Cellipse cx='65.4' cy='19' rx='2.4' ry='4.6' transform='rotate(28 65.4 19)' fill='%23C9962E'/%3E%3Cellipse cx='58.6' cy='22' rx='2.4' ry='4.6' transform='rotate(-28 58.6 22)' fill='%23C9962E'/%3E%3Cellipse cx='65.4' cy='25' rx='2.4' ry='4.6' transform='rotate(28 65.4 25)' fill='%23C9962E'/%3E%3Cellipse cx='58.6' cy='28' rx='2.4' ry='4.6' transform='rotate(-28 58.6 28)' fill='%23C9962E'/%3E%3Cellipse cx='65.4' cy='31' rx='2.4' ry='4.6' transform='rotate(28 65.4 31)' fill='%23C9962E'/%3E%3Cellipse cx='58.6' cy='34' rx='2.4' ry='4.6' transform='rotate(-28 58.6 34)' fill='%23C9962E'/%3E%3Cellipse cx='65.4' cy='37' rx='2.4' ry='4.6' transform='rotate(28 65.4 37)' fill='%23C9962E'/%3E%3Cellipse cx='58.6' cy='40' rx='2.4' ry='4.6' transform='rotate(-28 58.6 40)' fill='%23C9962E'/%3E%3Cellipse cx='65.4' cy='43' rx='2.4' ry='4.6' transform='rotate(28 65.4 43)' fill='%23C9962E'/%3E%3Cellipse cx='62' cy='5' rx='2.2' ry='4.6' fill='%23C9962E'/%3E%3Cg transform='translate(82 20) rotate(30) scale(0.16) translate(-50 -50)' opacity='1'%3E%3Cpath d='M50 4C58 10 54 18 60 20C70 18 70 28 64 32C74 34 74 44 66 46C74 50 72 60 62 60C68 68 62 76 54 72L52 96L48 96L46 72C38 76 32 68 38 60C28 60 26 50 34 46C26 44 26 34 36 32C30 28 30 18 40 20C46 18 42 10 50 4Z' fill='%23C96A1A'/%3E%3Cpath d='M50 96L50 20' stroke='rgba(0,0,0,.22)' stroke-width='2.4' fill='none'/%3E%3C/g%3E%3Cpath d='M100 30V8' stroke='%23C9962E' stroke-width='2'/%3E%3Cellipse cx='96.6' cy='12' rx='2.4' ry='4.6' transform='rotate(-28 96.6 12)' fill='%23C9962E'/%3E%3Cellipse cx='103.4' cy='15' rx='2.4' ry='4.6' transform='rotate(28 103.4 15)' fill='%23C9962E'/%3E%3Cellipse cx='96.6' cy='18' rx='2.4' ry='4.6' transform='rotate(-28 96.6 18)' fill='%23C9962E'/%3E%3Cellipse cx='103.4' cy='21' rx='2.4' ry='4.6' transform='rotate(28 103.4 21)' fill='%23C9962E'/%3E%3Cellipse cx='96.6' cy='24' rx='2.4' ry='4.6' transform='rotate(-28 96.6 24)' fill='%23C9962E'/%3E%3Cellipse cx='103.4' cy='27' rx='2.4' ry='4.6' transform='rotate(28 103.4 27)' fill='%23C9962E'/%3E%3Cellipse cx='96.6' cy='30' rx='2.4' ry='4.6' transform='rotate(-28 96.6 30)' fill='%23C9962E'/%3E%3Cellipse cx='103.4' cy='33' rx='2.4' ry='4.6' transform='rotate(28 103.4 33)' fill='%23C9962E'/%3E%3Cellipse cx='96.6' cy='36' rx='2.4' ry='4.6' transform='rotate(-28 96.6 36)' fill='%23C9962E'/%3E%3Cellipse cx='103.4' cy='39' rx='2.4' ry='4.6' transform='rotate(28 103.4 39)' fill='%23C9962E'/%3E%3Cellipse cx='96.6' cy='42' rx='2.4' ry='4.6' transform='rotate(-28 96.6 42)' fill='%23C9962E'/%3E%3Cellipse cx='103.4' cy='45' rx='2.4' ry='4.6' transform='rotate(28 103.4 45)' fill='%23C9962E'/%3E%3Cellipse cx='100' cy='7' rx='2.2' ry='4.6' fill='%23C9962E'/%3E%3Cg transform='translate(122 22) scale(0.7)'%3E%3Cpath d='M0 -12q1 -6 6 -8' stroke='%235F6D22' stroke-width='2.6' fill='none' stroke-linecap='round'/%3E%3Cellipse cx='-6' cy='0' rx='8' ry='10' fill='%23E8A21F'/%3E%3Cellipse cx='6' cy='0' rx='8' ry='10' fill='%23E8A21F'/%3E%3Cellipse cx='0' cy='0' rx='8' ry='11' fill='%23E8A21F'/%3E%3Cpath d='M-6 -9q-3 9 0 18M6 -9q3 9 0 18' stroke='%23B87A10' stroke-width='1.2' fill='none'/%3E%3C/g%3E%3Cpath d='M142 30V4' stroke='%23C9962E' stroke-width='2'/%3E%3Cellipse cx='138.6' cy='8' rx='2.4' ry='4.6' transform='rotate(-28 138.6 8)' fill='%23C9962E'/%3E%3Cellipse cx='145.4' cy='11' rx='2.4' ry='4.6' transform='rotate(28 145.4 11)' fill='%23C9962E'/%3E%3Cellipse cx='138.6' cy='14' rx='2.4' ry='4.6' transform='rotate(-28 138.6 14)' fill='%23C9962E'/%3E%3Cellipse cx='145.4' cy='17' rx='2.4' ry='4.6' transform='rotate(28 145.4 17)' fill='%23C9962E'/%3E%3Cellipse cx='138.6' cy='20' rx='2.4' ry='4.6' transform='rotate(-28 138.6 20)' fill='%23C9962E'/%3E%3Cellipse cx='145.4' cy='23' rx='2.4' ry='4.6' transform='rotate(28 145.4 23)' fill='%23C9962E'/%3E%3Cellipse cx='138.6' cy='26' rx='2.4' ry='4.6' transform='rotate(-28 138.6 26)' fill='%23C9962E'/%3E%3Cellipse cx='145.4' cy='29' rx='2.4' ry='4.6' transform='rotate(28 145.4 29)' fill='%23C9962E'/%3E%3Cellipse cx='138.6' cy='32' rx='2.4' ry='4.6' transform='rotate(-28 138.6 32)' fill='%23C9962E'/%3E%3Cellipse cx='145.4' cy='35' rx='2.4' ry='4.6' transform='rotate(28 145.4 35)' fill='%23C9962E'/%3E%3Cellipse cx='138.6' cy='38' rx='2.4' ry='4.6' transform='rotate(-28 138.6 38)' fill='%23C9962E'/%3E%3Cellipse cx='145.4' cy='41' rx='2.4' ry='4.6' transform='rotate(28 145.4 41)' fill='%23C9962E'/%3E%3Cellipse cx='142' cy='3' rx='2.2' ry='4.6' fill='%23C9962E'/%3E%3C/svg%3E");
  --tg-leaf: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg transform='translate(50 50) rotate(0) scale(1) translate(-50 -50)' opacity='1'%3E%3Cpath d='M50 2L58 22L70 16L66 38L86 30L80 46L98 50L80 58L86 70L64 66L66 84L54 74L52 98L48 98L46 74L34 84L36 66L14 70L20 58L2 50L20 46L14 30L34 38L30 16L42 22Z' fill='%23C96A1A'/%3E%3Cpath d='M50 98L50 24M50 60L24 44M50 60L76 44' stroke='rgba(0,0,0,.22)' stroke-width='2.4' fill='none'/%3E%3C/g%3E%3C/svg%3E");
  --tg-acorn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-16 -22 32 50'%3E%3Cg transform='translate(0 0) scale(1)'%3E%3Cpath d='M-1 -14q2 -5 6 -6' stroke='%235A3A1C' stroke-width='2.4' fill='none' stroke-linecap='round'/%3E%3Cpath d='M-12 2Q-12 22 0 26Q12 22 12 2Z' fill='%23B9772F'/%3E%3Cpath d='M-14 3Q0 -18 14 3Z' fill='%236B4422'/%3E%3Cpath d='M-10 -2l6 4M-4 -6l6 6M3 -7l6 6M-8 2l16 0' stroke='%234E3018' stroke-width='1' opacity='.6'/%3E%3C/g%3E%3C/svg%3E");
  --tg-corner: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg transform='translate(30 30) rotate(-20) scale(0.5) translate(-50 -50)' opacity='1'%3E%3Cpath d='M50 2L58 22L70 16L66 38L86 30L80 46L98 50L80 58L86 70L64 66L66 84L54 74L52 98L48 98L46 74L34 84L36 66L14 70L20 58L2 50L20 46L14 30L34 38L30 16L42 22Z' fill='%23D9541E'/%3E%3Cpath d='M50 98L50 24M50 60L24 44M50 60L76 44' stroke='rgba(0,0,0,.22)' stroke-width='2.4' fill='none'/%3E%3C/g%3E%3Cg transform='translate(70 22) rotate(40) scale(0.36) translate(-50 -50)' opacity='1'%3E%3Cpath d='M50 4C58 10 54 18 60 20C70 18 70 28 64 32C74 34 74 44 66 46C74 50 72 60 62 60C68 68 62 76 54 72L52 96L48 96L46 72C38 76 32 68 38 60C28 60 26 50 34 46C26 44 26 34 36 32C30 28 30 18 40 20C46 18 42 10 50 4Z' fill='%23E8A21F'/%3E%3Cpath d='M50 96L50 20' stroke='rgba(0,0,0,.22)' stroke-width='2.4' fill='none'/%3E%3C/g%3E%3Cg transform='translate(22 72) rotate(70) scale(0.34) translate(-50 -50)' opacity='1'%3E%3Cpath d='M50 2L58 22L70 16L66 38L86 30L80 46L98 50L80 58L86 70L64 66L66 84L54 74L52 98L48 98L46 74L34 84L36 66L14 70L20 58L2 50L20 46L14 30L34 38L30 16L42 22Z' fill='%239C2A1A'/%3E%3Cpath d='M50 98L50 24M50 60L24 44M50 60L76 44' stroke='rgba(0,0,0,.22)' stroke-width='2.4' fill='none'/%3E%3C/g%3E%3Cg transform='translate(58 60) scale(0.9)'%3E%3Cpath d='M-1 -14q2 -5 6 -6' stroke='%235A3A1C' stroke-width='2.4' fill='none' stroke-linecap='round'/%3E%3Cpath d='M-12 2Q-12 22 0 26Q12 22 12 2Z' fill='%23B9772F'/%3E%3Cpath d='M-14 3Q0 -18 14 3Z' fill='%236B4422'/%3E%3Cpath d='M-10 -2l6 4M-4 -6l6 6M3 -7l6 6M-8 2l16 0' stroke='%234E3018' stroke-width='1' opacity='.6'/%3E%3C/g%3E%3C/svg%3E");
  --tg-empty: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-30 -26 60 52'%3E%3Cg transform='translate(-10 4) scale(1.4)'%3E%3Cpath d='M0 -12q1 -6 6 -8' stroke='%235F6D22' stroke-width='2.6' fill='none' stroke-linecap='round'/%3E%3Cellipse cx='-6' cy='0' rx='8' ry='10' fill='%23E07A1F'/%3E%3Cellipse cx='6' cy='0' rx='8' ry='10' fill='%23E07A1F'/%3E%3Cellipse cx='0' cy='0' rx='8' ry='11' fill='%23E07A1F'/%3E%3Cpath d='M-6 -9q-3 9 0 18M6 -9q3 9 0 18' stroke='%23B85A10' stroke-width='1.2' fill='none'/%3E%3C/g%3E%3Cg transform='translate(16 4) scale(0.8)'%3E%3Cpath d='M-1 -14q2 -5 6 -6' stroke='%235A3A1C' stroke-width='2.4' fill='none' stroke-linecap='round'/%3E%3Cpath d='M-12 2Q-12 22 0 26Q12 22 12 2Z' fill='%23B9772F'/%3E%3Cpath d='M-14 3Q0 -18 14 3Z' fill='%236B4422'/%3E%3Cpath d='M-10 -2l6 4M-4 -6l6 6M3 -7l6 6M-8 2l16 0' stroke='%234E3018' stroke-width='1' opacity='.6'/%3E%3C/g%3E%3C/svg%3E");
}

/* —— Yeseva One: headers only (body text stays the palette's UI font). Self-hosted, SIL OFL 1.1 (fonts/OFL.txt) —— */
@font-face { font-family: "Yeseva One"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/YesevaOne.woff2") format("woff2"); }
html[data-holiday="thanksgiving"] { --tg-display: "Yeseva One", var(--font-display); }
html[data-holiday="thanksgiving"] .scn-head h2,
html[data-holiday="thanksgiving"] .sheet-head h2,
html[data-holiday="thanksgiving"] .empty h2,
html[data-holiday="thanksgiving"] .hol-ask-t { font-family: var(--tg-display); font-weight: 400; letter-spacing: 0.01em; color: var(--accent); }
html[data-holiday="thanksgiving"] .scn-head h2 { font-size: 1.35rem; line-height: 1.1; }
html[data-holiday="thanksgiving"] .sheet-head h2 { font-size: 1.3rem; }
/* a little maple leaf after each section title */
html[data-holiday="thanksgiving"] .scn-head h2::after { content: ""; display: inline-block; width: 15px; height: 15px; margin-left: 6px; vertical-align: 0.05em; background: var(--tg-leaf) center / contain no-repeat; transform: rotate(-18deg); }

/* —— the page: warm harvest light, leaves falling behind everything (never over a control, never takes a tap) —— */
html[data-holiday="thanksgiving"] { background: radial-gradient(120% 60% at 100% -10%, rgba(232, 162, 31, .16), transparent 55%), radial-gradient(90% 50% at 0% 100%, rgba(168, 74, 22, .08), transparent 60%), var(--bg); background-attachment: fixed; }
html[data-holiday="thanksgiving"] body { background: transparent; }
html[data-holiday="thanksgiving"] body::before,
html[data-holiday="thanksgiving"] body::after { content: ""; position: fixed; left: 0; right: 0; top: -520px; height: calc(100vh + 1040px); z-index: -1; pointer-events: none; background: var(--tg-leaves-a) 0 0 / 300px 420px repeat; animation: tg-fall 26s linear infinite; }
html[data-holiday="thanksgiving"] body::after { background-image: var(--tg-leaves-b); background-size: 360px 520px; background-position: 140px 60px; animation: tg-fall-b 40s linear infinite; }
@keyframes tg-fall { 0% { transform: translate(0, 0); } 25% { transform: translate(12px, 105px); } 50% { transform: translate(0, 210px); } 75% { transform: translate(-12px, 315px); } 100% { transform: translate(0, 420px); } }
@keyframes tg-fall-b { 0% { transform: translate(0, 0); } 50% { transform: translate(-16px, 260px); } 100% { transform: translate(0, 520px); } }

/* —— header: a soft harvest plaid (texture only; each Theme keeps its own header color) —— */
html[data-holiday="thanksgiving"] .top { background-image: repeating-linear-gradient(90deg, rgba(168, 74, 22, .07) 0 9px, transparent 9px 26px), repeating-linear-gradient(0deg, rgba(168, 74, 22, .07) 0 9px, transparent 9px 26px), repeating-linear-gradient(90deg, transparent 0 21px, rgba(95, 109, 34, .14) 21px 23px, transparent 23px 26px), repeating-linear-gradient(0deg, transparent 0 21px, rgba(95, 109, 34, .14) 21px 23px, transparent 23px 26px); border-bottom: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); }

/* —— the day card: a wheat-and-pumpkin border along its foot (extra room below, nothing moves inside) —— */
html[data-holiday="thanksgiving"] .day-card { padding-bottom: 38px; background-image: var(--holiday-stripe), var(--tg-border); background-size: 100% 4px, 150px 32px; background-position: top, left 4px bottom 3px; background-repeat: no-repeat, repeat-x; }

/* —— today's dot is a tiny leaf; the Working card glows like a hearth —— */
html[data-holiday="thanksgiving"] .day-dots i.is-today { width: 11px; height: 11px; border-radius: 0; box-shadow: none; background: var(--tg-leaf) center / contain no-repeat; }
html[data-holiday="thanksgiving"] .scn-row.st-being .scn-card { box-shadow: inset 0 0 22px rgba(232, 162, 31, .22); } /* inset: the row clips outer shadows */

/* —— the User tab's avatar: a warm ring (a ring only: same size, same tap) —— */
html[data-holiday="thanksgiving"] .tab-user .tab-av { border-color: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 20%, transparent); }

/* —— empty states: a pumpkin and an acorn —— */
html[data-holiday="thanksgiving"] .empty::before { content: ""; display: block; width: 64px; height: 54px; margin: 6px auto 8px; background: var(--tg-empty) center / contain no-repeat; }
html[data-holiday="thanksgiving"] .empty { text-align: center; }

/* —— loading / sign-in glass: bigger, a slow sway, leaves around it (static with reduced motion) —— */
html[data-holiday="thanksgiving"] .login-card { position: relative; }
html[data-holiday="thanksgiving"] .login-ic { width: 132px; height: 132px; border-radius: 30px; box-shadow: 0 0 0 1px var(--border), 0 10px 34px rgba(168, 74, 22, .25); animation: tg-sway 4s ease-in-out infinite; transform-origin: 50% 80%; }
html[data-holiday="thanksgiving"] .login-card::before { content: ""; position: absolute; left: 50%; top: -64px; width: 120px; height: 120px; margin-left: -150px; pointer-events: none; background: var(--tg-corner) center / contain no-repeat; }
@keyframes tg-sway { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(2.5deg); } }

/* —— Settings: the Thanksgiving row in Palette —— */
.hol-pal [data-hol-pal="thanksgiving"] .swatch { background: var(--tg-leaf) right 3px top 3px / 16px 16px no-repeat, var(--sw-bg); }

/* —— the pop-up: leaves in the corner, the wheat border along the foot, a harvest title —— */
.hol-ask[data-hol="thanksgiving"] .hol-ask-card { position: relative; overflow: hidden; padding-bottom: 40px; background: radial-gradient(120% 80% at 100% 0%, rgba(232, 162, 31, .18), transparent 60%), #FFFAF2; color: #3A2416; border-color: #E2CBA8; }
.hol-ask[data-hol="thanksgiving"] .hol-ask-card::before { content: ""; position: absolute; right: -14px; top: -14px; width: 96px; height: 96px; pointer-events: none; background: var(--tg-corner) center / contain no-repeat; transform: scaleX(-1); }
.hol-ask[data-hol="thanksgiving"] .hol-ask-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 30px; pointer-events: none; background: var(--tg-border) left bottom / 150px 30px repeat-x; }
.hol-ask[data-hol="thanksgiving"] .hol-ask-t { font-family: "Yeseva One", var(--font-display); font-weight: 400; font-size: 1.32rem; color: #A84A16; }
.hol-ask[data-hol="thanksgiving"] .hol-ask-p, .hol-ask[data-hol="thanksgiving"] .hol-ask-f { color: #6E5240; }
.hol-ask[data-hol="thanksgiving"] .btn:not(.btn-primary) { background: #F3E2C8; color: #3A2416; border-color: #E2CBA8; }
.hol-ask[data-hol="thanksgiving"] .btn-primary { background: #A84A16; color: #FFFFFF; border-color: #A84A16; }

/* —— reduced motion: every Thanksgiving decoration holds still —— */
@media (prefers-reduced-motion: reduce) {
  html[data-holiday="thanksgiving"] *, html[data-holiday="thanksgiving"] *::before, html[data-holiday="thanksgiving"] *::after,
  html[data-holiday="thanksgiving"] body::before, html[data-holiday="thanksgiving"] body::after, .hol-ask[data-hol="thanksgiving"] *, .hol-ask[data-hol="thanksgiving"] *::after { animation: none !important; }
}
