/* Autumn stays in the margins; brand colors and content remain unchanged. */
body.autumn-on{isolation:isolate}
body.autumn-on>.r-wrap{background:transparent!important}
[data-holiday="autumn"] .profile-backdrop{opacity:0}
.autumn-wallpaper,.autumn-canopy,.autumn-drift{pointer-events:none;user-select:none}
.autumn-wallpaper{position:fixed;inset:0;z-index:-1;background-size:760px 680px;background-position:center 82px;background-repeat:repeat;opacity:.3;mask-image:linear-gradient(90deg,#000 0%,#0009 8%,#0002 22%,#0001 40%,#0001 60%,#0002 78%,#0009 92%,#000 100%)}
.autumn-on::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 0 12%,#a8572112,transparent 36%),radial-gradient(ellipse at 100% 72%,#b8662010,transparent 33%)}
.autumn-canopy{--bough-scale:1;position:absolute;inset:64px 0 auto;height:200px;overflow:hidden;z-index:6}
.autumn-bough{position:absolute;top:0;width:calc(185px * var(--bough-scale));height:180px;opacity:.76;filter:drop-shadow(0 8px 9px #0005)}
.autumn-bough-art{position:relative;width:185px;height:180px;transform:scale(var(--bough-scale)) rotate(-8deg);transform-origin:top left}
.autumn-bough-left{left:calc(-28px * var(--bough-scale))}
.autumn-bough-right{right:calc(-28px * var(--bough-scale));transform:scaleX(-1)}
.autumn-bough-leaf{position:absolute;display:block;width:80px;height:80px}
.autumn-bough-leaf svg,.autumn-sway svg{display:block;width:100%;height:100%}
.autumn-bough-leaf-0{top:-23px;left:0;width:96px;height:96px;transform:rotate(47deg)}
.autumn-bough-leaf-1{top:-41px;left:72px;transform:rotate(81deg)}
.autumn-bough-leaf-2{top:47px;left:-5px;width:73px;height:73px;transform:rotate(-27deg)}
.autumn-bough-leaf-3{top:20px;left:51px;width:68px;height:68px;transform:rotate(24deg)}
.autumn-bough-leaf-4{top:97px;left:-17px;width:65px;height:65px;transform:rotate(-62deg)}
.autumn-drift{position:fixed;inset:0;z-index:7;overflow:hidden;contain:strict}
.autumn-falling{position:absolute;top:-12%;left:var(--leaf-x);display:block;width:var(--leaf-size);height:var(--leaf-size);opacity:0;animation:autumn-fall var(--leaf-duration) var(--leaf-delay) linear infinite}
.autumn-sway{display:block;width:100%;height:100%;animation:autumn-sway 7s var(--leaf-delay) ease-in-out infinite alternate;filter:drop-shadow(0 3px 3px #0003)}
@keyframes autumn-fall{0%{transform:translate3d(0,-60px,0);opacity:0}12%,82%{opacity:.35}100%{transform:translate3d(0,115vh,0);opacity:0}}
@keyframes autumn-sway{0%{transform:translateX(-12px) rotate(var(--leaf-turn)) rotateX(15deg)}100%{transform:translateX(16px) rotate(calc(var(--leaf-turn) + 65deg)) rotateX(40deg)}}
.autumn-paused .autumn-falling,.autumn-paused .autumn-sway{animation-play-state:paused}
@media(max-width:1279px){.autumn-wallpaper{opacity:.22}.autumn-canopy{--bough-scale:.8;height:150px}}
@media(max-width:700px){.autumn-wallpaper{opacity:.14;mask-image:linear-gradient(90deg,#0008,transparent 30%,transparent 70%,#0008);background-size:570px 510px}.autumn-canopy{--bough-scale:.32;height:65px}.autumn-bough{opacity:.65}.autumn-falling{--leaf-size:22px!important}.autumn-falling:nth-child(n+3){display:none}}
@media(prefers-reduced-motion:reduce){.autumn-drift{display:none}.autumn-falling,.autumn-sway{animation:none}}
@media print{.autumn-wallpaper,.autumn-canopy,.autumn-drift,.autumn-on::before{display:none!important}}
