/* The lights can only be restored from the trophy room. */
html.nexus-dark{color-scheme:dark;--web-paper:#202127;--web-ink:#d3cfc3;--web-edge:#66645c}
#night-veil{position:fixed;inset:0;background:#000;opacity:0;pointer-events:none;z-index:88;transition:opacity 1.3s}html.nexus-dark #night-veil{opacity:.17}
html.nexus-dark body :is(button,select,input:not([type=range]):not([type=checkbox]):not([type=radio]),textarea,.wiki-tab,.gargo-tile,.mitem,.wbtn,.tbtn2,.szbtn,.bnav){background:#24262d!important;color:#d8d5ca!important;border-color:#65666d!important;text-shadow:none!important}
html.nexus-dark body :is(button,[role=button],.wiki-tab):hover{background:#343740!important;color:#f1e8c9!important}
html.nexus-dark body :is(button,[role=button])[aria-pressed=true]{background:#404735!important;border-color:#a5ae83!important}
html.nexus-dark body :is(dialog,.home-sidebar,#water-ui,#creature-status,#builder,.wiki-body,.wiki-header,.wiki-nav,.wiki-infobox,#taskbar,.toolbar,.menubar){background:#202329!important;color:#d4d2c9!important}
html.nexus-dark body dialog :is(p,span,h2,h3,li,small,label){color:#d4d2c9!important}
#nexus-bulb{position:fixed;right:24px;top:0;width:65px;height:146px;z-index:101;background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important;overflow:visible;transform:none!important;color:#eddca1!important}
#nexus-bulb svg{width:65px;height:146px;overflow:visible;fill:none;stroke:currentColor;stroke-width:1.5}#nexus-bulb .bulb-glass{fill:#f6e6ab33}#nexus-bulb .bulb-halo{fill:#f6da8420;stroke:none}#nexus-bulb .bulb-caption{position:absolute;right:2px;top:148px;width:225px;padding:7px;background:#151722;color:#e5dbb7;border:1px solid #807658;font:11px/1.5 'Courier New',monospace;opacity:0;pointer-events:none}#nexus-bulb:hover .bulb-caption,#nexus-bulb:focus-visible .bulb-caption{opacity:1}#nexus-bulb.broken{color:#88857a!important;cursor:default!important}#nexus-bulb.broken :is(.bulb-glass,.bulb-halo,.bulb-filament){visibility:hidden}#nexus-bulb .shard{opacity:0}#nexus-bulb.shattering .shard{animation:bulb-shard .75s ease-in forwards;transform-origin:32px 110px}@keyframes bulb-shard{0%{opacity:.8;transform:translate(0,0) rotate(0)}100%{opacity:0;transform:translate(var(--sx),100px) rotate(var(--sr))}}
#trophy-light-switch{position:fixed;right:15px;top:45%;z-index:101;width:68px;padding:9px 7px;border:3px outset #b3ad98;border-radius:0;background:#c9c2aa;color:#282620;font:10px/1.3 'Courier New',monospace}#trophy-light-switch svg{display:block;width:34px;height:48px;margin:0 auto 7px;fill:none;stroke:currentColor;stroke-width:2}#trophy-light-switch[hidden]{display:none}#trophy-light-switch .lever{fill:#d9d0b5}
#night-shadow{position:fixed;width:120px;height:260px;z-index:89;pointer-events:none;opacity:0;transform:translateX(var(--away));transition:opacity 2.8s,transform 8s ease-in-out;will-change:opacity,transform}#night-shadow.visible{opacity:.19;transform:translateX(var(--inward,0px))}#night-shadow.retreat{opacity:0;transform:translateX(var(--away));transition:opacity .35s,transform .55s}#night-shadow svg{width:100%;height:100%;overflow:visible;transform-origin:50% 55%}#night-shadow.visible svg{animation:shadow-float var(--float-time,7s) ease-in-out infinite alternate}@keyframes shadow-float{from{transform:translateY(9px) rotate(-3deg) scale(.96,1.02)}to{transform:translateY(-18px) rotate(var(--sway,5deg)) scale(1.04,.97)}}#night-shadow .eyes{fill:#e1c52d;opacity:.3}#night-shadow .eye-glow{fill:#ffe03f;opacity:.1}
@media(max-width:650px){#nexus-bulb{right:4px;width:40px;height:90px}#nexus-bulb svg{width:40px;height:90px}#nexus-bulb .bulb-caption{top:95px;width:195px}#trophy-light-switch{right:5px;width:53px;top:auto;bottom:85px;padding:6px 3px}#night-shadow{width:90px;height:210px}}
@media(prefers-reduced-motion:reduce){#night-shadow{transition:opacity .3s!important}#night-shadow.visible svg{animation:none}#nexus-bulb.shattering .shard{animation:none}#night-veil{transition:none}}
