.theme-toggle{--tt-w:60px;--tt-h:30px;--tt-orb:22px;--tt-pad:4px;--tt-ease:cubic-bezier(.34, 1.4, .64, 1);border-radius:var(--radius-full);-webkit-tap-highlight-color:transparent;flex-shrink:0;padding:0;display:inline-flex}.theme-toggle:focus-visible{outline-offset:3px;border-radius:var(--radius-full)}.tt-track{width:var(--tt-w);height:var(--tt-h);border-radius:var(--radius-full);background:linear-gradient(#5fb4ee 0%,#3d8fd6 100%);transition:background .45s,box-shadow .45s;display:block;position:relative;overflow:hidden;box-shadow:inset 0 2px 4px #0000002e,inset 0 -1px #ffffff40,0 1px 2px #1018281f}.theme-toggle.is-dark .tt-track{background:linear-gradient(#1b2347 0%,#0b1026 100%);box-shadow:inset 0 2px 5px #00000080,inset 0 -1px #ffffff0f,0 0 0 1px #94a3dc2e}.tt-orb{top:calc((var(--tt-h) - var(--tt-orb)) / 2);left:var(--tt-pad);width:var(--tt-orb);height:var(--tt-orb);z-index:2;transition:transform .55s var(--tt-ease), background .45s ease, box-shadow .45s ease;background:radial-gradient(circle at 35% 35%,#fff3b0 0%,#ffd23f 45%,#f7a81b 100%);border-radius:50%;position:absolute;box-shadow:0 0 0 4px #ffe67847,0 0 0 8px #ffe67824,0 2px 4px #965a0059}.theme-toggle.is-dark .tt-orb{transform:translateX(calc(var(--tt-w) - var(--tt-orb) - var(--tt-pad) * 2)) rotate(-200deg);background:radial-gradient(circle at 35% 35%,#fff 0%,#e4e9f5 55%,#c3cbe0 100%);box-shadow:0 0 0 4px #c8d2ff1a,0 0 12px 2px #b4c3ff59}.tt-crater{opacity:0;transition:opacity .3s ease .15s, transform .4s var(--tt-ease) .15s;background:#b4bdd4;border-radius:50%;position:absolute;transform:scale(.3);box-shadow:inset 1px 1px 1px #0000002e}.tt-crater:first-child{width:7px;height:7px;top:4px;left:9px}.tt-crater:nth-child(2){width:4px;height:4px;top:13px;left:5px}.tt-crater:nth-child(3){width:3px;height:3px;top:14px;left:14px}.theme-toggle.is-dark .tt-crater{opacity:1;transform:scale(1)}.tt-clouds{transition:transform .5s var(--tt-ease), opacity .35s ease;position:absolute;inset:0}.tt-clouds i{background:#fff;border-radius:50%;position:absolute}.tt-clouds i:first-child{width:18px;height:18px;bottom:-6px;right:6px}.tt-clouds i:nth-child(2){opacity:.92;width:14px;height:14px;bottom:-6px;right:18px}.tt-clouds i:nth-child(3){opacity:.75;width:12px;height:12px;animation:6s ease-in-out infinite alternate tt-drift;top:6px;right:13px}.theme-toggle.is-dark .tt-clouds{transform:translateY(var(--tt-h));opacity:0}.tt-stars{transform:translateY(calc(var(--tt-h) * -1));opacity:0;transition:transform .5s var(--tt-ease), opacity .35s ease;position:absolute;inset:0}.tt-stars i{background:#fff;border-radius:50%;width:2px;height:2px;animation:2.4s ease-in-out infinite tt-twinkle;position:absolute;box-shadow:0 0 3px #ffffffe6}.tt-stars i:first-child{top:7px;left:9px}.tt-stars i:nth-child(2){width:1.5px;height:1.5px;animation-delay:.6s;top:17px;left:15px}.tt-stars i:nth-child(3){width:3px;height:3px;animation-delay:1.2s;top:9px;left:23px}.tt-stars i:nth-child(4){animation-delay:1.8s;top:21px;left:6px}.tt-stars i:nth-child(5){width:1.5px;height:1.5px;animation-delay:.9s;top:4px;left:30px}.theme-toggle.is-dark .tt-stars{opacity:1;transform:none}.theme-toggle:hover .tt-orb{box-shadow:0 0 0 5px #ffe67852,0 0 0 10px #ffe67829,0 2px 4px #965a0059}.theme-toggle.is-dark:hover .tt-orb{box-shadow:0 0 0 5px #c8d2ff24,0 0 16px 3px #b4c3ff73}.theme-toggle:active .tt-orb{width:calc(var(--tt-orb) + 4px)}.theme-toggle.is-dark:active .tt-orb{margin-left:-4px}@keyframes tt-twinkle{0%,to{opacity:1;transform:scale(1)}50%{opacity:.35;transform:scale(.6)}}@keyframes tt-drift{0%{transform:translate(0)}to{transform:translate(-4px)}}.theme-toggle-floating{z-index:50;position:fixed;top:16px;right:16px}
