/* v1.2 items 28 + 29 — landscape backdrop + season/weather tint. Everything is behind the app (z-index -1). */
:root{
  --sc-mtn1:#9db7c9; --sc-mtn2:#7fa8a0; --sc-hill1:#8fc16b; --sc-hill2:#6fae55; --sc-leaf:#3f8f4a; --sc-trunk:#7a5a3a; --sc-snow:#fff; --sc-cloud:rgba(255,255,255,.92); --sc-op:.9;
  --sc-cloud-top:#ffffff; --sc-cloud-mid:#f3f7fb; --sc-cloud-bot:#cfdbe8; --sc-haze:#eaf2f7; --sc-lit:rgba(255,255,255,.14); --sc-shadeA:.09;
}
html[data-tt="dusk"]{--sc-mtn1:#8a7aa5; --sc-mtn2:#6c6f93; --sc-hill1:#6e8f5f; --sc-hill2:#587a4f; --sc-leaf:#33603f; --sc-trunk:#5a4330; --sc-cloud-top:#fff0e6; --sc-cloud-mid:#f1cfd0; --sc-cloud-bot:#b79bb4; --sc-haze:#b9a6c4;}
html[data-tt="night"]{--sc-mtn1:#2a3256; --sc-mtn2:#222a49; --sc-hill1:#1c3b34; --sc-hill2:#17302c; --sc-leaf:#12301f; --sc-trunk:#2a2118; --sc-snow:#c8d4f0; --sc-op:.95; --sc-haze:#1f2748; --sc-lit:rgba(160,190,255,.07); --sc-shadeA:.22;}
/* seasons */
html[data-season="autumn"]{--sc-leaf:#d2822b; --sc-hill1:#b8a04a; --sc-hill2:#a68b3c;}
html[data-season="autumn"][data-tt="night"]{--sc-leaf:#6b3f14; --sc-hill1:#3b3a1f; --sc-hill2:#2f2e18;}
html[data-season="spring"]{--sc-leaf:#e79ab5; --sc-hill1:#a3d46b; --sc-hill2:#86c257;}
html[data-season="spring"][data-tt="night"]{--sc-leaf:#6e3c4c; --sc-hill1:#1f4234; --sc-hill2:#193a2d;}
html[data-season="winter"]{--sc-leaf:#e8f0f6; --sc-hill1:#eef4f8; --sc-hill2:#dde8ef; --sc-trunk:#6d5a48; --sc-mtn1:#b4c3d1; --sc-mtn2:#a1b3c4;}
html[data-season="winter"][data-tt="night"]{--sc-leaf:#9aa8c4; --sc-hill1:#8d9cb8; --sc-hill2:#7886a3; --sc-mtn1:#323b62; --sc-mtn2:#2a3358;}
html[data-season="wet"]{--sc-hill1:#6fb24f; --sc-hill2:#55a041; --sc-leaf:#2f8a3d;}
html[data-season="dry"]{--sc-hill1:#b9c46a; --sc-hill2:#a3ae58; --sc-leaf:#6b9a3f;}
html[data-wx="snow"]{--sc-hill1:#f3f7fa; --sc-hill2:#e3ecf2; --sc-leaf:#eef4f8;}
html[data-wx="rain"],html[data-wx="thunder"]{--sc-mtn1:#7e8fa0; --sc-mtn2:#6a7f86; --sc-cloud-top:#cdd3dc; --sc-cloud-mid:#aab3c0; --sc-cloud-bot:#838e9f; --sc-haze:#aab4c0;}
html[data-wx="fog"] #tt-scenery .sc-svg{filter:blur(2px) saturate(.7); opacity:.7;}

#tt-scenery{position:fixed; left:0; right:0; bottom:0; height:min(36vh,340px); z-index:-1; pointer-events:none; overflow:hidden; opacity:var(--sc-op);}
#tt-scenery .sc-svg{position:absolute; inset:0; width:100%; height:100%; transition:opacity .6s;}
#tt-scenery .sc-svg *{transition:fill 1.2s ease;}
.sc-mtn1{fill:var(--sc-mtn1)} .sc-mtn2{fill:var(--sc-mtn2)} .sc-hill1{fill:var(--sc-hill1)} .sc-hill2{fill:var(--sc-hill2)}
.sc-leaf{fill:var(--sc-leaf)} .sc-trunk{fill:var(--sc-trunk)} .sc-snow1{fill:var(--sc-snow); opacity:.95} .sc-shade{fill:#1a2238; opacity:var(--sc-shadeA)} .sc-lit{fill:var(--sc-lit)}
html[data-scenery="off"] #tt-scenery,html[data-scenery="off"] #tt-clouds{display:none}
#tt-clouds{position:fixed; left:0; right:0; top:7vh; height:min(34vh,300px); z-index:-1; pointer-events:none; overflow:hidden; opacity:var(--sc-op);}
.sc-cloud{position:absolute; display:block; height:80px; width:200px; opacity:var(--tt-day-a,1);
  filter:drop-shadow(0 5px 8px rgba(70,100,140,.14)); animation:scDrift 90s linear infinite; transition:opacity 1s;}
.sc-cloud-1{top:30px; left:-220px; animation-duration:110s; transform:scale(.8)}
.sc-cloud-2{top:110px; left:-260px; animation-duration:150s; animation-delay:-60s; transform:scale(.7)}
.sc-cloud-3{top:6px; left:-260px; animation-duration:130s; animation-delay:-95s; transform:scale(1.2)}
.sc-cloud-4{top:170px; left:-260px; animation-duration:170s; animation-delay:-30s; transform:scale(.55)}
html[data-tt="night"] .sc-cloud{opacity:0}
html[data-wx="rain"] .sc-cloud, html[data-wx="thunder"] .sc-cloud, html[data-wx="cloudy"] .sc-cloud{opacity:1}
html[data-wx="rain"] #tt-scenery, html[data-wx="thunder"] #tt-scenery{filter:brightness(.85)}
@keyframes scDrift{from{translate:0 0}to{translate:calc(100vw + 340px) 0}}
@media (prefers-reduced-motion:reduce){ .sc-cloud{animation:none; left:20%} }
#tt-wx{position:fixed; inset:0; width:100%; height:100%; pointer-events:none; z-index:-1}
#tt-flash{position:fixed; inset:0; pointer-events:none; z-index:-1; background:#fff; opacity:0}
#tt-flash.on{animation:ttFlash .7s ease-out 1}
@keyframes ttFlash{0%{opacity:0}8%{opacity:.55}20%{opacity:.1}32%{opacity:.4}100%{opacity:0}}
@media print{ #tt-scenery,#tt-clouds,#tt-wx,#tt-flash{display:none} }
@media (max-width:859px){ #tt-scenery{bottom:78px; height:min(26vh,230px)} }

