/**
 * AUTUMN HARVEST THEME STYLES
 */

/* ============================================
   1. BACKGROUND & LAYOUT
   ============================================ */

body.theme-autumn-harvest {
    background-color: var(--color-primary) !important;
    background-image:
        radial-gradient(circle at 50% 25%, rgba(255, 127, 0, 0.22) 0%, transparent 65%),
        radial-gradient(circle at center, rgba(var(--color-primary-rgb), 0.6) 0%, #100500 100%) !important;
    --z-particles-back: 25;
    --z-particles-mid: 35;
    --z-particles-front: 55;
    animation: autumn-glow-pulse 15s ease-in-out infinite alternate;

    /* Reusable detailed organic SVG trees to avoid duplicating heavy data URIs */
    --svg-fg-left: url("data:image/svg+xml;utf8,<svg viewBox='0 0 180 400' xmlns='http://www.w3.org/2000/svg'><defs><path id='m' d='M12,2 Q12.5,4.5 14,6 C15.5,5.5 17,4.5 18.5,5.5 Q17,7.5 16.5,9 C18,9.5 20,9.5 21,11 Q18,12 16.5,13.5 Q17,15.5 17.5,18 C15.5,16.5 14,16.5 12.5,17 L12,22 L11.5,17 C10,16.5 8.5,16.5 6.5,18 Q7,15.5 7.5,13.5 Q6,12 3,11 C4,9.5 6,9.5 7.5,9 Q7,7.5 5.5,5.5 C7,4.5 8.5,5.5 10,6 Q11.5,4.5 12,2 Z'/><path id='o' d='M12,2 C12,2 10,5 10,7 C8,6.5 7,8 8,9.5 C6,9 5.5,11 7,12 C5,12 4.5,14 6.5,15.5 C5.5,16.5 6,18.5 8,18 C9,19.5 10.5,19 11,21 L12,22 L13,21 C13.5,19 15,19.5 16,18 C18,18.5 18.5,16.5 17.5,15.5 C19.5,14 19,12 17,12 C18.5,11 18,9 16,9.5 C17,8 16,6.5 14,7 C14,5 12,2 12,2 Z'/><path id='e' d='M12,2 C16,6 19,10 17,16 C15,20 13,20.5 12.5,21.5 L12,22.5 L11.5,21.5 C11,20.5 9,20 7,16 C5,10 8,6 12,2 Z'/></defs><g><path d='M 0,400 C 25,350 30,280 15,220 C 5,160 15,110 30,70' fill='none' stroke='%232b1a0f' stroke-width='7.5' stroke-linecap='round'/><path d='M 0,400 C 25,350 30,280 15,220 C 5,160 15,110 30,70' fill='none' stroke='%233e2723' stroke-width='5.5' stroke-linecap='round'/><path d='M 18,245 C 45,235 65,225 85,235' fill='none' stroke='%232b1a0f' stroke-width='4' stroke-linecap='round'/><path d='M 18,245 C 45,235 65,225 85,235' fill='none' stroke='%233e2723' stroke-width='3' stroke-linecap='round'/><path d='M 45,238 C 55,215 70,205 85,200' fill='none' stroke='%232b1a0f' stroke-width='2.5' stroke-linecap='round'/><path d='M 45,238 C 55,215 70,205 85,200' fill='none' stroke='%233e2723' stroke-width='1.5' stroke-linecap='round'/><path d='M 65,230 C 80,245 90,260 100,255' fill='none' stroke='%232b1a0f' stroke-width='2.5' stroke-linecap='round'/><path d='M 65,230 C 80,245 90,260 100,255' fill='none' stroke='%233e2723' stroke-width='1.5' stroke-linecap='round'/><path d='M 12,185 C 40,170 70,160 100,175' fill='none' stroke='%232b1a0f' stroke-width='4' stroke-linecap='round'/><path d='M 12,185 C 40,170 70,160 100,175' fill='none' stroke='%233e2723' stroke-width='3' stroke-linecap='round'/><path d='M 45,175 C 60,150 80,140 95,135' fill='none' stroke='%232b1a0f' stroke-width='2.5' stroke-linecap='round'/><path d='M 45,175 C 60,150 80,140 95,135' fill='none' stroke='%233e2723' stroke-width='1.5' stroke-linecap='round'/><path d='M 75,165 C 90,185 105,195 115,190' fill='none' stroke='%232b1a0f' stroke-width='2.5' stroke-linecap='round'/><path d='M 75,165 C 90,185 105,195 115,190' fill='none' stroke='%233e2723' stroke-width='1.5' stroke-linecap='round'/><path d='M 19,130 C 45,115 70,105 100,115' fill='none' stroke='%232b1a0f' stroke-width='3.5' stroke-linecap='round'/><path d='M 19,130 C 45,115 70,105 100,115' fill='none' stroke='%233e2723' stroke-width='2.5' stroke-linecap='round'/><path d='M 50,120 C 65,95 80,85 95,80' fill='none' stroke='%232b1a0f' stroke-width='2.5' stroke-linecap='round'/><path d='M 50,120 C 65,95 80,85 95,80' fill='none' stroke='%233e2723' stroke-width='1.5' stroke-linecap='round'/><path d='M 75,110 C 90,125 105,135 115,130' fill='none' stroke='%232b1a0f' stroke-width='2.5' stroke-linecap='round'/><path d='M 75,110 C 90,125 105,135 115,130' fill='none' stroke='%233e2723' stroke-width='1.5' stroke-linecap='round'/><path d='M 28,80 C 48,65 70,55 90,65' fill='none' stroke='%232b1a0f' stroke-width='3' stroke-linecap='round'/><path d='M 28,80 C 48,65 70,55 90,65' fill='none' stroke='%233e2723' stroke-width='2' stroke-linecap='round'/><path d='M 50,70 C 62,50 78,40 88,35' fill='none' stroke='%232b1a0f' stroke-width='2' stroke-linecap='round'/><path d='M 50,70 C 62,50 78,40 88,35' fill='none' stroke='%233e2723' stroke-width='1' stroke-linecap='round'/><path d='M 30,70 C 40,45 55,30 70,35' fill='none' stroke='%232b1a0f' stroke-width='2.5' stroke-linecap='round'/><path d='M 30,70 C 40,45 55,30 70,35' fill='none' stroke='%233e2723' stroke-width='1.5' stroke-linecap='round'/><use href='%23m' fill='%23c0392b' transform='translate(87, 235) rotate(-92) scale(0.85) translate(-12, -22)' /><use href='%23o' fill='%23e67e22' transform='translate(88, 246) rotate(7) scale(1.13) translate(-12, -22)' /><use href='%23e' fill='%23e67e22' transform='translate(79, 240) rotate(64) scale(0.98) translate(-12, -22)' /><use href='%23m' fill='%23d35400' transform='translate(73, 228) rotate(153) scale(0.91) translate(-12, -22)' /><use href='%23o' fill='%23d35400' transform='translate(88, 225) rotate(210) scale(0.87) translate(-12, -22)' /><use href='%23m' fill='%23daa520' transform='translate(87, 200) rotate(-109) scale(0.81) translate(-12, -22)' /><use href='%23o' fill='%23f39c12' transform='translate(87, 209) rotate(-21) scale(1.10) translate(-12, -22)' /><use href='%23e' fill='%23f39c12' transform='translate(78, 199) rotate(91) scale(0.86) translate(-12, -22)' /><use href='%23m' fill='%23f39c12' transform='translate(84, 191) rotate(171) scale(0.90) translate(-12, -22)' /><use href='%23m' fill='%238e1b0f' transform='translate(102, 255) rotate(-59) scale(1.04) translate(-12, -22)' /><use href='%23o' fill='%23daa520' transform='translate(99, 261) rotate(20) scale(0.97) translate(-12, -22)' /><use href='%23e' fill='%23d35400' transform='translate(90, 254) rotate(126) scale(0.95) translate(-12, -22)' /><use href='%23m' fill='%23e67e22' transform='translate(99, 243) rotate(220) scale(0.89) translate(-12, -22)' /><use href='%23m' fill='%23d35400' transform='translate(102, 175) rotate(-84) scale(1.14) translate(-12, -22)' /><use href='%23o' fill='%23d35400' transform='translate(102, 188) rotate(4) scale(0.77) translate(-12, -22)' /><use href='%23e' fill='%23d35400' transform='translate(94, 180) rotate(74) scale(0.88) translate(-12, -22)' /><use href='%23m' fill='%23d35400' transform='translate(89, 169) rotate(128) scale(0.95) translate(-12, -22)' /><use href='%23o' fill='%23daa520' transform='translate(105, 164) rotate(203) scale(1.17) translate(-12, -22)' /><use href='%23m' fill='%23c0392b' transform='translate(97, 135) rotate(-104) scale(0.73) translate(-12, -22)' /><use href='%23o' fill='%23e67e22' transform='translate(95, 145) rotate(-19) scale(0.77) translate(-12, -22)' /><use href='%23e' fill='%23daa520' transform='translate(85, 134) rotate(90) scale(0.95) translate(-12, -22)' /><use href='%23m' fill='%23c0392b' transform='translate(96, 126) rotate(176) scale(1.06) translate(-12, -22)' /><use href='%23m' fill='%23f39c12' transform='translate(117, 190) rotate(-63) scale(0.70) translate(-12, -22)' /><use href='%23o' fill='%23daa520' transform='translate(116, 198) rotate(19) scale(0.77) translate(-12, -22)' /><use href='%23e' fill='%23e67e22' transform='translate(105, 190) rotate(106) scale(0.91) translate(-12, -22)' /><use href='%23m' fill='%23a0522d' transform='translate(114, 183) rotate(192) scale(0.72) translate(-12, -22)' /><use href='%23m' fill='%23d35400' transform='translate(102, 115) rotate(-91) scale(0.84) translate(-12, -22)' /><use href='%23o' fill='%238e1b0f' transform='translate(102, 125) rotate(13) scale(1.07) translate(-12, -22)' /><use href='%23e' fill='%23e67e22' transform='translate(90, 120) rotate(87) scale(0.84) translate(-12, -22)' /><use href='%23m' fill='%23c0392b' transform='translate(94, 109) rotate(166) scale(0.82) translate(-12, -22)' /><use href='%23o' fill='%23a0522d' transform='translate(102, 107) rotate(211) scale(0.94) translate(-12, -22)' /><use href='%23m' fill='%23a0522d' transform='translate(97, 80) rotate(-98) scale(1.06) translate(-12, -22)' /><use href='%23o' fill='%23a0522d' transform='translate(94, 86) rotate(-4) scale(1.17) translate(-12, -22)' /><use href='%23e' fill='%23c0392b' transform='translate(83, 80) rotate(82) scale(1.03) translate(-12, -22)' /><use href='%23m' fill='%23f39c12' transform='translate(94, 71) rotate(162) scale(1.02) translate(-12, -22)' /><use href='%23m' fill='%238e1b0f' transform='translate(117, 130) rotate(-87) scale(1.02) translate(-12, -22)' /><use href='%23o' fill='%23daa520' transform='translate(115, 138) rotate(10) scale(1.17) translate(-12, -22)' /><use href='%23e' fill='%23d35400' transform='translate(109, 130) rotate(125) scale(1.03) translate(-12, -22)' /><use href='%23m' fill='%23a0522d' transform='translate(115, 122) rotate(201) scale(0.83) translate(-12, -22)' /><use href='%23m' fill='%23d35400' transform='translate(92, 65) rotate(-69) scale(1.02) translate(-12, -22)' /><use href='%23o' fill='%23a0522d' transform='translate(91, 73) rotate(20) scale(0.83) translate(-12, -22)' /><use href='%23e' fill='%23e67e22' transform='translate(83, 73) rotate(58) scale(1.11) translate(-12, -22)' /><use href='%23m' fill='%23f39c12' transform='translate(83, 58) rotate(150) scale(0.96) translate(-12, -22)' /><use href='%23o' fill='%23f39c12' transform='translate(91, 58) rotate(194) scale(1.14) translate(-12, -22)' /><use href='%23m' fill='%23d35400' transform='translate(90, 35) rotate(-125) scale(0.81) translate(-12, -22)' /><use href='%23o' fill='%23a0522d' transform='translate(89, 42) rotate(-42) scale(0.71) translate(-12, -22)' /><use href='%23e' fill='%23a0522d' transform='translate(78, 37) rotate(67) scale(1.02) translate(-12, -22)' /><use href='%23m' fill='%23c0392b' transform='translate(89, 25) rotate(157) scale(0.81) translate(-12, -22)' /><use href='%23m' fill='%23e67e22' transform='translate(72, 35) rotate(-63) scale(1.02) translate(-12, -22)' /><use href='%23o' fill='%23d35400' transform='translate(71, 42) rotate(9) scale(0.94) translate(-12, -22)' /><use href='%23e' fill='%23e67e22' transform='translate(59, 40) rotate(60) scale(0.77) translate(-12, -22)' /><use href='%23m' fill='%23daa520' transform='translate(61, 28) rotate(157) scale(1.11) translate(-12, -22)' /><use href='%23o' fill='%23c0392b' transform='translate(71, 29) rotate(188) scale(0.82) translate(-12, -22)' /><use href='%23e' fill='%23daa520' transform='translate(45, 238) rotate(4) scale(0.74) translate(-12, -22)' /><use href='%23e' fill='%23daa520' transform='translate(65, 230) rotate(19) scale(0.87) translate(-12, -22)' /><use href='%23m' fill='%23d35400' transform='translate(65, 210) rotate(-26) scale(0.65) translate(-12, -22)' /><use href='%23m' fill='%23e67e22' transform='translate(45, 175) rotate(12) scale(0.85) translate(-12, -22)' /><use href='%23e' fill='%23c0392b' transform='translate(75, 165) rotate(31) scale(0.81) translate(-12, -22)' /><use href='%23e' fill='%23f39c12' transform='translate(50, 120) rotate(19) scale(0.85) translate(-12, -22)' /><use href='%23e' fill='%238e1b0f' transform='translate(75, 110) rotate(33) scale(0.64) translate(-12, -22)' /><use href='%23m' fill='%23d35400' transform='translate(50, 70) rotate(7) scale(0.68) translate(-12, -22)' /><use href='%23e' fill='%23a0522d' transform='translate(70, 60) rotate(-26) scale(0.90) translate(-12, -22)' /><use href='%23e' fill='%238e1b0f' transform='translate(50, 50) rotate(-39) scale(0.99) translate(-12, -22)' /></svg>");
    --svg-fg-right: url("data:image/svg+xml;utf8,<svg viewBox='0 0 180 400' xmlns='http://www.w3.org/2000/svg'><defs><path id='m' d='M12,2 Q12.5,4.5 14,6 C15.5,5.5 17,4.5 18.5,5.5 Q17,7.5 16.5,9 C18,9.5 20,9.5 21,11 Q18,12 16.5,13.5 Q17,15.5 17.5,18 C15.5,16.5 14,16.5 12.5,17 L12,22 L11.5,17 C10,16.5 8.5,16.5 6.5,18 Q7,15.5 7.5,13.5 Q6,12 3,11 C4,9.5 6,9.5 7.5,9 Q7,7.5 5.5,5.5 C7,4.5 8.5,5.5 10,6 Q11.5,4.5 12,2 Z'/><path id='o' d='M12,2 C12,2 10,5 10,7 C8,6.5 7,8 8,9.5 C6,9 5.5,11 7,12 C5,12 4.5,14 6.5,15.5 C5.5,16.5 6,18.5 8,18 C9,19.5 10.5,19 11,21 L12,22 L13,21 C13.5,19 15,19.5 16,18 C18,18.5 18.5,16.5 17.5,15.5 C19.5,14 19,12 17,12 C18.5,11 18,9 16,9.5 C17,8 16,6.5 14,7 C14,5 12,2 12,2 Z'/><path id='e' d='M12,2 C16,6 19,10 17,16 C15,20 13,20.5 12.5,21.5 L12,22.5 L11.5,21.5 C11,20.5 9,20 7,16 C5,10 8,6 12,2 Z'/></defs><g transform='translate(180, 0) scale(-1, 1)'><path d='M 0,400 C 25,350 30,280 15,220 C 5,160 15,110 30,70' fill='none' stroke='%232b1a0f' stroke-width='7.5' stroke-linecap='round'/><path d='M 0,400 C 25,350 30,280 15,220 C 5,160 15,110 30,70' fill='none' stroke='%233e2723' stroke-width='5.5' stroke-linecap='round'/><path d='M 18,245 C 45,235 65,225 85,235' fill='none' stroke='%232b1a0f' stroke-width='4' stroke-linecap='round'/><path d='M 18,245 C 45,235 65,225 85,235' fill='none' stroke='%233e2723' stroke-width='3' stroke-linecap='round'/><path d='M 45,238 C 55,215 70,205 85,200' fill='none' stroke='%232b1a0f' stroke-width='2.5' stroke-linecap='round'/><path d='M 45,238 C 55,215 70,205 85,200' fill='none' stroke='%233e2723' stroke-width='1.5' stroke-linecap='round'/><path d='M 65,230 C 80,245 90,260 100,255' fill='none' stroke='%232b1a0f' stroke-width='2.5' stroke-linecap='round'/><path d='M 65,230 C 80,245 90,260 100,255' fill='none' stroke='%233e2723' stroke-width='1.5' stroke-linecap='round'/><path d='M 12,185 C 40,170 70,160 100,175' fill='none' stroke='%232b1a0f' stroke-width='4' stroke-linecap='round'/><path d='M 12,185 C 40,170 70,160 100,175' fill='none' stroke='%233e2723' stroke-width='3' stroke-linecap='round'/><path d='M 45,175 C 60,150 80,140 95,135' fill='none' stroke='%232b1a0f' stroke-width='2.5' stroke-linecap='round'/><path d='M 45,175 C 60,150 80,140 95,135' fill='none' stroke='%233e2723' stroke-width='1.5' stroke-linecap='round'/><path d='M 75,165 C 90,185 105,195 115,190' fill='none' stroke='%232b1a0f' stroke-width='2.5' stroke-linecap='round'/><path d='M 75,165 C 90,185 105,195 115,190' fill='none' stroke='%233e2723' stroke-width='1.5' stroke-linecap='round'/><path d='M 19,130 C 45,115 70,105 100,115' fill='none' stroke='%232b1a0f' stroke-width='3.5' stroke-linecap='round'/><path d='M 19,130 C 45,115 70,105 100,115' fill='none' stroke='%233e2723' stroke-width='2.5' stroke-linecap='round'/><path d='M 50,120 C 65,95 80,85 95,80' fill='none' stroke='%232b1a0f' stroke-width='2.5' stroke-linecap='round'/><path d='M 50,120 C 65,95 80,85 95,80' fill='none' stroke='%233e2723' stroke-width='1.5' stroke-linecap='round'/><path d='M 75,110 C 90,125 105,135 115,130' fill='none' stroke='%232b1a0f' stroke-width='2.5' stroke-linecap='round'/><path d='M 75,110 C 90,125 105,135 115,130' fill='none' stroke='%233e2723' stroke-width='1.5' stroke-linecap='round'/><path d='M 28,80 C 48,65 70,55 90,65' fill='none' stroke='%232b1a0f' stroke-width='3' stroke-linecap='round'/><path d='M 28,80 C 48,65 70,55 90,65' fill='none' stroke='%233e2723' stroke-width='2' stroke-linecap='round'/><path d='M 50,70 C 62,50 78,40 88,35' fill='none' stroke='%232b1a0f' stroke-width='2' stroke-linecap='round'/><path d='M 50,70 C 62,50 78,40 88,35' fill='none' stroke='%233e2723' stroke-width='1' stroke-linecap='round'/><path d='M 30,70 C 40,45 55,30 70,35' fill='none' stroke='%232b1a0f' stroke-width='2.5' stroke-linecap='round'/><path d='M 30,70 C 40,45 55,30 70,35' fill='none' stroke='%233e2723' stroke-width='1.5' stroke-linecap='round'/><use href='%23m' fill='%23d35400' transform='translate(87, 235) rotate(-90) scale(0.92) translate(-12, -22)' /><use href='%23o' fill='%238e1b0f' transform='translate(89, 248) rotate(14) scale(1.04) translate(-12, -22)' /><use href='%23e' fill='%23e67e22' transform='translate(78, 239) rotate(78) scale(1.13) translate(-12, -22)' /><use href='%23m' fill='%23c0392b' transform='translate(79, 229) rotate(135) scale(1.03) translate(-12, -22)' /><use href='%23o' fill='%238e1b0f' transform='translate(88, 225) rotate(225) scale(1.09) translate(-12, -22)' /><use href='%23m' fill='%23a0522d' transform='translate(87, 200) rotate(-91) scale(0.90) translate(-12, -22)' /><use href='%23o' fill='%23c0392b' transform='translate(84, 206) rotate(-23) scale(1.01) translate(-12, -22)' /><use href='%23e' fill='%23d35400' transform='translate(79, 200) rotate(71) scale(0.80) translate(-12, -22)' /><use href='%23m' fill='%23daa520' transform='translate(83, 190) rotate(143) scale(0.95) translate(-12, -22)' /><use href='%23m' fill='%23e67e22' transform='translate(102, 255) rotate(-46) scale(0.87) translate(-12, -22)' /><use href='%23o' fill='%238e1b0f' transform='translate(100, 262) rotate(32) scale(1.01) translate(-12, -22)' /><use href='%23e' fill='%23daa520' transform='translate(91, 255) rotate(109) scale(1.02) translate(-12, -22)' /><use href='%23m' fill='%23f39c12' transform='translate(101, 249) rotate(236) scale(1.05) translate(-12, -22)' /><use href='%23m' fill='%23d35400' transform='translate(102, 175) rotate(-93) scale(1.00) translate(-12, -22)' /><use href='%23o' fill='%23e67e22' transform='translate(102, 187) rotate(-4) scale(1.10) translate(-12, -22)' /><use href='%23e' fill='%23daa520' transform='translate(89, 182) rotate(77) scale(1.02) translate(-12, -22)' /><use href='%23m' fill='%23d35400' transform='translate(94, 170) rotate(153) scale(1.17) translate(-12, -22)' /><use href='%23o' fill='%23e67e22' transform='translate(103, 163) rotate(217) scale(0.75) translate(-12, -22)' /><use href='%23m' fill='%23c0392b' transform='translate(97, 135) rotate(-91) scale(1.08) translate(-12, -22)' /><use href='%23o' fill='%23d35400' transform='translate(94, 144) rotate(-2) scale(0.76) translate(-12, -22)' /><use href='%23e' fill='%23a0522d' transform='translate(84, 135) rotate(59) scale(1.07) translate(-12, -22)' /><use href='%23m' fill='%23f39c12' transform='translate(96, 123) rotate(155) scale(0.95) translate(-12, -22)' /><use href='%23m' fill='%23d35400' transform='translate(117, 190) rotate(-79) scale(0.79) translate(-12, -22)' /><use href='%23o' fill='%23e67e22' transform='translate(116, 198) rotate(18) scale(1.05) translate(-12, -22)' /><use href='%23e' fill='%23d35400' transform='translate(104, 190) rotate(127) scale(1.08) translate(-12, -22)' /><use href='%23m' fill='%23d35400' transform='translate(115, 184) rotate(202) scale(1.01) translate(-12, -22)' /><use href='%23m' fill='%23d35400' transform='translate(102, 115) rotate(-69) scale(0.99) translate(-12, -22)' /><use href='%23o' fill='%23c0392b' transform='translate(101, 125) rotate(2) scale(1.09) translate(-12, -22)' /><use href='%23e' fill='%238e1b0f' transform='translate(92, 121) rotate(51) scale(1.01) translate(-12, -22)' /><use href='%23m' fill='%23c0392b' transform='translate(93, 108) rotate(160) scale(0.80) translate(-12, -22)' /><use href='%23o' fill='%23c0392b' transform='translate(105, 105) rotate(207) scale(0.92) translate(-12, -22)' /><use href='%23m' fill='%23a0522d' transform='translate(97, 80) rotate(-135) scale(1.15) translate(-12, -22)' /><use href='%23o' fill='%23c0392b' transform='translate(93, 92) rotate(-31) scale(1.18) translate(-12, -22)' /><use href='%23e' fill='%23e67e22' transform='translate(84, 79) rotate(80) scale(1.02) translate(-12, -22)' /><use href='%23m' fill='%23daa520' transform='translate(97, 69) rotate(146) scale(0.98) translate(-12, -22)' /><use href='%23m' fill='%23d35400' transform='translate(117, 130) rotate(-87) scale(1.02) translate(-12, -22)' /><use href='%23o' fill='%23daa520' transform='translate(115, 138) rotate(10) scale(1.17) translate(-12, -22)' /><use href='%23e' fill='%23d35400' transform='translate(109, 130) rotate(125) scale(1.03) translate(-12, -22)' /><use href='%23m' fill='%23a0522d' transform='translate(115, 122) rotate(201) scale(0.83) translate(-12, -22)' /><use href='%23m' fill='%23d35400' transform='translate(92, 65) rotate(-69) scale(1.02) translate(-12, -22)' /><use href='%23o' fill='%23a0522d' transform='translate(91, 73) rotate(20) scale(0.83) translate(-12, -22)' /><use href='%23e' fill='%23e67e22' transform='translate(83, 73) rotate(58) scale(1.11) translate(-12, -22)' /><use href='%23m' fill='%23f39c12' transform='translate(83, 58) rotate(150) scale(0.96) translate(-12, -22)' /><use href='%23o' fill='%23f39c12' transform='translate(91, 58) rotate(194) scale(1.14) translate(-12, -22)' /><use href='%23m' fill='%23d35400' transform='translate(90, 35) rotate(-125) scale(0.81) translate(-12, -22)' /><use href='%23o' fill='%23a0522d' transform='translate(89, 42) rotate(-42) scale(0.71) translate(-12, -22)' /><use href='%23e' fill='%23a0522d' transform='translate(78, 37) rotate(67) scale(1.02) translate(-12, -22)' /><use href='%23m' fill='%23c0392b' transform='translate(89, 25) rotate(157) scale(0.81) translate(-12, -22)' /><use href='%23m' fill='%23e67e22' transform='translate(72, 35) rotate(-63) scale(1.02) translate(-12, -22)' /><use href='%23o' fill='%23d35400' transform='translate(71, 42) rotate(9) scale(0.94) translate(-12, -22)' /><use href='%23e' fill='%23e67e22' transform='translate(59, 40) rotate(60) scale(0.77) translate(-12, -22)' /><use href='%23m' fill='%23daa520' transform='translate(61, 28) rotate(157) scale(1.11) translate(-12, -22)' /><use href='%23o' fill='%23c0392b' transform='translate(71, 29) rotate(188) scale(0.82) translate(-12, -22)' /><use href='%23e' fill='%23daa520' transform='translate(45, 238) rotate(4) scale(0.74) translate(-12, -22)' /><use href='%23e' fill='%23daa520' transform='translate(65, 230) rotate(19) scale(0.87) translate(-12, -22)' /><use href='%23m' fill='%23d35400' transform='translate(65, 210) rotate(-26) scale(0.65) translate(-12, -22)' /><use href='%23m' fill='%23e67e22' transform='translate(45, 175) rotate(12) scale(0.85) translate(-12, -22)' /><use href='%23e' fill='%23c0392b' transform='translate(75, 165) rotate(31) scale(0.81) translate(-12, -22)' /><use href='%23e' fill='%23f39c12' transform='translate(50, 120) rotate(19) scale(0.85) translate(-12, -22)' /><use href='%23e' fill='%238e1b0f' transform='translate(75, 110) rotate(33) scale(0.64) translate(-12, -22)' /><use href='%23m' fill='%23d35400' transform='translate(50, 70) rotate(7) scale(0.68) translate(-12, -22)' /><use href='%23e' fill='%23a0522d' transform='translate(70, 60) rotate(-26) scale(0.90) translate(-12, -22)' /><use href='%23e' fill='%238e1b0f' transform='translate(50, 50) rotate(-39) scale(0.99) translate(-12, -22)' /></g></svg>");

    --svg-bg-left: url("data:image/svg+xml;utf8,<svg viewBox='0 0 180 400' xmlns='http://www.w3.org/2000/svg'><defs><path id='m' d='M12,2 Q12.5,4.5 14,6 C15.5,5.5 17,4.5 18.5,5.5 Q17,7.5 16.5,9 C18,9.5 20,9.5 21,11 Q18,12 16.5,13.5 Q17,15.5 17.5,18 C15.5,16.5 14,16.5 12.5,17 L12,22 L11.5,17 C10,16.5 8.5,16.5 6.5,18 Q7,15.5 7.5,13.5 Q6,12 3,11 C4,9.5 6,9.5 7.5,9 Q7,7.5 5.5,5.5 C7,4.5 8.5,5.5 10,6 Q11.5,4.5 12,2 Z'/><path id='o' d='M12,2 C12,2 10,5 10,7 C8,6.5 7,8 8,9.5 C6,9 5.5,11 7,12 C5,12 4.5,14 6.5,15.5 C5.5,16.5 6,18.5 8,18 C9,19.5 10.5,19 11,21 L12,22 L13,21 C13.5,19 15,19.5 16,18 C18,18.5 18.5,16.5 17.5,15.5 C19.5,14 19,12 17,12 C18.5,11 18,9 16,9.5 C17,8 16,6.5 14,7 C14,5 12,2 12,2 Z'/><path id='e' d='M12,2 C16,6 19,10 17,16 C15,20 13,20.5 12.5,21.5 L12,22.5 L11.5,21.5 C11,20.5 9,20 7,16 C5,10 8,6 12,2 Z'/></defs><g><path d='M 0,400 C 15,340 20,280 10,210 C 5,150 20,100 35,50' fill='none' stroke='%232b1a0f' stroke-width='6.5' stroke-linecap='round'/><path d='M 0,400 C 15,340 20,280 10,210 C 5,150 20,100 35,50' fill='none' stroke='%233e2723' stroke-width='4.5' stroke-linecap='round'/><path d='M 12,260 C 35,250 55,245 75,255' fill='none' stroke='%232b1a0f' stroke-width='3.5' stroke-linecap='round'/><path d='M 12,260 C 35,250 55,245 75,255' fill='none' stroke='%233e2723' stroke-width='2.5' stroke-linecap='round'/><path d='M 38,253 C 48,230 65,220 78,215' fill='none' stroke='%232b1a0f' stroke-width='2.2' stroke-linecap='round'/><path d='M 38,253 C 48,230 65,220 78,215' fill='none' stroke='%233e2723' stroke-width='1.2000000000000002' stroke-linecap='round'/><path d='M 9,180 C 35,165 60,160 85,172' fill='none' stroke='%232b1a0f' stroke-width='3.5' stroke-linecap='round'/><path d='M 9,180 C 35,165 60,160 85,172' fill='none' stroke='%233e2723' stroke-width='2.5' stroke-linecap='round'/><path d='M 42,170 C 55,145 72,135 85,130' fill='none' stroke='%232b1a0f' stroke-width='2.2' stroke-linecap='round'/><path d='M 42,170 C 55,145 72,135 85,130' fill='none' stroke='%233e2723' stroke-width='1.2000000000000002' stroke-linecap='round'/><path d='M 60,165 C 72,180 85,190 95,185' fill='none' stroke='%232b1a0f' stroke-width='2.2' stroke-linecap='round'/><path d='M 60,165 C 72,180 85,190 95,185' fill='none' stroke='%233e2723' stroke-width='1.2000000000000002' stroke-linecap='round'/><path d='M 18,110 C 40,95 62,90 82,102' fill='none' stroke='%232b1a0f' stroke-width='3' stroke-linecap='round'/><path d='M 18,110 C 40,95 62,90 82,102' fill='none' stroke='%233e2723' stroke-width='2' stroke-linecap='round'/><path d='M 45,100 C 55,80 70,70 82,65' fill='none' stroke='%232b1a0f' stroke-width='2.2' stroke-linecap='round'/><path d='M 45,100 C 55,80 70,70 82,65' fill='none' stroke='%233e2723' stroke-width='1.2000000000000002' stroke-linecap='round'/><path d='M 32,55 C 42,35 55,20 68,25' fill='none' stroke='%232b1a0f' stroke-width='2.5' stroke-linecap='round'/><path d='M 32,55 C 42,35 55,20 68,25' fill='none' stroke='%233e2723' stroke-width='1.5' stroke-linecap='round'/><use href='%23m' fill='%23c0392b' transform='translate(77, 255) rotate(-58) scale(0.95) translate(-12, -22)' /><use href='%23o' fill='%23e67e22' transform='translate(73, 265) rotate(32) scale(0.99) translate(-12, -22)' /><use href='%23e' fill='%238e1b0f' transform='translate(67, 256) rotate(93) scale(0.91) translate(-12, -22)' /><use href='%23m' fill='%238e1b0f' transform='translate(77, 247) rotate(196) scale(0.80) translate(-12, -22)' /><use href='%23m' fill='%23c0392b' transform='translate(80, 215) rotate(-112) scale(1.19) translate(-12, -22)' /><use href='%23o' fill='%23c0392b' transform='translate(75, 219) rotate(9) scale(1.02) translate(-12, -22)' /><use href='%23e' fill='%23c0392b' transform='translate(72, 207) rotate(133) scale(0.75) translate(-12, -22)' /><use href='%23m' fill='%23f39c12' transform='translate(87, 172) rotate(-87) scale(1.18) translate(-12, -22)' /><use href='%23o' fill='%23e67e22' transform='translate(83, 183) rotate(33) scale(0.88) translate(-12, -22)' /><use href='%23e' fill='%23e67e22' transform='translate(77, 173) rotate(88) scale(0.77) translate(-12, -22)' /><use href='%23m' fill='%23e67e22' transform='translate(85, 161) rotate(207) scale(1.17) translate(-12, -22)' /><use href='%23m' fill='%23a0522d' transform='translate(87, 130) rotate(-131) scale(0.91) translate(-12, -22)' /><use href='%23o' fill='%23daa520' transform='translate(80, 139) rotate(10) scale(0.80) translate(-12, -22)' /><use href='%23e' fill='%23f39c12' transform='translate(81, 121) rotate(145) scale(0.73) translate(-12, -22)' /><use href='%23m' fill='%23e67e22' transform='translate(97, 185) rotate(-62) scale(1.12) translate(-12, -22)' /><use href='%23o' fill='%23a0522d' transform='translate(91, 191) rotate(55) scale(1.15) translate(-12, -22)' /><use href='%23e' fill='%23c0392b' transform='translate(90, 178) rotate(175) scale(1.04) translate(-12, -22)' /><use href='%23m' fill='%23d35400' transform='translate(84, 102) rotate(-70) scale(1.11) translate(-12, -22)' /><use href='%23o' fill='%23d35400' transform='translate(82, 109) rotate(4) scale(0.84) translate(-12, -22)' /><use href='%23e' fill='%23f39c12' transform='translate(74, 103) rotate(108) scale(1.08) translate(-12, -22)' /><use href='%23m' fill='%23e67e22' transform='translate(81, 94) rotate(200) scale(0.86) translate(-12, -22)' /><use href='%23m' fill='%23e67e22' transform='translate(84, 65) rotate(-118) scale(0.80) translate(-12, -22)' /><use href='%23o' fill='%23e67e22' transform='translate(80, 70) rotate(0) scale(0.89) translate(-12, -22)' /><use href='%23e' fill='%23c0392b' transform='translate(80, 58) rotate(133) scale(0.98) translate(-12, -22)' /><use href='%23m' fill='%23f39c12' transform='translate(70, 25) rotate(-66) scale(0.96) translate(-12, -22)' /><use href='%23o' fill='%23a0522d' transform='translate(66, 34) rotate(34) scale(0.95) translate(-12, -22)' /><use href='%23e' fill='%23c0392b' transform='translate(60, 25) rotate(85) scale(0.84) translate(-12, -22)' /><use href='%23m' fill='%23e67e22' transform='translate(69, 15) rotate(207) scale(1.14) translate(-12, -22)' /><use href='%23o' fill='%23d35400' transform='translate(38, 253) rotate(4) scale(0.71) translate(-12, -22)' /><use href='%23m' fill='%23c0392b' transform='translate(42, 170) rotate(13) scale(0.63) translate(-12, -22)' /><use href='%23m' fill='%23f39c12' transform='translate(45, 100) rotate(-16) scale(0.75) translate(-12, -22)' /></g></svg>");

    --svg-bg-right: url("data:image/svg+xml;utf8,<svg viewBox='0 0 180 400' xmlns='http://www.w3.org/2000/svg'><defs><path id='m' d='M12,2 Q12.5,4.5 14,6 C15.5,5.5 17,4.5 18.5,5.5 Q17,7.5 16.5,9 C18,9.5 20,9.5 21,11 Q18,12 16.5,13.5 Q17,15.5 17.5,18 C15.5,16.5 14,16.5 12.5,17 L12,22 L11.5,17 C10,16.5 8.5,16.5 6.5,18 Q7,15.5 7.5,13.5 Q6,12 3,11 C4,9.5 6,9.5 7.5,9 Q7,7.5 5.5,5.5 C7,4.5 8.5,5.5 10,6 Q11.5,4.5 12,2 Z'/><path id='o' d='M12,2 C12,2 10,5 10,7 C8,6.5 7,8 8,9.5 C6,9 5.5,11 7,12 C5,12 4.5,14 6.5,15.5 C5.5,16.5 6,18.5 8,18 C9,19.5 10.5,19 11,21 L12,22 L13,21 C13.5,19 15,19.5 16,18 C18,18.5 18.5,16.5 17.5,15.5 C19.5,14 19,12 17,12 C18.5,11 18,9 16,9.5 C17,8 16,6.5 14,7 C14,5 12,2 12,2 Z'/><path id='e' d='M12,2 C16,6 19,10 17,16 C15,20 13,20.5 12.5,21.5 L12,22.5 L11.5,21.5 C11,20.5 9,20 7,16 C5,10 8,6 12,2 Z'/></defs><g transform='translate(180, 0) scale(-1, 1)'><path d='M 0,400 C 15,340 20,280 10,210 C 5,150 20,100 35,50' fill='none' stroke='%232b1a0f' stroke-width='6.5' stroke-linecap='round'/><path d='M 0,400 C 15,340 20,280 10,210 C 5,150 20,100 35,50' fill='none' stroke='%233e2723' stroke-width='4.5' stroke-linecap='round'/><path d='M 12,260 C 35,250 55,245 75,255' fill='none' stroke='%232b1a0f' stroke-width='3.5' stroke-linecap='round'/><path d='M 12,260 C 35,250 55,245 75,255' fill='none' stroke='%233e2723' stroke-width='2.5' stroke-linecap='round'/><path d='M 38,253 C 48,230 65,220 78,215' fill='none' stroke='%232b1a0f' stroke-width='2.2' stroke-linecap='round'/><path d='M 38,253 C 48,230 65,220 78,215' fill='none' stroke='%233e2723' stroke-width='1.2000000000000002' stroke-linecap='round'/><path d='M 9,180 C 35,165 60,160 85,172' fill='none' stroke='%232b1a0f' stroke-width='3.5' stroke-linecap='round'/><path d='M 9,180 C 35,165 60,160 85,172' fill='none' stroke='%233e2723' stroke-width='2.5' stroke-linecap='round'/><path d='M 42,170 C 55,145 72,135 85,130' fill='none' stroke='%232b1a0f' stroke-width='2.2' stroke-linecap='round'/><path d='M 42,170 C 55,145 72,135 85,130' fill='none' stroke='%233e2723' stroke-width='1.2000000000000002' stroke-linecap='round'/><path d='M 60,165 C 72,180 85,190 95,185' fill='none' stroke='%232b1a0f' stroke-width='2.2' stroke-linecap='round'/><path d='M 60,165 C 72,180 85,190 95,185' fill='none' stroke='%233e2723' stroke-width='1.2000000000000002' stroke-linecap='round'/><path d='M 18,110 C 40,95 62,90 82,102' fill='none' stroke='%232b1a0f' stroke-width='3' stroke-linecap='round'/><path d='M 18,110 C 40,95 62,90 82,102' fill='none' stroke='%233e2723' stroke-width='2' stroke-linecap='round'/><path d='M 45,100 C 55,80 70,70 82,65' fill='none' stroke='%232b1a0f' stroke-width='2.2' stroke-linecap='round'/><path d='M 45,100 C 55,80 70,70 82,65' fill='none' stroke='%233e2723' stroke-width='1.2000000000000002' stroke-linecap='round'/><path d='M 32,55 C 42,35 55,20 68,25' fill='none' stroke='%232b1a0f' stroke-width='2.5' stroke-linecap='round'/><path d='M 32,55 C 42,35 55,20 68,25' fill='none' stroke='%233e2723' stroke-width='1.5' stroke-linecap='round'/><use href='%23m' fill='%23c0392b' transform='translate(77, 255) rotate(-69) scale(0.72) translate(-12, -22)' /><use href='%23o' fill='%23d35400' transform='translate(75, 265) rotate(26) scale(0.98) translate(-12, -22)' /><use href='%23e' fill='%23f39c12' transform='translate(63, 256) rotate(103) scale(1.00) translate(-12, -22)' /><use href='%23m' fill='%23d35400' transform='translate(76, 244) rotate(218) scale(1.00) translate(-12, -22)' /><use href='%23m' fill='%23a0522d' transform='translate(80, 215) rotate(-111) scale(0.88) translate(-12, -22)' /><use href='%23o' fill='%23d35400' transform='translate(75, 223) rotate(14) scale(0.91) translate(-12, -22)' /><use href='%23e' fill='%23a0522d' transform='translate(73, 208) rotate(125) scale(0.85) translate(-12, -22)' /><use href='%23m' fill='%23a0522d' transform='translate(87, 172) rotate(-76) scale(0.75) translate(-12, -22)' /><use href='%23o' fill='%23d35400' transform='translate(86, 182) rotate(-3) scale(0.98) translate(-12, -22)' /><use href='%23e' fill='%23a0522d' transform='translate(75, 172) rotate(118) scale(0.80) translate(-12, -22)' /><use href='%23m' fill='%23f39c12' transform='translate(84, 164) rotate(174) scale(1.09) translate(-12, -22)' /><use href='%23m' fill='%23daa520' transform='translate(87, 130) rotate(-124) scale(0.88) translate(-12, -22)' /><use href='%23o' fill='%23a0522d' transform='translate(81, 135) rotate(22) scale(1.10) translate(-12, -22)' /><use href='%23e' fill='%23d35400' transform='translate(78, 122) rotate(117) scale(0.98) translate(-12, -22)' /><use href='%23m' fill='%23a0522d' transform='translate(97, 185) rotate(-90) scale(0.98) translate(-12, -22)' /><use href='%23o' fill='%23daa520' transform='translate(93, 191) rotate(34) scale(0.98) translate(-12, -22)' /><use href='%23e' fill='%23d35400' transform='translate(91, 177) rotate(163) scale(0.94) translate(-12, -22)' /><use href='%23m' fill='%23c0392b' transform='translate(84, 102) rotate(-93) scale(0.72) translate(-12, -22)' /><use href='%23o' fill='%23f39c12' transform='translate(83, 111) rotate(16) scale(0.70) translate(-12, -22)' /><use href='%23e' fill='%238e1b0f' transform='translate(75, 102) rotate(93) scale(0.71) translate(-12, -22)' /><use href='%23m' fill='%238e1b0f' transform='translate(82, 91) rotate(187) scale(1.00) translate(-12, -22)' /><use href='%23m' fill='%238e1b0f' transform='translate(84, 65) rotate(-110) scale(0.84) translate(-12, -22)' /><use href='%23o' fill='%23c0392b' transform='translate(78, 73) rotate(8) scale(1.10) translate(-12, -22)' /><use href='%23e' fill='%23c0392b' transform='translate(76, 58) rotate(126) scale(0.95) translate(-12, -22)' /><use href='%23m' fill='%238e1b0f' transform='translate(70, 25) rotate(-108) scale(1.01) translate(-12, -22)' /><use href='%23o' fill='%23daa520' transform='translate(69, 33) rotate(6) scale(0.76) translate(-12, -22)' /><use href='%23e' fill='%23f39c12' transform='translate(62, 24) rotate(102) scale(1.14) translate(-12, -22)' /><use href='%23m' fill='%23f39c12' transform='translate(69, 18) rotate(207) scale(0.96) translate(-12, -22)' /><use href='%23e' fill='%23f39c12' transform='translate(38, 253) rotate(6) scale(0.68) translate(-12, -22)' /><use href='%23e' fill='%23e67e22' transform='translate(42, 170) rotate(14) scale(0.62) translate(-12, -22)' /><use href='%23e' fill='%23a0522d' transform='translate(45, 100) rotate(6) scale(0.80) translate(-12, -22)' /></g></svg>");
}

@keyframes autumn-glow-pulse {
    0% {
        background-color: var(--color-primary) !important;
    }
    100% {
        /* Subtle warmth shift representing flickering bonfire glow */
        background-color: #4a2107 !important;
    }
}

body.theme-autumn-harvest::before {
    content: none !important;
}

/* Warm Sunbeams Overlay filtering down through canopy */
body.theme-autumn-harvest::after {
    content: '';
    position: fixed;
    inset: 0;
    background:
        linear-gradient(135deg, transparent 20%, rgba(253, 240, 213, 0.05) 30%, rgba(255, 200, 42, 0.09) 40%, rgba(253, 240, 213, 0.05) 50%, transparent 60%),
        linear-gradient(115deg, transparent 60%, rgba(211, 84, 0, 0.07) 70%, rgba(253, 240, 213, 0.04) 75%, transparent 85%);
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 2;
    animation: autumn-beams-breath 12s ease-in-out infinite alternate;
}

@keyframes autumn-beams-breath {
    0% {
        opacity: 0.35;
    }
    100% {
        opacity: 0.95;
    }
}

/* Deep Vignette representing cozy forest clearing / fireplace warmth */
body.theme-autumn-harvest #vignette-overlay {
    background: radial-gradient(ellipse at center, rgba(20, 8, 0, 0.15), rgba(20, 8, 0, 0.55) 55%, rgba(10, 3, 0, 0.92) 100%) !important;
    opacity: 0.9 !important;
}

