.dusk-scene{--sky-a: #cfe7e4;--sky-b: #eaf2e2;--sky-c: #f6f0dc;--scene-line: #3d5240;--hill-far: #c6dcb6;--hill-near: #aacd97;--lawn: #94c07f;--crown: #83b174;--walk: #ece2c8;--walk-edge: #b5a37f;--wall: #fffaf0;--window: #cfe3ea;--door: #e5d4b4;--xfmr: #dfe4d4;--screen: #1c2a1f;--tap-ink: #f6d27c;--cable-dead: #8c7b62;--cable-live: #b5702a;--cap: #2e3b30;--bulb-off: #a3ab9f;--bulb: #ffd36e;--glow-a: rgb(255 210 110 / .95);--glow-b: rgb(255 196 84 / .42);--pool-a: rgb(255 206 104 / .6);--sun: #f6d47e;--sun-ray: #d39a3c;display:block;width:100%;height:auto;aspect-ratio:1200 / 580}html.dark .dusk-scene{--sky-a: #0b1128;--sky-b: #1d2450;--sky-c: #3b3566;--scene-line: #8a95b8;--hill-far: #1b2447;--hill-near: #151f3a;--lawn: #11202b;--crown: #1b2b3d;--walk: #212a45;--walk-edge: #48527c;--wall: #18213a;--window: #f6c66a;--door: #222c4a;--xfmr: #27314f;--screen: #080c1a;--tap-ink: #f3b54a;--cable-dead: #4b5478;--cable-live: #f3b54a;--cap: #343f62;--bulb-off: #3a4260;--bulb: #ffe3a2;--glow-a: rgb(255 214 120 / 1);--glow-b: rgb(243 181 74 / .5);--pool-a: rgb(255 200 100 / .5)}.sky-a{stop-color:var(--sky-a)}.sky-b{stop-color:var(--sky-b)}.sky-c{stop-color:var(--sky-c)}.glow-a{stop-color:var(--glow-a)}.glow-b{stop-color:var(--glow-b)}.glow-c{stop-color:var(--glow-b);stop-opacity:0}.pool-a{stop-color:var(--pool-a)}.pool-b{stop-color:var(--pool-a);stop-opacity:0}.dusk-scene :is(.house-roof,.house-chimney,.house-mullion,.tree-trunk,.lamp-stake,.xfmr-post,.walk-stones,.sun path){fill:none;stroke-linecap:round;stroke-linejoin:round}.dusk-scene :is(.house-wall,.house-roof,.house-chimney,.house-window,.house-mullion,.house-door,.tree-crown,.tree-trunk,.shrub,.xfmr-box,.xfmr-post,.lamp-stake,.lamp-cap){stroke:var(--scene-line);stroke-width:2.4}.stars{fill:#f0e9d9;opacity:0}.moon{fill:#f4ead0;opacity:0}.sun circle{fill:var(--sun)}.sun path{stroke:var(--sun-ray);stroke-width:3}html.dark .stars{opacity:.85}html.dark .moon{opacity:1}html.dark .sun{opacity:0}.hill-far{fill:var(--hill-far)}.hill-near{fill:var(--hill-near)}.lawn{fill:var(--lawn)}.tree-crown,.shrub{fill:var(--crown)}.walk-band{fill:var(--walk);stroke:var(--walk-edge);stroke-width:2;stroke-dasharray:10 7}.walk-stones{stroke:var(--walk-edge);stroke-width:3}.house-wall{fill:var(--wall)}.house-window{fill:var(--window)}.house-door{fill:var(--door)}.house-knob{fill:var(--scene-line)}.xfmr-box{fill:var(--xfmr)}.xfmr-screen{fill:var(--screen)}.xfmr-led{fill:var(--cable-live)}.tap{fill:var(--tap-ink);font:700 13px/1 Avenir Next,Segoe UI,Candara,system-ui,sans-serif;letter-spacing:.02em}.cable-dead{fill:none;stroke:var(--cable-dead);stroke-width:3;stroke-dasharray:2 6;stroke-linecap:round}.cable-live{fill:none;stroke:var(--cable-live);stroke-width:2.6;stroke-linecap:round;opacity:.9}.lamp-cap{fill:var(--cap)}.lamp-bulb-off{fill:var(--bulb-off)}.lamp-bulb{fill:var(--bulb)}.lamp-glow{mix-blend-mode:normal}.lamp-light{opacity:1;transition:opacity .55s ease calc(var(--i) * 80ms)}.is-low .lamp-light{opacity:var(--dim)}.is-high .lamp-light{opacity:var(--hi)}.tap-v12,.tap-v15{transition:opacity .25s ease}.is-low .tap-v15,.is-high .tap-v12{opacity:0}@media(prefers-reduced-motion:no-preference){.play .cable-live{stroke-dasharray:100;animation:dusk-cable 1.1s ease-in-out .2s both}.play .lamp-light{animation:dusk-lamp-on .45s ease-out calc(1.2s + var(--i) * .28s) both,dusk-lamp-even .6s ease-in-out calc(3.6s + var(--i) * 50ms) forwards}.play .tap-v12{animation:dusk-fade-out .2s linear 3.4s forwards}.play .tap-v15{animation:dusk-fade-in .2s linear 3.5s both}.play .xfmr-led{animation:dusk-blink .5s ease 3.3s 2}}@media(prefers-reduced-motion:reduce){.dusk-scene *,.dusk-scene{animation:none!important;transition:none!important}}@keyframes dusk-cable{0%{stroke-dashoffset:100}to{stroke-dashoffset:0}}@keyframes dusk-lamp-on{0%{opacity:0}to{opacity:var(--dim)}}@keyframes dusk-lamp-even{0%{opacity:var(--dim)}to{opacity:var(--hi)}}@keyframes dusk-fade-out{0%{opacity:1}to{opacity:0}}@keyframes dusk-fade-in{0%{opacity:0}to{opacity:1}}@keyframes dusk-blink{50%{opacity:.15}}.dusk-figure{margin:0}.dusk-controls{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem 1rem;padding:.85rem clamp(1rem,3vw,1.6rem) 1.1rem}.tap-switch,.motion-btn{display:inline-flex;align-items:center;gap:.6rem;min-height:2.75rem;padding:.45rem 1rem .45rem .5rem;border:1.5px solid var(--g-accent);border-radius:999px;background:rgb(var(--surface));color:rgb(var(--fg));font:650 .92rem/1.2 var(--font-ui);cursor:pointer;transition:background-color .2s ease,transform .2s ease}.tap-switch:hover,.motion-btn:hover{background:var(--g-soft)}.tap-switch:active,.motion-btn:active{transform:translateY(1px)}.motion-btn{padding-left:.9rem}.motion-icon{position:relative;width:.8rem;height:.9rem;flex:none}.motion-icon:before,.motion-icon:after{position:absolute;top:0;width:.27rem;height:100%;border-radius:1px;background:var(--g-accent);content:""}.motion-icon:before{left:0}.motion-icon:after{right:0}.motion-btn[data-state=paused] .motion-icon:before{left:0;width:100%;background:var(--g-accent);clip-path:polygon(0 0,100% 50%,0 100%)}.motion-btn[data-state=paused] .motion-icon:after{display:none}.motion-btn.is-still{display:none}@media(prefers-reduced-motion:reduce){.motion-btn{display:none}}.tap-switch-dial{position:relative;width:1.9rem;height:1.9rem;border-radius:50%;background:var(--g-accent);flex:none}.tap-switch-dial:after{position:absolute;top:.3rem;left:calc(50% - 1.5px);width:3px;height:.65rem;border-radius:2px;background:rgb(var(--surface));content:"";transform:rotate(-35deg);transform-origin:50% 100%;transition:transform .35s ease}.dusk-scene.is-high~* .tap-switch-dial:after{transform:rotate(35deg)}.dusk-caption{flex:1 1 18rem;min-height:2.6em;margin:0;color:rgb(var(--muted-fg));font:.86rem/1.45 var(--font-ui)}
