body[data-season=spring]{--season-bg:#f3f8ef;--season-ink:#263529;--season-accent:#365d45;--season-card:#e3f0df;--season-alt:#f6eaf1;--season-line:#c6dac7}
body[data-season=summer]{--season-bg:#fff8e9;--season-ink:#393128;--season-accent:#7a4c24;--season-card:#fbedd1;--season-alt:#e9f2df;--season-line:#e8d4ac}
body[data-season=autumn]{--season-bg:#fcf3e8;--season-ink:#3e2b23;--season-accent:#834027;--season-card:#f4dfc8;--season-alt:#f5e6dc;--season-line:#e5c9b2}
body[data-season=winter]{--season-bg:#f0f6fb;--season-ink:#24384a;--season-accent:#305677;--season-card:#e1edf6;--season-alt:#e9e8f5;--season-line:#c9d9e7}
body[data-season]{background-color:var(--season-bg,#faf8f4);color:var(--season-ink,#292324)}
body[data-season]:not([data-season=base]) :is(.card,form,article,.notice,th){background:var(--season-card)}
body[data-season]:not([data-season=base]) .card:nth-child(even){background:var(--season-alt)}
body[data-season]:not([data-season=base]) :is(.band,.settings-link,button:not(.delete),.button:not(.secondary)){background:var(--season-accent);color:white}
body[data-season]:not([data-season=base]) .band a.button{background:var(--season-bg);color:var(--season-ink)}
body[data-season]:not([data-season=base]) :is(h1 em,a:not(.button):not(.settings-link)){color:var(--season-accent)}
body[data-season]:not([data-season=base]) :is(header,footer,td){border-color:var(--season-line)}
.season-fall{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:1}
.season-fall span{position:absolute;top:-2em;opacity:0;animation:season-fall 19s linear infinite}
.season-fall span:nth-child(1){left:2%;animation-delay:-3s}
.season-fall span:nth-child(2){left:96%;animation-delay:-10s}
.season-fall span:nth-child(3){left:91%;animation-delay:-17s}
.season-fall span:nth-child(4){left:5%;animation-delay:-13s}
@keyframes season-fall{8%,85%{opacity:.34}100%{opacity:0;transform:translate(1rem,calc(100vh + 3em)) rotate(80deg)}}
@media(max-width:650px){.season-fall span:nth-child(n+3){display:none}}
@media(prefers-reduced-motion:reduce){.season-fall{display:none}}
body[data-season]:not([data-season=base]) .band a:not(.button){color:inherit}
.season-fall span{width:20px;height:20px;animation-duration:23s;--drift:1.1rem;--spin:65deg}
.season-fall span svg{display:block;width:100%;height:100%}
.season-fall[data-effect=autumn]{color:#ad5931}
.season-fall[data-effect=winter]{color:#3975a0}
.season-fall span:nth-child(2){width:13px;height:13px;animation-duration:29s;--drift:-1.3rem;--spin:-85deg}
.season-fall span:nth-child(3){width:26px;height:26px;animation-duration:31s;--drift:-1rem;--spin:130deg}
.season-fall span:nth-child(4){width:16px;height:16px;animation-duration:26s;--drift:1.6rem;--spin:-58deg}
.season-fall[data-effect=autumn] span:nth-child(2){color:#b08237}
.season-fall[data-effect=autumn] span:nth-child(3){color:#963f2d}
.season-fall[data-effect=autumn] span:nth-child(4){color:#9a6129}
.season-fall[data-effect=winter] span:nth-child(even){color:#7199bc}
@keyframes season-fall{10%,85%{opacity:.36}52%{transform:translate(calc(var(--drift) * -.35),52vh) rotate(calc(var(--spin) * .55))}100%{opacity:0;transform:translate(var(--drift),calc(100vh + 3em)) rotate(var(--spin))}}

.season-fall img{display:block;width:100%;height:100%;object-fit:contain}.season-fall[data-effect=autumn] span{animation-name:leaf-fall}@keyframes leaf-fall{10%,85%{opacity:.72}52%{transform:translate(calc(var(--drift) * -.35),52vh) rotate(calc(var(--spin) * .55))}100%{opacity:0;transform:translate(var(--drift),calc(100vh + 3em)) rotate(var(--spin))}}