/* Texture Overlay - Subtle wool plaid/flannel blanket pattern & linen paper */
body.theme-autumn-harvest .theme-texture {
    position: absolute;
    inset: 0;
    background-image:
        /* Vertical warm orange stripes */
        repeating-linear-gradient(90deg, rgba(211, 84, 0, 0.015) 0px, rgba(211, 84, 0, 0.015) 60px, transparent 60px, transparent 120px),
        /* Horizontal warm orange stripes */
        repeating-linear-gradient(0deg, rgba(211, 84, 0, 0.015) 0px, rgba(211, 84, 0, 0.015) 60px, transparent 60px, transparent 120px),
        /* Fine accent lines */
        repeating-linear-gradient(90deg, rgba(218, 165, 32, 0.01) 0px, rgba(218, 165, 32, 0.01) 30px, transparent 30px, transparent 60px),
        repeating-linear-gradient(0deg, rgba(218, 165, 32, 0.01) 0px, rgba(218, 165, 32, 0.01) 30px, transparent 30px, transparent 60px),
        /* Soft paper texture filter noise */
        url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='paperNoise'><feTurbulence type='fractalNoise' baseFrequency='0.05' numOctaves='3' result='noise'/><feColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0'/></filter><rect width='100%25' height='100%25' filter='url(%23paperNoise)'/></svg>");
    background-repeat: repeat;
    opacity: 0.9;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 1;
}

/* ============================================
   2. ELEGANT DOUBLE-LINE FRAME WITH CORNER BRACKETS
   ============================================ */

body.theme-autumn-harvest .theme-frame {
    opacity: 1;
    border: 6px double #8c5835;
    border-radius: 8px;
    z-index: 50;
    pointer-events: none;
    box-shadow:
        inset 0 0 20px rgba(0, 0, 0, 0.6),
        0 10px 25px rgba(0, 0, 0, 0.4);
    outline: 100vmax solid var(--color-primary);
    background: transparent;
}

body.theme-autumn-harvest .theme-frame-inner {
    position: absolute;
    inset: 4px;
    border: 1px dashed rgba(253, 240, 213, 0.25); /* Cozy inner thread */
    border-radius: 4px;
}

/* Ornate Bronze L-Brackets in the Corners */
body.theme-autumn-harvest .theme-frame-inner::after {
    content: '';
    position: absolute;
    inset: -6px;
    background-image:
        /* Top-left corner bracket */
        linear-gradient(90deg, #8c5835 15px, transparent 15px),
        linear-gradient(180deg, #8c5835 15px, transparent 15px),
        /* Top-right corner bracket */
        linear-gradient(-90deg, #8c5835 15px, transparent 15px),
        linear-gradient(180deg, #8c5835 15px, transparent 15px),
        /* Bottom-left corner bracket */
        linear-gradient(90deg, #8c5835 15px, transparent 15px),
        linear-gradient(-180deg, #8c5835 15px, transparent 15px),
        /* Bottom-right corner bracket */
        linear-gradient(-90deg, #8c5835 15px, transparent 15px),
        linear-gradient(-180deg, #8c5835 15px, transparent 15px);
    background-size: 15px 15px;
    background-repeat: no-repeat;
    background-position: 
        top left, top left, 
        top right, top right, 
        bottom left, bottom left, 
        bottom right, bottom right;
    pointer-events: none;
    opacity: 0.85;
}

body.theme-autumn-harvest .frame-rail {
    display: none !important;
}

body.border-hidden.theme-autumn-harvest .theme-frame {
    opacity: 0 !important;
    pointer-events: none;
}

body.border-hidden.theme-autumn-harvest .sway-layer {
    opacity: 0 !important;
    pointer-events: none;
}

/* ============================================
   3. SWAY LAYERS (DRAPING GARLAND, LANTERNS & FOLIAGE)
   ============================================ */

body.theme-autumn-harvest .sway-layer {
    position: absolute;
    z-index: 30;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out;
}

body.theme-autumn-harvest:not(.is-loading) .sway-layer {
    opacity: 0.9;
}

/* Cozy Draping Leaf Vine Garland (with Oak, Maple, and Acorns) */
body.theme-autumn-harvest .sway-top-1 {
    display: block !important;
    position: absolute;
    top: 14px;
    left: 20px;
    right: 20px;
    width: auto;
    height: 60px;
    z-index: 55;
    background-repeat: repeat-x;
    background-size: 160px 60px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 60' width='160' height='60'><path d='M0,10 Q40,35 80,35 T160,10' fill='none' stroke='%233e2723' stroke-width='2.5' stroke-linecap='round'/><path d='M25,18 C28,18 29,14 32,15 C35,16 33,21 36,21 C39,21 38,17 41,18 C43,19 41,24 43,26 L45,28 L35,26 Z' fill='%23c0392b'/><path d='M75,32 L78,25 L84,27 L82,33 L88,35 L82,39 L83,45 L78,42 L77,48 L76,42 L71,45 L72,39 L66,35 L72,33 L70,27 Z' fill='%23d35400'/><path d='M115,22 L118,15 L124,17 L122,23 L128,25 L122,29 L123,35 L118,32 L117,38 L116,32 L111,35 L112,29 L106,25 L112,23 L110,17 Z' fill='%23daa520'/><path d='M43,23 L43,28' stroke='%233e2723' stroke-width='1.5'/><path d='M39,28 H47 V31 H39 Z' fill='%238d6e63'/><path d='M40,31 Q40,37 43,37 Q46,37 46,31 Z' fill='%23d7ccc8'/><path d='M120,25 L120,30' stroke='%233e2723' stroke-width='1.5'/><path d='M116,30 H124 V33 H116 Z' fill='%238d6e63'/><path d='M117,33 Q117,39 120,39 Q123,39 123,33 Z' fill='%23d7ccc8'/></svg>") !important;
    transform-origin: center top;
    animation: autumn-vine-sway calc(10s / var(--gust-speed, 1)) ease-in-out infinite alternate;
}

@keyframes autumn-vine-sway {
    0% { transform: skewX(-1.5deg) scaleY(0.97); }
    100% { transform: skewX(1.5deg) scaleY(1.03); }
}

/* Hanging Carriage Lanterns - Positioned strictly at top corners */
body.theme-autumn-harvest .sway-top-left {
    display: block !important;
    top: 14px;
    left: 45px;
    width: 105px;
    height: 210px;
    z-index: 60;
    background-position: top center;
    background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 100 200' xmlns='http://www.w3.org/2000/svg'><path d='M50,0 L50,50' stroke='%233e2723' stroke-width='3' stroke-linecap='round'/><path d='M35,50 L65,50 L75,65 L25,65 Z' fill='%232b1a0f' stroke='%231b1008' stroke-width='2'/><circle cx='50' cy='45' r='5' fill='none' stroke='%232b1a0f' stroke-width='3'/><path d='M28,65 L72,65 L65,130 L35,130 Z' fill='rgba(253, 240, 213, 0.2)' stroke='%232b1a0f' stroke-width='2.5'/><line x1='50' y1='65' x2='50' y2='130' stroke='%232b1a0f' stroke-width='2'/><line x1='35' y1='97' x2='65' y2='97' stroke='%232b1a0f' stroke-width='1.5'/><rect x='30' y='130' width='40' height='10' fill='%232b1a0f' stroke='%231b1008' stroke-width='2' rx='2'/><circle cx='50' cy='105' r='18' fill='%23ff8f00' opacity='0.75'/><circle cx='50' cy='105' r='10' fill='%23ffe082' opacity='0.95'/><path d='M50,95 Q53,103 50,107 Q47,103 50,95 Z' fill='%23ffffff'/></svg>") !important;
    transform-origin: center top;
    animation:
        autumn-lantern-sway-left calc(7.5s / var(--gust-speed, 1)) ease-in-out infinite alternate,
        autumn-lantern-glow 3s infinite alternate ease-in-out;
}

body.theme-autumn-harvest .sway-top-right {
    display: block !important;
    top: 14px;
    right: 45px;
    width: 105px;
    height: 210px;
    z-index: 60;
    background-position: top center;
    background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 100 200' xmlns='http://www.w3.org/2000/svg'><path d='M50,0 L50,50' stroke='%233e2723' stroke-width='3' stroke-linecap='round'/><path d='M35,50 L65,50 L75,65 L25,65 Z' fill='%232b1a0f' stroke='%231b1008' stroke-width='2'/><circle cx='50' cy='45' r='5' fill='none' stroke='%232b1a0f' stroke-width='3'/><path d='M28,65 L72,65 L65,130 L35,130 Z' fill='rgba(253, 240, 213, 0.2)' stroke='%232b1a0f' stroke-width='2.5'/><line x1='50' y1='65' x2='50' y2='130' stroke='%232b1a0f' stroke-width='2'/><line x1='35' y1='97' x2='65' y2='97' stroke='%232b1a0f' stroke-width='1.5'/><rect x='30' y='130' width='40' height='10' fill='%232b1a0f' stroke='%231b1008' stroke-width='2' rx='2'/><circle cx='50' cy='105' r='18' fill='%23ff8f00' opacity='0.75'/><circle cx='50' cy='105' r='10' fill='%23ffe082' opacity='0.95'/><path d='M50,95 Q53,103 50,107 Q47,103 50,95 Z' fill='%23ffffff'/></svg>") !important;
    transform-origin: center top;
    animation:
        autumn-lantern-sway-right calc(8.2s / var(--gust-speed, 1)) ease-in-out infinite alternate,
        autumn-lantern-glow 2.7s infinite alternate ease-in-out;
    animation-delay: -1.2s;
}

@keyframes autumn-lantern-sway-left {
    0% { transform: rotate(-2.5deg); }
    100% { transform: rotate(2.5deg); }
}

@keyframes autumn-lantern-sway-right {
    0% { transform: rotate(-2.0deg); }
    100% { transform: rotate(2.0deg); }
}

@keyframes autumn-lantern-glow {
    0% {
        filter: drop-shadow(0 0 12px rgba(255, 143, 0, 0.5)) drop-shadow(0 0 25px rgba(255, 143, 0, 0.25));
    }
    100% {
        filter: drop-shadow(0 0 24px rgba(255, 143, 0, 0.8)) drop-shadow(0 0 45px rgba(255, 85, 0, 0.55));
    }
}

/* Rich Side Foliage Branches - Framing the edges organically */
body.theme-autumn-harvest .sway-left-side {
    display: block !important;
    top: auto !important;
    bottom: 20px !important;
    left: 14px;
    width: 220px;
    height: 72%;
    z-index: 45;
    background-position: left bottom;
    background-image: var(--svg-fg-left) !important;
    transform-origin: left bottom;
    animation: autumn-branch-sway-left calc(11s / var(--gust-speed, 1)) ease-in-out infinite alternate;
}

body.theme-autumn-harvest .sway-right-side {
    display: block !important;
    top: auto !important;
    bottom: 20px !important;
    right: 14px;
    width: 220px;
    height: 72%;
    z-index: 45;
    background-position: right bottom;
    background-image: var(--svg-fg-right) !important;
    transform-origin: right bottom;
    animation: autumn-branch-sway-right calc(12.5s / var(--gust-speed, 1)) ease-in-out infinite alternate;
}

@keyframes autumn-branch-sway-left {
    0% { transform: rotate(-1deg) skewY(-0.5deg); }
    100% { transform: rotate(1.5deg) skewY(0.5deg); }
}

@keyframes autumn-branch-sway-right {
    0% { transform: rotate(1deg) skewY(0.5deg); }
    100% { transform: rotate(-1.5deg) skewY(-0.5deg); }
}

/* All bottom trees shared properties */
body.theme-autumn-harvest .sway-bottom-3,
body.theme-autumn-harvest .sway-bottom-4,
body.theme-autumn-harvest .sway-bottom-5,
body.theme-autumn-harvest .sway-bottom-6,
body.theme-autumn-harvest .sway-bottom-7,
body.theme-autumn-harvest .sway-bottom-8,
body.theme-autumn-harvest .sway-bottom-9,
body.theme-autumn-harvest .sway-bottom-10,
body.theme-autumn-harvest .sway-bottom-11,
body.theme-autumn-harvest .sway-bottom-12,
body.theme-autumn-harvest .sway-bottom-13,
body.theme-autumn-harvest .sway-bottom-14,
body.theme-autumn-harvest .sway-bottom-left,
body.theme-autumn-harvest .sway-bottom-right {
    display: block !important;
    top: auto !important;
    bottom: 20px !important;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

/* --- Foreground Layer Trees --- */
body.theme-autumn-harvest .sway-bottom-9 {
    left: 45px;
    width: 200px;
    height: 71%;
    z-index: 44;
    background-position: left bottom;
    background-image: var(--svg-bg-left) !important;
    transform-origin: left bottom;
    animation: autumn-branch-sway-left calc(13.2s / var(--gust-speed, 1)) ease-in-out infinite alternate;
    filter: saturate(1.1) brightness(0.95);
}
body.theme-autumn-harvest:not(.is-loading) .sway-bottom-9 {
    opacity: 0.85;
}

body.theme-autumn-harvest .sway-bottom-10 {
    right: 45px;
    width: 200px;
    height: 71%;
    z-index: 44;
    background-position: right bottom;
    background-image: var(--svg-bg-right) !important;
    transform-origin: right bottom;
    animation: autumn-branch-sway-right calc(14.8s / var(--gust-speed, 1)) ease-in-out infinite alternate;
    filter: saturate(1.1) brightness(0.95);
}
body.theme-autumn-harvest:not(.is-loading) .sway-bottom-10 {
    opacity: 0.85;
}

/* --- Midground Layer Trees --- */
body.theme-autumn-harvest .sway-bottom-3 {
    left: 95px;
    width: 190px;
    height: 69%;
    z-index: 42;
    background-position: left bottom;
    background-image: var(--svg-bg-left) !important;
    transform-origin: left bottom;
    animation: autumn-branch-sway-left calc(14s / var(--gust-speed, 1)) ease-in-out infinite alternate;
    filter: saturate(0.95) contrast(1.05);
}
body.theme-autumn-harvest:not(.is-loading) .sway-bottom-3 {
    opacity: 0.75;
}

body.theme-autumn-harvest .sway-bottom-4 {
    right: 95px;
    width: 190px;
    height: 69%;
    z-index: 42;
    background-position: right bottom;
    background-image: var(--svg-bg-right) !important;
    transform-origin: right bottom;
    animation: autumn-branch-sway-right calc(15.5s / var(--gust-speed, 1)) ease-in-out infinite alternate;
    filter: saturate(0.95) contrast(1.05);
}
body.theme-autumn-harvest:not(.is-loading) .sway-bottom-4 {
    opacity: 0.75;
}

body.theme-autumn-harvest .sway-bottom-11 {
    left: 135px;
    width: 175px;
    height: 67%;
    z-index: 41;
    background-position: left bottom;
    background-image: var(--svg-fg-left) !important;
    transform-origin: left bottom;
    animation: autumn-branch-sway-left calc(16.4s / var(--gust-speed, 1)) ease-in-out infinite alternate;
    filter: saturate(0.85) hue-rotate(5deg) brightness(0.9);
}
body.theme-autumn-harvest:not(.is-loading) .sway-bottom-11 {
    opacity: 0.65;
}

body.theme-autumn-harvest .sway-bottom-12 {
    right: 135px;
    width: 175px;
    height: 67%;
    z-index: 41;
    background-position: right bottom;
    background-image: var(--svg-fg-right) !important;
    transform-origin: right bottom;
    animation: autumn-branch-sway-right calc(17.9s / var(--gust-speed, 1)) ease-in-out infinite alternate;
    filter: saturate(0.85) hue-rotate(5deg) brightness(0.9);
}
body.theme-autumn-harvest:not(.is-loading) .sway-bottom-12 {
    opacity: 0.65;
}

/* --- Background Layer Trees --- */
body.theme-autumn-harvest .sway-bottom-left {
    left: 170px;
    width: 160px;
    height: 66%;
    z-index: 40;
    background-position: left bottom;
    background-image: var(--svg-fg-left) !important;
    transform-origin: left bottom;
    animation: autumn-branch-sway-left calc(17s / var(--gust-speed, 1)) ease-in-out infinite alternate;
    filter: saturate(0.8) hue-rotate(-5deg) brightness(0.85);
}
body.theme-autumn-harvest:not(.is-loading) .sway-bottom-left {
    opacity: 0.55;
}

body.theme-autumn-harvest .sway-bottom-right {
    right: 170px;
    width: 160px;
    height: 66%;
    z-index: 40;
    background-position: right bottom;
    background-image: var(--svg-fg-right) !important;
    transform-origin: right bottom;
    animation: autumn-branch-sway-right calc(18.5s / var(--gust-speed, 1)) ease-in-out infinite alternate;
    filter: saturate(0.8) hue-rotate(-5deg) brightness(0.85);
}
body.theme-autumn-harvest:not(.is-loading) .sway-bottom-right {
    opacity: 0.55;
}

body.theme-autumn-harvest .sway-bottom-13 {
    left: 205px;
    width: 145px;
    height: 64%;
    z-index: 39;
    background-position: left bottom;
    background-image: var(--svg-bg-left) !important;
    transform-origin: left bottom;
    animation: autumn-branch-sway-left calc(19.2s / var(--gust-speed, 1)) ease-in-out infinite alternate;
    filter: saturate(0.75) hue-rotate(8deg) brightness(0.8);
}
body.theme-autumn-harvest:not(.is-loading) .sway-bottom-13 {
    opacity: 0.45;
}

body.theme-autumn-harvest .sway-bottom-14 {
    right: 205px;
    width: 145px;
    height: 64%;
    z-index: 39;
    background-position: right bottom;
    background-image: var(--svg-bg-right) !important;
    transform-origin: right bottom;
    animation: autumn-branch-sway-right calc(21.1s / var(--gust-speed, 1)) ease-in-out infinite alternate;
    filter: saturate(0.75) hue-rotate(8deg) brightness(0.8);
}
body.theme-autumn-harvest:not(.is-loading) .sway-bottom-14 {
    opacity: 0.45;
}

/* --- Deep Background Layer Trees --- */
body.theme-autumn-harvest .sway-bottom-5 {
    left: 240px;
    width: 130px;
    height: 62%;
    z-index: 38;
    background-position: left bottom;
    background-image: var(--svg-bg-left) !important;
    transform-origin: left bottom;
    animation: autumn-branch-sway-left calc(20s / var(--gust-speed, 1)) ease-in-out infinite alternate;
    filter: saturate(0.7) hue-rotate(-8deg) brightness(0.75);
}
body.theme-autumn-harvest:not(.is-loading) .sway-bottom-5 {
    opacity: 0.35;
}

body.theme-autumn-harvest .sway-bottom-6 {
    right: 240px;
    width: 130px;
    height: 62%;
    z-index: 38;
    background-position: right bottom;
    background-image: var(--svg-bg-right) !important;
    transform-origin: right bottom;
    animation: autumn-branch-sway-right calc(22s / var(--gust-speed, 1)) ease-in-out infinite alternate;
    filter: saturate(0.7) hue-rotate(-8deg) brightness(0.75);
}
body.theme-autumn-harvest:not(.is-loading) .sway-bottom-6 {
    opacity: 0.35;
}

body.theme-autumn-harvest .sway-bottom-7 {
    left: 280px;
    width: 115px;
    height: 60%;
    z-index: 37;
    background-position: left bottom;
    background-image: var(--svg-fg-left) !important;
    transform-origin: left bottom;
    animation: autumn-branch-sway-left calc(23.5s / var(--gust-speed, 1)) ease-in-out infinite alternate;
    filter: saturate(0.6) hue-rotate(12deg) brightness(0.7);
}
body.theme-autumn-harvest:not(.is-loading) .sway-bottom-7 {
    opacity: 0.25;
}

body.theme-autumn-harvest .sway-bottom-8 {
    right: 280px;
    width: 115px;
    height: 60%;
    z-index: 37;
    background-position: right bottom;
    background-image: var(--svg-fg-right) !important;
    transform-origin: right bottom;
    animation: autumn-branch-sway-right calc(25.2s / var(--gust-speed, 1)) ease-in-out infinite alternate;
    filter: saturate(0.6) hue-rotate(12deg) brightness(0.7);
}
body.theme-autumn-harvest:not(.is-loading) .sway-bottom-8 {
    opacity: 0.25;
}

/* Hide other default engine-generated sway layers to prevent styling bleed */
body.theme-autumn-harvest .sway-layer:not(.sway-top-left):not(.sway-top-right):not(.sway-left-side):not(.sway-right-side):not(.sway-top-1):not(.sway-bottom-left):not(.sway-bottom-right):not(.sway-bottom-3):not(.sway-bottom-4):not(.sway-bottom-5):not(.sway-bottom-6):not(.sway-bottom-7):not(.sway-bottom-8):not(.sway-bottom-9):not(.sway-bottom-10):not(.sway-bottom-11):not(.sway-bottom-12):not(.sway-bottom-13):not(.sway-bottom-14) {
    display: none !important;
}

/* ============================================
   4. LOGO BANNER (CREAM CANVAS PATCH WITH EYELETS)
   ============================================ */

body.theme-autumn-harvest .logo-banner {
    position: relative !important;
    margin: 2.2rem 0 -1rem 0 !important;
    background: #faf5ec; /* Warm cream linen canvas */
    border: 2px solid #8c5835;
    border-radius: 4px;
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.35),
        inset 0 0 6px rgba(0, 0, 0, 0.1);
    padding: 12px 40px;
    z-index: 60;
    width: 100%;
    max-width: 420px;
    transform: rotate(-0.5deg) !important;
    background-image:
        /* Small corner eyelets/grommets */
        radial-gradient(circle at 10px 10px, #1a0b00 3px, #b8860b 4px, transparent 6px),
        radial-gradient(circle at calc(100% - 10px) 10px, #1a0b00 3px, #b8860b 4px, transparent 6px),
        radial-gradient(circle at 10px calc(100% - 10px), #1a0b00 3px, #b8860b 4px, transparent 6px),
        radial-gradient(circle at calc(100% - 10px) calc(100% - 10px), #1a0b00 3px, #b8860b 4px, transparent 6px);
}

body.theme-autumn-harvest .logo-banner::after {
    content: '';
    position: absolute;
    inset: 4px;
    border: 1px dashed #8c5835; /* Stitched thread outline */
    border-radius: 2px;
    pointer-events: none;
}

body.theme-autumn-harvest .logo-text-custom {
    font-family: var(--font-primary) !important;
    color: #3e1c00 !important; /* Dark walnut text color */
    text-shadow: none !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
}

/* ============================================
   5. TYPOGRAPHY & TEXT STYLING
   ============================================ */

body.theme-autumn-harvest .event-title {
    font-family: var(--font-display) !important; /* Rokkitt */
    color: var(--color-accent) !important; /* burnt orange */
    font-weight: 600;
    font-size: 5.2rem;
    letter-spacing: 0.5px;
    text-shadow:
        1px 1px 0px #1a0b00,
        -1px -1px 0px #1a0b00,
        2px 2px 8px rgba(255, 127, 0, 0.5), /* warm bonfire glow */
        0 4px 15px rgba(0, 0, 0, 0.85);
    text-transform: uppercase;
}

body.theme-autumn-harvest .event-title::after {
    display: none !important;
}

body.theme-autumn-harvest .event-top-label {
    font-family: var(--font-heading) !important; /* Rokkitt */
    font-size: 1.8rem;
    color: var(--color-secondary) !important; /* gold */
    letter-spacing: 5px;
    text-transform: uppercase;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.75);
    margin-bottom: -2px;
}

body.theme-autumn-harvest .event-subtitle {
    font-family: var(--font-heading) !important; /* Rokkitt */
    font-size: 2.0rem;
    color: var(--color-secondary) !important; /* gold */
    letter-spacing: 6px;
    text-transform: uppercase;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.75);
    margin-top: 6px;
}

body.theme-autumn-harvest .event-date {
    font-family: var(--font-heading) !important; /* Rokkitt */
    font-size: 1.4rem;
    color: rgba(253, 240, 213, 0.9) !important;
    letter-spacing: 2.5px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
    text-transform: uppercase;
}

/* Hosts List Overrides */
body.theme-autumn-harvest .hosts-title {
    font-family: var(--font-heading) !important; /* Rokkitt */
    color: var(--color-accent) !important;
    font-size: calc(2.4rem * var(--host-text-size) * var(--host-scale-base) * var(--dynamic-scale));
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow:
        0 2px 6px rgba(255, 127, 0, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.9);
}

body.theme-autumn-harvest .hosts-list span {
    font-family: var(--font-primary) !important; /* PT Sans */
    color: var(--color-secondary) !important;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

body.theme-autumn-harvest .hosts-list {
    padding: 0;
}

body.theme-autumn-harvest .hosts-container {
    position: relative;
    z-index: 60;
}

/* Cozy dark vignette behind names for readability */
body.theme-autumn-harvest .hosts-container::before {
    content: '';
    position: absolute;
    inset: -10px -40px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.72) 0%, transparent 80%);
    opacity: var(--backdrop-opacity, 1);
    z-index: -1;
    pointer-events: none;
    filter: blur(8px);
}

/* ============================================
   6. CUSTOM LEAF & EMBER PARTICLES
   ============================================ */

/* Maple Leaf Vector Mask */
body.theme-autumn-harvest .petal--leaf-maple {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path d='M12,2 Q12.5,4.5 14,6 C15.5,5.5 17,4.5 18.5,5.5 Q17,7.5 16.5,9 C18,9.5 20,9.5 21,11 Q18,12 16.5,13.5 Q17,15.5 17.5,18 C15.5,16.5 14,16.5 12.5,17 L12,22 L11.5,17 C10,16.5 8.5,16.5 6.5,18 Q7,15.5 7.5,13.5 Q6,12 3,11 C4,9.5 6,9.5 7.5,9 Q7,7.5 5.5,5.5 C7,4.5 8.5,5.5 10,6 Q11.5,4.5 12,2 Z' fill='black'/></svg>") !important;
    mask-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path d='M12,2 Q12.5,4.5 14,6 C15.5,5.5 17,4.5 18.5,5.5 Q17,7.5 16.5,9 C18,9.5 20,9.5 21,11 Q18,12 16.5,13.5 Q17,15.5 17.5,18 C15.5,16.5 14,16.5 12.5,17 L12,22 L11.5,17 C10,16.5 8.5,16.5 6.5,18 Q7,15.5 7.5,13.5 Q6,12 3,11 C4,9.5 6,9.5 7.5,9 Q7,7.5 5.5,5.5 C7,4.5 8.5,5.5 10,6 Q11.5,4.5 12,2 Z' fill='black'/></svg>") !important;
    -webkit-mask-size: contain !important;
    mask-size: contain !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-position: center !important;
    mask-position: center !important;
}

/* Oak Leaf Vector Mask */
body.theme-autumn-harvest .petal--leaf-oak {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path d='M12,2 C12,2 10,5 10,7 C8,6.5 7,8 8,9.5 C6,9 5.5,11 7,12 C5,12 4.5,14 6.5,15.5 C5.5,16.5 6,18.5 8,18 C9,19.5 10.5,19 11,21 L12,22 L13,21 C13.5,19 15,19.5 16,18 C18,18.5 18.5,16.5 17.5,15.5 C19.5,14 19,12 17,12 C18.5,11 18,9 16,9.5 C17,8 16,6.5 14,7 C14,5 12,2 12,2 Z' fill='black'/></svg>") !important;
    mask-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path d='M12,2 C12,2 10,5 10,7 C8,6.5 7,8 8,9.5 C6,9 5.5,11 7,12 C5,12 4.5,14 6.5,15.5 C5.5,16.5 6,18.5 8,18 C9,19.5 10.5,19 11,21 L12,22 L13,21 C13.5,19 15,19.5 16,18 C18,18.5 18.5,16.5 17.5,15.5 C19.5,14 19,12 17,12 C18.5,11 18,9 16,9.5 C17,8 16,6.5 14,7 C14,5 12,2 12,2 Z' fill='black'/></svg>") !important;
    -webkit-mask-size: contain !important;
    mask-size: contain !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-position: center !important;
    mask-position: center !important;
}

/* Elm Leaf Vector Mask */
body.theme-autumn-harvest .petal--leaf-elm {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path d='M12,2 C16,6 19,10 17,16 C15,20 13,20.5 12.5,21.5 L12,22.5 L11.5,21.5 C11,20.5 9,20 7,16 C5,10 8,6 12,2 Z' fill='black'/></svg>") !important;
    mask-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path d='M12,2 C16,6 19,10 17,16 C15,20 13,20.5 12.5,21.5 L12,22.5 L11.5,21.5 C11,20.5 9,20 7,16 C5,10 8,6 12,2 Z' fill='black'/></svg>") !important;
    -webkit-mask-size: contain !important;
    mask-size: contain !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-position: center !important;
    mask-position: center !important;
}

/* Glowing Bonfire Embers */
body.theme-autumn-harvest .petal--autumn-ember {
    border-radius: 50% !important;
    box-shadow:
        0 0 10px #ff9f1c,
        0 0 20px #ff5500;
    opacity: 0.8 !important;
    filter: blur(0.5px) !important;
    animation: autumn-ember-glow 2.5s ease-in-out infinite alternate;
}

@keyframes autumn-ember-glow {
    0% {
        opacity: 0.45;
        transform: scale(0.85);
    }
    100% {
        opacity: 0.95;
        transform: scale(1.15);
    }
}

body.theme-autumn-harvest .event-footer,
body.theme-autumn-harvest .main-content {
    position: relative;
    z-index: 60 !important;
}

/* Balance adjustments for layout combo states */
body.theme-autumn-harvest.host-hidden .logo-banner {
    transform: translateY(10vh) scale(1.4) rotate(-0.5deg) !important;
}

body.theme-autumn-harvest.host-hidden .event-footer {
    transform: translateY(-5vh) scale(1.2) !important;
}

body.theme-autumn-harvest.host-hidden.date-hidden .logo-banner {
    transform: translateY(12vh) scale(1.5) rotate(-0.5deg) !important;
}

body.theme-autumn-harvest.host-hidden.date-hidden .event-footer {
    transform: translateY(-3vh) scale(1.3) !important;
}

/* Screen Aspect Ratio Overrides */
@media (max-width: 1600px) {
    body.theme-autumn-harvest .logo-banner {
        scale: 0.8 !important;
        margin-top: 1rem !important;
    }

    body.theme-autumn-harvest .event-footer {
        scale: 0.9 !important;
    }

    body.theme-autumn-harvest .event-title {
        font-size: 4.2rem;
    }

    body.theme-autumn-harvest .hosts-list span {
        font-size: calc(1.4rem * var(--host-text-size) * var(--host-scale-base) * var(--dynamic-scale));
    }

    /* Scale down tree widths and push them outwards on narrower aspect ratios to avoid layout text collision */
    body.theme-autumn-harvest .sway-left-side {
        width: 170px;
        left: 10px;
    }
    body.theme-autumn-harvest .sway-right-side {
        width: 170px;
        right: 10px;
    }
    body.theme-autumn-harvest .sway-bottom-9 {
        width: 150px;
        left: 25px;
    }
    body.theme-autumn-harvest .sway-bottom-10 {
        width: 150px;
        right: 25px;
    }
    body.theme-autumn-harvest .sway-bottom-3 {
        width: 140px;
        left: 60px;
    }
    body.theme-autumn-harvest .sway-bottom-4 {
        width: 140px;
        right: 60px;
    }
    body.theme-autumn-harvest .sway-bottom-11 {
        width: 130px;
        left: 85px;
    }
    body.theme-autumn-harvest .sway-bottom-12 {
        width: 130px;
        right: 85px;
    }
    body.theme-autumn-harvest .sway-bottom-left {
        width: 120px;
        left: 110px;
    }
    body.theme-autumn-harvest .sway-bottom-right {
        width: 120px;
        right: 110px;
    }
    body.theme-autumn-harvest .sway-bottom-13 {
        width: 110px;
        left: 135px;
    }
    body.theme-autumn-harvest .sway-bottom-14 {
        width: 110px;
        right: 135px;
    }
    body.theme-autumn-harvest .sway-bottom-5 {
        width: 100px;
        left: 160px;
    }
    body.theme-autumn-harvest .sway-bottom-6 {
        width: 100px;
        right: 160px;
    }
    body.theme-autumn-harvest .sway-bottom-7 {
        width: 90px;
        left: 185px;
    }
    body.theme-autumn-harvest .sway-bottom-8 {
        width: 90px;
        right: 185px;
    }
}

@media (min-width: 1601px) {
    body.theme-autumn-harvest .logo-banner {
        scale: 1.0 !important;
    }

    body.theme-autumn-harvest .event-footer {
        scale: 1.05 !important;
        margin-bottom: 2vh;
    }
}

/* ============================================
   7. LIGHT BG OVERRIDES (HIGH LEGIBILITY)
   ============================================ */

body.theme-autumn-harvest.is-light-bg {
    background-color: var(--color-primary) !important;
    background-image:
        radial-gradient(circle at 50% 25%, rgba(var(--color-accent-rgb), 0.22) 0%, transparent 65%),
        radial-gradient(circle at center, rgba(255, 255, 255, 0.6) 0%, rgba(var(--color-primary-rgb), 0.85) 60%, var(--color-primary) 100%) !important;
}

body.theme-autumn-harvest.is-light-bg .theme-frame {
    border-color: #5a3c26 !important; /* Lighter warm brown walnut */
    box-shadow:
        inset 0 0 20px rgba(0, 0, 0, 0.35),
        0 10px 25px rgba(0, 0, 0, 0.25) !important;
}

body.theme-autumn-harvest.is-light-bg .event-title,
body.theme-autumn-harvest.is-light-bg .hosts-title,
body.theme-autumn-harvest.is-light-bg .event-date {
    color: var(--color-dark-text) !important;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6) !important;
}

body.theme-autumn-harvest.is-light-bg .hosts-list span,
body.theme-autumn-harvest.is-light-bg .event-subtitle,
body.theme-autumn-harvest.is-light-bg .event-top-label {
    color: var(--color-dark-text) !important;
    text-shadow: none !important;
}

body.theme-autumn-harvest.is-light-bg .logo-banner {
    background: #faf5ec !important; /* Keep the cozy linen patch */
    border: 2px solid #70472b !important;
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.15),
        inset 0 0 6px rgba(0, 0, 0, 0.05) !important;
}

body.theme-autumn-harvest.is-light-bg .logo-text-custom {
    color: #3e1c00 !important;
    text-shadow: none !important;
}

body.theme-autumn-harvest.is-light-bg .theme-texture {
    opacity: 0.85 !important;
}
